1. locate Error
/home/sincos/RGBDemo-0.7.0-Source/build/nestk/deps/openni/Nite/Samples/Players
find the file path, and change the CMakeList.txt file:
# And make it link against these libs.
# ---------------------------------------
find_library(OpenGL GLUT_LIB glut)
if(DEFINED OPENNI_PLATFORM_APPLE)
find_library(OPENGL_LIB OpenGL)
endif(DEFINED OPENNI_PLATFORM_APPLE)
target_link_libraries(
${VIEWER_EXE}
${OPENNI_LIB_NAME}
${GLUT_LIB}
${OPENGL_LIB}
${OPENGL_LIBRARIES} #libGL new add line
)
if you find the same error, you can solve it by the method!
Cause: The link library file could not be found
在 2016年7月27日星期三 UTC+8下午9:56:20,Kamble Tanaji写道: