[Jderobot] Cmake . repositorio

Roberto Calvo rocapal en gsyc.urjc.es
Mie Oct 16 17:09:45 CEST 2013


Hola!

¿Tienes exportadas las variables y has comprobado que apuntan bien al
path donde tengas descargado e instalado openNI y NITE?

En [1] dejamos documentado como hacer todo el tema de las variables que
luego lee el cmake. Al poder tener las librerías en cualquier
directorio, mediante estas variables le dices donde las tienes.

[1] http://jderobot.org/Manual-5#OpenNI_and_NITE


El mié, 16-10-2013 a las 16:52 +0200, Arck verde escribió:
> estoy compilando la version 1058 del repositorio y me salta el
> siguiente error.
> tengo las librerias OpenNI en el 2.2 y la NITE en el 1.5.2, lo digo
> por que veo que son las que dice que no las encuentra.
> si alguien tiene una idea gracias.
> 
> 
> -------------------------------------------------------
> -------------------------------------------------------
> arck en arck-P:~/jde-new$ 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 'gstreamer-0.10'
> --   found gstreamer-0.10, version 0.10.36
> -- checking for module 'gstreamer-app-0.10'
> --   found gstreamer-app-0.10, version 0.10.36
> -- checking for module 'gsl'
> --   found gsl, version 1.15
> -- checking for module 'eigen3'
> --   found eigen3, version 3.0.5
> /home/arck/jde-new/src/stable/libs/colorspaces
> /home/arck/jde-new/src/stable/libs/jderobotutil
> /home/arck/jde-new/src/stable/libs/progeo
> /home/arck/jde-new/src/stable/libs/pioneer
> /home/arck/jde-new/src/stable/libs/fuzzylib
> /home/arck/jde-new/src/stable/libs/visionlib
> /home/arck/jde-new/src/stable/libs/parallelIce
> *** GAZEBO LIBRARIES FOUND
> *** Fireware ok
>  with_pcl PCL LIBRARY FOUND IN /usr/local/lib/libpcl_surface.so
>  pcl_LIBRARY11 PCL LIBRARY FOUND IN 
> PCL LIBRARY FOUND
> IN /usr/local/lib/libpcl_surface.so;/usr/local/lib/libpcl_registration.so;/usr/local/lib/libpcl_segmentation.so;/usr/local/lib/libpcl_filters.so;/usr/local/lib/libpcl_sample_consensus.so;/usr/local/lib/libpcl_io.so;/usr/local/lib/libpcl_octree.so;/usr/local/lib/libpcl_features.so;/usr/local/lib/libpcl_kdtree.so;/usr/local/lib/libpcl_common.so
> *** PCL OK
> -- OpenNi found at /usr/lib/libOpenNI.so
> -- Nite found at /usr/lib/libXnVNite_1_5_2.so
> *** Xerces ok
> /usr/include/libxml2
> *** ICE ok
> *** CWIID LIBRARIES FOUND
> OpenCV was found in: /usr/include/opencv
> -- Looking for XOpenDisplay
> in /usr/lib/i386-linux-gnu/libX11.so;/usr/lib/i386-linux-gnu/libXext.so
> -- Looking for XOpenDisplay
> in /usr/lib/i386-linux-gnu/libX11.so;/usr/lib/i386-linux-gnu/libXext.so - found
> -- Looking for gethostbyname
> -- Looking for gethostbyname - found
> -- Looking for connect
> -- Looking for connect - found
> -- Looking for remove
> -- Looking for remove - found
> -- Looking for shmat
> -- Looking for shmat - found
> -- Looking for IceConnectionNumber in ICE
> -- Looking for IceConnectionNumber in ICE - found
> -- Found X11: /usr/lib/i386-linux-gnu/libX11.so
> -- Found OpenGL: /usr/lib/i386-linux-gnu/libGL.so 
> OpenGL libraries found
> at /usr/lib/i386-linux-gnu/libglut.so;/usr/lib/i386-linux-gnu/libXmu.so;/usr/lib/i386-linux-gnu/libXi.so
> OpenNI2 library not found
> NITE2 library not found
> -- Looking for include files CMAKE_HAVE_PTHREAD_H
> -- Looking for include files CMAKE_HAVE_PTHREAD_H - found
> -- Looking for pthread_create in pthreads
> -- Looking for pthread_create in pthreads - not found
> -- Looking for pthread_create in pthread
> -- Looking for pthread_create in pthread - found
> -- Found Threads: TRUE 
> -- checking for module 'libxml++-2.6'
> --   found libxml++-2.6, version 2.34.1
> Libxml++ libraries found at 
> *** LIBXML2 ok
> -- Boost version: 1.46.1
> -- Found the following Boost libraries:
> --   system
> --   filesystem
> -- ALUT found at /usr/lib/libalut.so
> *** LIBTINYXML ok
> -- 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
> -- Looking for Q_WS_X11
> -- Looking for Q_WS_X11 - found
> -- Looking for Q_WS_WIN
> -- Looking for Q_WS_WIN - not found.
> -- Looking for Q_WS_QWS
> -- Looking for Q_WS_QWS - not found.
> -- Looking for Q_WS_MAC
> -- Looking for Q_WS_MAC - not found.
> -- Found Qt4: /usr/bin/qmake (found version "4.8.1")
> *** QT LIBRARIES Found LIBRARIES FOUND
> *** Goocanvasmm LIBRARIES FOUND
>  kobuki_LIBRARIES 
> *** kobuki not found
> *** Creating CPP interfaces
> -- Processing component openni1Server
> -- Processing component opencvdemo
> -- Processing component cameraview
> -- Processing component replayer
> -- Processing component gazeboserver
> -- Processing plugin pioneer
> -- Processing plugin kinect
> -- Processing plugin nao
> -- Processing component rgbdManualCalibrator
> -- Processing component naoserver
> -- Processing component cameraserver
> -- Processing component remoteConfiguration
> -- Processing component rgbdCalibrator
> -- Processing component replayController
> -- Processing component basic_component_qt
> -- Processing component pclRGBDServer
> -- Processing component introrob
> -- Processing component kobuki_driver
> -- Processing component recorder
> -- Processing component naoviewer
> -- Processing component basic_component
> -- Processing component basic_server
> -- Processing component rgbdViewer
> -- Processing component introrob_qt
> -- Processing component visualHFSM
> -- Processing component openniServer
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /home/arck/jde-new
> arck en arck-P:~/jde-new$ make
> 
> 
> Scanning dependencies of target progeo
> [ 26%] Building C object
> src/stable/libs/progeo/CMakeFiles/progeo.dir/progeo.c.o
> /home/arck/jde-new/src/stable/libs/progeo/progeo.c:581: aviso: tipos
> en conflicto para ‘update_camera_matrix’
> /home/arck/jde-new/src/stable/libs/progeo/progeo.c:345: nota: la
> declaración implícita previa de ‘update_camera_matrix’ estaba aquí
> 
> 
> Scanning dependencies of target progeoshare
> [ 31%] Building C object
> src/stable/libs/progeo/CMakeFiles/progeoshare.dir/progeo.c.o
> /home/arck/jde-new/src/stable/libs/progeo/progeo.c:581: aviso: tipos
> en conflicto para ‘update_camera_matrix’
> /home/arck/jde-new/src/stable/libs/progeo/progeo.c:345: nota: la
> declaración implícita previa de ‘update_camera_matrix’ estaba aquí
> 
> 
> Linking CXX executable openni1Server
> /usr/bin/ld: skipping
> incompatible /usr/lib/gcc/i686-linux-gnu/4.4.7/../../../../lib/libXnVNite_1_5_2.so when searching for -lXnVNite_1_5_2
> /usr/bin/ld: skipping incompatible /usr/lib/../lib/libXnVNite_1_5_2.so
> when searching for -lXnVNite_1_5_2
> /usr/bin/ld: skipping
> incompatible /usr/lib/gcc/i686-linux-gnu/4.4.7/../../../libXnVNite_1_5_2.so when searching for -lXnVNite_1_5_2
> /usr/bin/ld: skipping incompatible /usr/lib/libXnVNite_1_5_2.so when
> searching for -lXnVNite_1_5_2
> /usr/bin/ld: cannot find -lXnVNite_1_5_2
> collect2: ld devolvió el estado de salida 1
> make[2]: *** [src/stable/components/openni1Server/openni1Server] Error
> 1
> make[1]: ***
> [src/stable/components/openni1Server/CMakeFiles/openni1Server.dir/all]
> Error 2
> make: *** [all] Error 2
> arck en arck-P:~/jde-new$
> _______________________________________________
> Jde-developers mailing list
> Jde-developers en gsyc.es
> http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers

-- 
Roberto Calvo Palomino        | Robotics Lab (GSyC) 
R&D Android Mobile Engineer   | Universidad Rey Juan Carlos

Twitter: @rocapal 
Linkedin: http://www.linkedin.com/in/rocapal



More information about the Jde-developers mailing list