Various [v 5.11 Linux Mint]
Various [v 5.11 Linux Mint]
Several color constants not found (#Yellow, #Red, #Green, etc.)
Unable to compile/link code containing MessageRequester() or OpenFileRequester()
Linker error window locks up machine, forcing log-out and back in again.
Unable to compile/link code containing MessageRequester() or OpenFileRequester()
Linker error window locks up machine, forcing log-out and back in again.
Re: Various [v 5.11 Linux Mint]
Downloaded and installed v5.20 beta 9. Compiler just crashes.
- StarBootics
- Addict
- Posts: 1006
- Joined: Sun Jul 07, 2013 11:35 am
- Location: Canada
Re: Various [v 5.11 Linux Mint]
The colour constants are not a part of PureBasic constant but came from Windows. So to have colour constants you will have to redefine them.chris319 wrote:Several color constants not found (#Yellow, #Red, #Green, etc.)
Code: Select all
#White = 16777215
#LightGray = 15132390
#Gray = 12500670
#DarkGray = 6908265
#Red = 255
#Orange = 32767
#Gold = 49151
#Yellow = 65535
#Green = 65280
#DarkGreen = 32512
#Chartreuse = 65407
#SeaGreen = 32575
#Aquamarine = 12582783
#Turquoise = 12566335
#Blue = 16711680
#DarkBlue = 12517376
#Cyan = 16776960
#Purple = 16711850
#Lavender = 16760767
#Magenta = 16711935
#Brown = 3755147
#Black = 0
Regards
StarBootics
The Stone Age did not end due to a shortage of stones !
-
- Enthusiast
- Posts: 542
- Joined: Tue Apr 24, 2012 5:08 pm
- Location: Ontario, Canada
Re: Various [v 5.11 Linux Mint]
We've been using Mint with 4.61 to 5.20, and have never had any problems with the compiler. Are you sure that you ran the following command? It's shown in the x86 "checkinstall.sh" script and is recommended for Debian and Ubuntu based distros. It solves most problems other than user errors of course. Your code is not shown!!chris319 wrote:Unable to compile/link code containing MessageRequester() or OpenFileRequester()
Linker error window locks up machine, forcing log-out and back in again.
Code: Select all
sudo apt-get install gcc g++ libc6-dev libsdl1.2-dev libgtk2.0-dev libgnomeprint2.2-dev unixodbc-dev libgnome2-dev libxine-dev libgnomeprintui2.2-dev libxxf86vm-dev
For ten years Caesar ruled with an iron hand, then with a wooden foot, and finally with a piece of string.
~ Spike Milligan
~ Spike Milligan
Re: Various [v 5.11 Linux Mint]
Well Boris, thanks -- it worked for about five minutes, now the compiler is back to crashing.
-
- Enthusiast
- Posts: 542
- Joined: Tue Apr 24, 2012 5:08 pm
- Location: Ontario, Canada
Re: Various [v 5.11 Linux Mint]
A couple of things come to mind. You may have hardware problems, or your Mint installation may be so scrambled that a clean install is called for.chris319 wrote:....... now the compiler is back to crashing.
But of course, there's always a chance that it's your own code that's causing the problem.
User code not shown.
For ten years Caesar ruled with an iron hand, then with a wooden foot, and finally with a piece of string.
~ Spike Milligan
~ Spike Milligan
Re: Various [v 5.11 Linux Mint]
OK Boris, it works now but ONLY IF the purebasic folder extracted from the .tgz file is located in the /home/user directory.
-
- Enthusiast
- Posts: 542
- Joined: Tue Apr 24, 2012 5:08 pm
- Location: Ontario, Canada
Re: Various [v 5.11 Linux Mint]
That's the recommended place to put it.chris319 wrote:......the purebasic folder extracted from the .tgz file is located in the /home/user directory
From the INSTALL file: "the quickest method is to simply extract the purebasic archive somewhere and execute the PureBasic IDE".
Not the most enlightening instructions, but the resulting installation works well.

For ten years Caesar ruled with an iron hand, then with a wooden foot, and finally with a piece of string.
~ Spike Milligan
~ Spike Milligan
Re: Various [v 5.11 Linux Mint]
Clearly, you can't just put it "somewhere".
Re: Various [v 5.11 Linux Mint]
You can put the purebasic folder anywere, as long your set the PUREBASIC_HOME env var and add the compilers/ path to your path (if using from commandline). If you double click on the 'purebasic' exe in the compiler directory, it should work as well without setting the paths.
Re: Various [v 5.11 Linux Mint]
The install file omits those details:
Quick Installation method:
If you do not need to use the compiler from the commandline, the quickest
method is to simply extract the purebasic archive somewhere and execute
the PureBasic IDE.
Type "./purebasic" from inside the "compilers" folder, or double click
on the "purebasic" executable file in your file manager.
Re: Various [v 5.11 Linux Mint]
I don't understand what is missing.
Re: Various [v 5.11 Linux Mint]
Fred wrote:I don't understand what is missing.
as long your set the PUREBASIC_HOME env var and add the compilers/ path to your path (if using from commandline). If you double click on the 'purebasic' exe in the compiler directory, it should work as well without setting the paths.
sudo apt-get install gcc g++ libc6-dev libsdl1.2-dev libgtk2.0-dev libgnomeprint2.2-dev unixodbc-dev libgnome2-dev libxine-dev libgnomeprintui2.2-dev libxxf86vm-dev