Win10 Ubuntu won't compile

Linux specific forum
kinglestat
Enthusiast
Enthusiast
Posts: 732
Joined: Fri Jul 14, 2006 8:53 pm
Location: Malta
Contact:

Win10 Ubuntu won't compile

Post by kinglestat »

I get /var/purebasic/compilers/fasm: Exec format error when compiling with the linux compiler running under Windows 10
can someone please help?
I may not help with your coding
Just ask about mental issues!

http://www.lulu.com/spotlight/kingwolf
http://www.sen3.net
User avatar
mk-soft
Always Here
Always Here
Posts: 5334
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Win10 Ubuntu won't compile

Post by mk-soft »

How do you get up there that you can use the Linux-Compiler under windows 10?

I don't understand that now.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
kinglestat
Enthusiast
Enthusiast
Posts: 732
Joined: Fri Jul 14, 2006 8:53 pm
Location: Malta
Contact:

Re: Win10 Ubuntu won't compile

Post by kinglestat »

Windows 10 has an inbuilt virtual container for vms, and you can run linux natively (I am not using Hyper-V)
I may not help with your coding
Just ask about mental issues!

http://www.lulu.com/spotlight/kingwolf
http://www.sen3.net
User avatar
mk-soft
Always Here
Always Here
Posts: 5334
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Win10 Ubuntu won't compile

Post by mk-soft »

Which Linux version?

With Ubuntu 18.04 LTS runs under macOS Parallels.
I create the folder 'Apps' under 'Personal Folder' and unzip Purebasic into it.

Then I install the Developers packages.
For MacOS Parallels Tools and Purebasic
---------------------------------------
sudo apt-get install build-essential gcc g++


Purebasic
---------
sudo apt-get install libxxf86vm-dev libxine2-dev unixodbc-dev libsdl1.2-dev libsdl2-dev

sudo apt-get install libgtk2.0-dev libgtk-3-dev

sudo apt-get install libwebkitgtk-dev libwebkitgtk-3.0-dev libwebkit2gtk-4.0-dev


Subsystem qt
------------
sudo apt-get install qtbase5-dev qttools5-dev qtmultimedia5-dev qtdeclarative5-dev libqt5svg5-dev libqt5webkit5-dev libqt5multimedia5-plugins


PB-Editor
---------
sudo apt install libcanberra-gtk-module

Obsoleted
---------
;sudo apt-get install libgnome2-dev
;sudo apt-get install libgnomeprintui2.2-dev libxine-dev
Of course you have to use the Purebasic editor under Linux to compile.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
kinglestat
Enthusiast
Enthusiast
Posts: 732
Joined: Fri Jul 14, 2006 8:53 pm
Location: Malta
Contact:

Re: Win10 Ubuntu won't compile

Post by kinglestat »

When I use a normal VM with VirtualBox or Hyper-V all works well
I only have issues with this particular method
I may not help with your coding
Just ask about mental issues!

http://www.lulu.com/spotlight/kingwolf
http://www.sen3.net
Fred
Administrator
Administrator
Posts: 16617
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Win10 Ubuntu won't compile

Post by Fred »

It's not a linux bug, we don't support this for now.
Yann64
User
User
Posts: 24
Joined: Wed Nov 10, 2004 1:06 pm
Contact:

Re: Win10 Ubuntu won't compile

Post by Yann64 »

The fasm that can be installed using apt has the same error, so it is clearly not a PureBasic bug. We will have to wait for Microsoft or Ubuntu to correct it (if ever).
Post Reply