Menu

Need a little help to compile SD (4423).

Help
2012-01-16
2013-04-13
  • Sérgio Cipolla

    Sérgio Cipolla - 2012-01-16

    Hi, I checked out svn version 4423 of SpeedDreams. I use Debian Sid.
    ccmake went ok but when running make I got this error

    [ 16%] Building CXX object src/libs/tgfclient/CMakeFiles/tgfclient.dir/guiapplication.cpp.o
    make[2]: *** No rule to make target `/usr/lib/i386-linux-gnu/libGL.so', needed by `src/libs/tgfclient/libtgfclient.so'.  Stop.
    make[1]: *** [src/libs/tgfclient/CMakeFiles/tgfclient.dir/all] Error 2
    make: *** [all] Error 2
    

    Here's what I got with 'locate libGL':

    $ locate libGL
    /opt/google/earth/free/libGLU.so.1
    /usr/lib/libGL.la
    /usr/lib/libGL.so
    /usr/lib/libGL.so.1
    /usr/lib/libGL.so.290.10
    /usr/lib/i386-linux-gnu/libGL.so
    /usr/lib/i386-linux-gnu/libGLEW.so.1.6
    /usr/lib/i386-linux-gnu/libGLEW.so.1.6.0
    /usr/lib/i386-linux-gnu/libGLU.a
    /usr/lib/i386-linux-gnu/libGLU.so
    /usr/lib/i386-linux-gnu/libGLU.so.1
    /usr/lib/i386-linux-gnu/libGLU.so.1.3.071100
    /usr/src/sgfxi-downloads/NVIDIA-Linux-x86-290.10/libGL.la
    

    I'll be grateful for any advice to get past this.

     
  • Sérgio Cipolla

    Sérgio Cipolla - 2012-01-16

    Oh, one thing that may help.
    I noticed that OPTION_OFFICIAL_ONLY:BOOL was set to OFF and I kept that. Maybe switching it to ON will help?
    Since this is the first time I'm using ccmake (I'm building it in a different directory than the svn source, so as to not mess things too much), to start it all over again do I need only to run 'make clean' and /or 'make dist-clean' or is there any other method?
    Tks.

     
  • Sérgio Cipolla

    Sérgio Cipolla - 2012-01-16

    No.
    I ran 'make clean', set OPTION_OFFICIAL_ONLY:BOOL to ON with ccmake and make gave the same error.

     
  • Sérgio Cipolla

    Sérgio Cipolla - 2012-01-16

    SOLVED
    Ok folks, figured it out.
    When installing the build dependencies, probably those mesa-dev libs broke the NVIDIA driver so I re-installed the driver and 'make' ran fine.

     

Log in to post a comment.