Compiling on Linux problems (was working, now not)
Posted: Sat Oct 12, 2013 11:31 am
Right, this is driving me insane and the error I'm getting just doesn't make any sense so I'm asking for your help.
I'm trying to compile Pioneer on my little Linux box. This was going well, it was building, running, and I was seeing the graphical corruption that others are reporting on Linux when using the open source ATi/AMD drivers.
Then I updated Pioneer to the latest master, so as to get my Eclipse disabling changes and now I get this:
I've tried running "./configure" again and it successfully finds everything, including GL.
So does anyone have any bright ideas how I can get this running again?
It's been a long time, several years in fact, since I did any Linux development, even the Android stuff I've done more recently was on Windows.
Help?
Andy
I'm trying to compile Pioneer on my little Linux box. This was going well, it was building, running, and I was seeing the graphical corruption that others are reporting on Linux when using the open source ATi/AMD drivers.
Then I updated Pioneer to the latest master, so as to get my Eclipse disabling changes and now I get this:
a quick "locate libgGL" gives me the following:CXXLD pioneer
/usr/bin/ld: cannot find -lGL
collect2: error: ld returned 1 exit status
make[2]: *** [pioneer] Error 1
make[2]: Leaving directory `/home/yeti/code/pioneer/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/yeti/code/pioneer/src'
make: *** [all-recursive] Error 1
Which has a selection of libGL.so files to choose from.yeti@Sapphire ~/code/pioneer $ locate libGL
/home/yeti/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libGLEW.so.1.6
/home/yeti/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libGLEW.so.1.6.0
/home/yeti/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libGLU.so.1
/home/yeti/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libGLU.so.1.3.08004
/home/yeti/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/share/doc/nvidia-cg-toolkit/examples/Tools/trace/libGL.so.1.gz
/usr/lib/FGL.renamed.libGL.so.1.2
/usr/lib/libGL.so
/usr/lib/libGL.so.1
/usr/lib/libGL.so.1.2
/usr/lib/fglrx/fglrx-libGL.so.1.2
/usr/lib/fglrx/switchlibGL
/usr/lib/i386-linux-gnu/libGL.so
/usr/lib/i386-linux-gnu/libGL.so.1
/usr/lib/i386-linux-gnu/libGL.so.1.2
/usr/lib/i386-linux-gnu/fglrx/fglrx-libGL.so.1.2
/usr/lib/i386-linux-gnu/mesa/libGL.so.1
/usr/lib/i386-linux-gnu/mesa/libGL.so.1.2.0
/usr/lib/x86_64-linux-gnu/libGL.so
/usr/lib/x86_64-linux-gnu/libGLEW.so
/usr/lib/x86_64-linux-gnu/libGLEW.so.1.8
/usr/lib/x86_64-linux-gnu/libGLEW.so.1.8.0
/usr/lib/x86_64-linux-gnu/libGLEWmx.so.1.8
/usr/lib/x86_64-linux-gnu/libGLEWmx.so.1.8.0
/usr/lib/x86_64-linux-gnu/libGLU.a
/usr/lib/x86_64-linux-gnu/libGLU.so
/usr/lib/x86_64-linux-gnu/libGLU.so.1
/usr/lib/x86_64-linux-gnu/libGLU.so.1.3.1
/usr/lib/x86_64-linux-gnu/mesa/FGL.renamed.libGL.so.1.2.0
/usr/lib/x86_64-linux-gnu/mesa/libGL.so
/usr/lib/x86_64-linux-gnu/mesa/libGL.so.1
/usr/lib/x86_64-linux-gnu/mesa/libGL.so.1.2.0
/usr/lib/x86_64-linux-gnu/mesa-egl/libGLESv2.so.2
/usr/lib/x86_64-linux-gnu/mesa-egl/libGLESv2.so.2.0.0
yeti@Sapphire ~/code/pioneer $
I've tried running "./configure" again and it successfully finds everything, including GL.
So does anyone have any bright ideas how I can get this running again?
It's been a long time, several years in fact, since I did any Linux development, even the Android stuff I've done more recently was on Windows.
Help?
Andy