Will not compile

Archives Forums/Linux Discussion/Will not compile

TwoCorin517(Posted 2008) [#1]
I'm using the latest of both the Ubuntu updates and the BM updates.

I've gotten BM working, but I can't get it to compile, the error is the following:
Building untitled1
Compiling:untitled1.bmx
flat assembler  version 1.64
3 passes, 2784 bytes.
Linking:untitled1.debug
/usr/bin/ld: cannot find -lGLU
collect2: ld returned 1 exit status
Build Error: Failed to link /home/peter/Desktop/BlitzMax118_Linux/BlitzMax/tmp/untitled1.debug
Process complete

and the code was the following:
Print "Hello World"



Mark Tiffany(Posted 2008) [#2]
/usr/bin/ld: cannot find -lGLU


This means that it has failed to link with the GLU library. You need to install all the relevant dev packages, of which GLU is one requirement.

Check out the sticky thread in this "Linux Discussion" forum for links to a few HOWTOs - these should get a bit further, possibly all the way to a program that runs...


TwoCorin517(Posted 2008) [#3]
Thank you ,I've finally gotten it to run.