linux 64 bit error

BlitzMax Forums/BlitzMax Beginners Area/linux 64 bit error

PyroPower(Posted 2007) [#1]
I'm running BlitzPro on Fedora Core 6 64 bit on a Dell Inspiron 1501 (AMD processor/ Radeon Video)

Attempt to compile anything, even:

Print "Anything"

results in this:

Building untitled1
Compiling:untitled1.bmx
flat assembler version 1.64
3 passes, 3038 bytes.
Linking:untitled1.debug
/usr/bin/ld: skipping incompatible /usr/lib64/libGL.so when searching for -lGL
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
Build Error: Failed to link /home/rab/BlitzMax118_Linux/BlitzMax/tmp/untitled1.debug
Process complete

Seems to work on my 32 bit Inspiron 2500 tho.. (Same FC6, just 32 bit)

What now?


Brucey(Posted 2007) [#2]
try :
Framework BRL.StandardIO

Print "Anything"


Answer 1: If you don't use Framework, BlitzMax will compile all of the BRL/Pub modules into your application. This then requires more, different libraries to be installed on your system.

Answer 2: The -lGL error implies you do not have the OpenGL developer libraries installed. You may find reading some of these posts will help you get an idea of what else you may need to install.


Dreamora(Posted 2007) [#3]
Don't use the 64Bit OS, this is most likely the simplest solution.

otherweise go to the Linux boards, there should be an explanation on how to get it working with the 64bit distributions


PyroPower(Posted 2007) [#4]
Thanks much!

Further searching on 'framework' was most informative!
(Tho not for THIS problem..)

I will probably play with the OpenGl dev. later..

For now. I guess I'll be going with Dreamora's first suggestion.


Brucey(Posted 2007) [#5]
Well, as long as you have the 32 bit libraries installed you shouldn't really have any problems.

I've managed to get a BlitzMax install working on a 64bit SuSe 9 which also had 32 bit libraries.