Page 1 of 1
Win10 Ubuntu won't compile
Posted: Tue Feb 04, 2020 5:44 pm
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?
Re: Win10 Ubuntu won't compile
Posted: Tue Feb 04, 2020 6:31 pm
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.
Re: Win10 Ubuntu won't compile
Posted: Wed Feb 05, 2020 7:44 am
by kinglestat
Windows 10 has an inbuilt virtual container for vms, and you can run linux natively (I am not using Hyper-V)
Re: Win10 Ubuntu won't compile
Posted: Wed Feb 05, 2020 9:48 am
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.
Re: Win10 Ubuntu won't compile
Posted: Wed Feb 05, 2020 11:06 am
by kinglestat
When I use a normal VM with VirtualBox or Hyper-V all works well
I only have issues with this particular method
Re: Win10 Ubuntu won't compile
Posted: Wed Feb 05, 2020 11:24 am
by Fred
It's not a linux bug, we don't support this for now.
Re: Win10 Ubuntu won't compile
Posted: Thu Dec 03, 2020 10:57 am
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).