[JdeRobot] kinect2server component $ libfreenect2 problems

Oscar Garcia oscar.robotica at linaresdigital.com
Tue Apr 14 01:47:19 CEST 2015


El 14/04/15 a las 00:45, Javii escribió:
> $ sudo make install/


I think that is "sudo make install", without trailing slash.



> /$ cmake .
> ...
> -- Processing component kinect2server
> Disabled
> -- Processing component replayController
>
> .../
> Is the component disabled?


No, it is not disabled. In kinect2server/CMakeLists.txt you could read:


    IF(LIBFREENECT_PATH)
    ...
    ELSE()
         message("Disabled")
    ENDIF()



So the message "Disabled" is there because cmake couldn't found 
libfreenect (or the variable is not set).

In Deps/libfreenect2/CMakeLists.txt there is some important lines to 
find the solution:


    SET ( LIBFREENECT_PATH $ENV{LIBFREENECT_ROOT})
    IF (DEFINED LIBFREENECT_PATH)
         SET ( LIBFREENECT_PATH $ENV{LIBFREENECT_ROOT})
         message("LIBFREENECT FOUND AT ${LIBFREENECT_PATH}")
    ELSE()
         message("LIBFREENECT NOT FOUND")
    ENDIF()



So you need to set environment variable "LIBFREENECT_ROOT" accordingly 
and rerun "cmake ." in jderobot root directory.

Best regards,
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: http://gsyc.escet.urjc.es/pipermail/jde-developers/attachments/20150414/4e588d21/attachment.htm 


More information about the Jde-developers mailing list