[Jderobot] introrob

Alejandro Hernández ahcorde en gmail.com
Mie Jul 10 17:26:29 CEST 2013


Hola Jose,

Cuando te salen errores del tipo ": *undefined reference to* " es que hay
un librería que no estas linkando bien. Asegúrate de tener instalado:


   - OpenGL (sudo apt-get install freeglut3). Los errores que comienza por
   gl....
   - gsl (sudo apt-get install libgsl0). Los erroes que comienzan por
   gsl_...


Alejandro Hernández Cordero

<http://www.linkedin.com/in/ahcorde/en>  <https://twitter.com/ahcorde>
<https://plus.google.com/u/0/114434050324725472734/posts>
  <http://github.com/ahcorde>

Visit and play my Curriculum vitae ->
https://googledrive.com/host/0BytBL_SySiIjX19Pd1o5dlZaRHc/Game.html


2013/7/10 Jose Villaran <jmvillaran13 en gmail.com>

> Hola a todos,
> estoy intentando compilar el componente introrob pero, aunque cmake
> (mostrado abajo) no me devuelve ningún error, make muestra lo siguiente:
>
> $ cmake .
> -- The C compiler identification is GNU
> -- The CXX compiler identification is GNU
> -- Check for working C compiler: /usr/bin/gcc
> -- Check for working C compiler: /usr/bin/gcc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- checking for module 'opencv'
> --   found opencv, version 2.4.5
> -- checking for module 'gtk+-2.0'
> --   found gtk+-2.0, version 2.24.10
> -- checking for module 'gtkgl-2.0'
> --   found gtkgl-2.0, version 2.0.1
> -- checking for module 'gtkmm-2.4'
> --   found gtkmm-2.4, version 2.24.2
> -- checking for module 'libglademm-2.4'
> --   found libglademm-2.4, version 2.6.7
> -- checking for module 'gthread-2.0'
> --   found gthread-2.0, version 2.32.3
> -- checking for module 'libgnomecanvas-2.0'
> --   found libgnomecanvas-2.0, version 2.30.3
> -- checking for module 'libgnomecanvasmm-2.6'
> --   found libgnomecanvasmm-2.6, version 2.26.0
> -- checking for module 'gtkglextmm-1.2'
> --   found gtkglextmm-1.2, version 1.2.0
> *** Gearbox ok
> *** ICE ok
> *** OpenCV ok
> libbgfgsegmentation.so
> libjderobotice.so
> libcolorspaces.so
> libjderobotutil.so
> libprogeo.so
> libpioneer.so
> libfuzzylib.so
> libvisionlib.so
> -- Configuring done
> -- Generating done
> -- Build files have been written to:
> /home/jose/JDErobot5/trunk/src/components/introrob/build
>
>
> $ cmake .
> -- The C compiler identification is GNU
> -- The CXX compiler identification is GNU
> -- Check for working C compiler: /usr/bin/gcc
> -- Check for working C compiler: /usr/bin/gcc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- checking for module 'opencv'
> --   found opencv, version 2.4.5
> -- checking for module 'gtk+-2.0'
> --   found gtk+-2.0, version 2.24.10
> -- checking for module 'gtkgl-2.0'
> --   found gtkgl-2.0, version 2.0.1
> -- checking for module 'gtkmm-2.4'
> --   found gtkmm-2.4, version 2.24.2
> -- checking for module 'libglademm-2.4'
> --   found libglademm-2.4, version 2.6.7
> -- checking for module 'gthread-2.0'
> --   found gthread-2.0, version 2.32.3
> -- checking for module 'libgnomecanvas-2.0'
> --   found libgnomecanvas-2.0, version 2.30.3
> -- checking for module 'libgnomecanvasmm-2.6'
> --   found libgnomecanvasmm-2.6, version 2.26.0
> -- checking for module 'gtkglextmm-1.2'
> --   found gtkglextmm-1.2, version 1.2.0
> *** Gearbox ok
> *** ICE ok
> *** OpenCV ok
> libbgfgsegmentation.so
> libjderobotice.so
> libcolorspaces.so
> libjderobotutil.so
> libprogeo.so
> libpioneer.so
> libfuzzylib.so
> libvisionlib.so
> -- Configuring done
> -- Generating done
> -- Build files have been written to:
> /home/jose/JDErobot5/trunk/src/components/introrob/build
>
> $ cmake .
> -- The C compiler identification is GNU
> -- The CXX compiler identification is GNU
> -- Check for working C compiler: /usr/bin/gcc
> -- Check for working C compiler: /usr/bin/gcc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- checking for module 'opencv'
> --   found opencv, version 2.4.5
> -- checking for module 'gtk+-2.0'
> --   found gtk+-2.0, version 2.24.10
> -- checking for module 'gtkgl-2.0'
> --   found gtkgl-2.0, version 2.0.1
> -- checking for module 'gtkmm-2.4'
> --   found gtkmm-2.4, version 2.24.2
> -- checking for module 'libglademm-2.4'
> --   found libglademm-2.4, version 2.6.7
> -- checking for module 'gthread-2.0'
> --   found gthread-2.0, version 2.32.3
> -- checking for module 'libgnomecanvas-2.0'
> --   found libgnomecanvas-2.0, version 2.30.3
> -- checking for module 'libgnomecanvasmm-2.6'
> --   found libgnomecanvasmm-2.6, version 2.26.0
> -- checking for module 'gtkglextmm-1.2'
> --   found gtkglextmm-1.2, version 1.2.0
> *** Gearbox ok
> *** ICE ok
> *** OpenCV ok
> libbgfgsegmentation.so
> libjderobotice.so
> libcolorspaces.so
> libjderobotutil.so
> libprogeo.so
> libpioneer.so
> libfuzzylib.so
> libvisionlib.so
> -- Configuring done
> -- Generating done
> -- Build files have been written to:
> /home/jose/JDErobot5/trunk/src/components/introrob/build
>
>
> $ make
>
> [100%] Building C object ../CMakeFiles/introrob.dir/pioneeropengl.c.o
> Linking CXX executable introrob
> CMakeFiles/introrob.dir/API.cpp.o: In function
> `introrob::Api::drawSphere(CvPoint3D32f, CvPoint3D32f)':
> API.cpp:(.text+0x901): undefined reference to `glutSolidSphere'
> CMakeFiles/introrob.dir/drawarea.cpp.o: In function
> `introrob::DrawArea::DrawArea(_GtkDrawingArea*,
> Glib::RefPtr<Gnome::Glade::Xml> const&)':
> drawarea.cpp:(.text+0x552): undefined reference to `glutInit'
> drawarea.cpp:(.text+0x55e): undefined reference to `glutInitDisplayMode'
> CMakeFiles/introrob.dir/drawarea.cpp.o: In function
> `introrob::DrawArea::DrawArea(_GtkDrawingArea*,
> Glib::RefPtr<Gnome::Glade::Xml> const&)':
> drawarea.cpp:(.text+0xc77): undefined reference to `glutInit'
> drawarea.cpp:(.text+0xc83): undefined reference to `glutInitDisplayMode'
> /home/jose/JDErobot5/trunk/src/components/introrob/build/../../../libs/progeo/libprogeo.so:
> undefined reference to `gsl_vector_get'
> /home/jose/JDErobot5/trunk/src/components/introrob/build/../../../libs/progeo/libprogeo.so:
> undefined reference to `gsl_matrix_set'
> /home/jose/JDErobot5/trunk/src/components/introrob/build/../../../libs/progeo/libprogeo.so:
> undefined reference to `gsl_matrix_alloc'
> /home/jose/JDErobot5/trunk/src/components/introrob/build/../../../libs/progeo/libprogeo.so:
> undefined reference to `gsl_vector_alloc'
> /home/jose/JDErobot5/trunk/src/components/introrob/build/../../../libs/progeo/libprogeo.so:
> undefined reference to `gsl_linalg_LU_solve'
> /home/jose/JDErobot5/trunk/src/components/introrob/build/../../../libs/progeo/libprogeo.so:
> undefined reference to `gsl_linalg_LU_decomp'
> /home/jose/JDErobot5/trunk/src/components/introrob/build/../../../libs/progeo/libprogeo.so:
> undefined reference to `gsl_vector_set'
> /home/jose/JDErobot5/trunk/src/components/introrob/build/../../../libs/progeo/libprogeo.so:
> undefined reference to `gsl_permutation_alloc'
> collect2: ld devolvió el estado de salida 1
> make[2]: *** [../introrob] Error 1
> make[1]: *** [../CMakeFiles/introrob.dir/all] Error 2
> make: *** [all] Error 2
>
>
> ¿Alguien sabe por qué puede ser? Gracias!
>
>
>
> _______________________________________________
> Jde-developers mailing list
> Jde-developers en gsyc.es
> http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers
>
>
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: http://gsyc.escet.urjc.es/pipermail/jde-developers/attachments/20130710/560729d1/attachment-0001.htm 


More information about the Jde-developers mailing list