Linux build issue help!

Archives Forums/Linux Discussion/Linux build issue help!

JoeRetro(Posted 2006) [#1]
I'm tring to build the firepaint.bmx file and I get the following error:

Building firepaint
Compiling:color.bmx
flat assembler  version 1.64
4 passes, 26401 bytes.
Compiling:firepaint.bmx
flat assembler  version 1.64
3 passes, 34929 bytes.
Linking:firepaint.debug
/usr/bin/ld: cannot find -lGLU
collect2: ld returned 1 exit status


What does '-1GLU' pertain too and how do I fix it?

Thanks!


skidracer(Posted 2006) [#2]
if you are on ubuntu from commandline / terminal you will need to install some / all of the following packages by typing

sudo apt-get install libgl-dev
sudo apt-get install libglu-dev
sudo apt-get install libxxf86vm-dev
sudo apt-get install libx11-dev
sudo apt-get install g++


and maybe

sudo apt-get install nvidia-dev

if you are using nvidia hardware.


JoeRetro(Posted 2006) [#3]
Thanks for the info...I was missing libglu.

...still a few more issues though

Building firepaint
Compiling:color.bmx
flat assembler  version 1.64
4 passes, 26401 bytes.
Compiling:firepaint.bmx
flat assembler  version 1.64
3 passes, 34929 bytes.
Linking:firepaint.debug
/usr/bin/ld: warning: libstdc++.so.6, needed by /usr/lib/libGLU.so, may conflict with libstdc++.so.5
/home/jhillman/BlitzMax118_Linux/BlitzMax/mod/brl.mod/filesystem.mod/filesystem.debug.linux.x86.a(filesystem.bmx.debug.linux.x86.o): In function `brl_filesystem_CreateFile': undefined reference to `remove_'
/home/jhillman/BlitzMax118_Linux/BlitzMax/mod/brl.mod/filesystem.mod/filesystem.debug.linux.x86.a(filesystem.bmx.debug.linux.x86.o): In function `brl_filesystem_DeleteFile': undefined reference to `remove_'
collect2: ld returned 1 exit status
Build Error: Failed to link /home/jhillman/BlitzMax118_Linux/BlitzMax/samples/firepaint/firepaint.debug
Process complete

Any ideas?


skidracer(Posted 2006) [#4]
It looks like pub.stdc and brl.filesystem are out of sync, you may want to go back to a core update and avoid syncmods for a little while, sorry unable to test here further today.


JoeRetro(Posted 2006) [#5]
Thanks again....I'll keep tinkering with it