IntelRealSense / realsense_sdk_zr300

Toolkit built on top of the Intel® RealSense™ Cross Platform API (librealsense)
Apache License 2.0
55 stars 39 forks source link

Build error ... #30

Open EdXian opened 7 years ago

EdXian commented 7 years ago

Hi all, I have pre-install :

[ 64%] Linking CXX shared library librealsense_pipeline.so
[ 64%] Built target realsense_pipeline
Scanning dependencies of target rs_projection_tool
[ 65%] Building CXX object sdk/src/tools/projection_tool/CMakeFiles/rs_projection_tool.dir/projection_viewer.cpp.o
[ 66%] Building CXX object sdk/src/tools/projection_tool/CMakeFiles/rs_projection_tool.dir/projection_tool.cpp.o
[ 67%] Linking CXX executable rs_projection_tool
CMakeFiles/rs_projection_tool.dir/projection_viewer.cpp.o: In function `projection_viewer::projection_viewer(std::map<rs::core::stream_type, rs::core::sizeI32, std::less<rs::core::stream_type>, std::allocator<std::pair<rs::core::stream_type const, rs::core::sizeI32> > > const&, std::function<void ()>)::{lambda(GLFWwindow*, int, int, int, int)#2}::operator()(GLFWwindow*, int, int, int, int) const':
projection_viewer.cpp:(.text+0x11d6): undefined reference to `glfwGetWindowUserPointer'
CMakeFiles/rs_projection_tool.dir/projection_viewer.cpp.o: In function `projection_viewer::projection_viewer(std::map<rs::core::stream_type, rs::core::sizeI32, std::less<rs::core::stream_type>, std::allocator<std::pair<rs::core::stream_type const, rs::core::sizeI32> > > const&, std::function<void ()>)::{lambda(GLFWwindow*, int)#3}::operator()(GLFWwindow*, int) const':
projection_viewer.cpp:(.text+0x1273): undefined reference to `glfwMakeContextCurrent'
CMakeFiles/rs_projection_tool.dir/projection_viewer.cpp.o: In function `projection_viewer::projection_viewer(std::map<rs::core::stream_type, rs::core::sizeI32, std::less<rs::core::stream_type>, std::allocator<std::pair<rs::core::stream_type const, rs::core::sizeI32> > > const&, std::function<void ()>)::{lambda(GLFWwindow*, int, int, int)#4}::operator()(GLFWwindow*, int, int, int) const':
projection_viewer.cpp:(.text+0x12d4): undefined reference to `glfwGetWindowUserPointer'
CMakeFiles/rs_projection_tool.dir/projection_viewer.cpp.o: In function `projection_viewer::projection_viewer(std::map<rs::core::stream_type, rs::core::sizeI32, std::less<rs::core::stream_type>, std::allocator<std::pair<rs::core::stream_type const, rs::core::sizeI32> > > const&, std::function<void ()>)::{lambda(GLFWwindow*, double, double)#5}::operator()(GLFWwindow*, double, double) const':
projection_viewer.cpp:(.text+0x135e): undefined reference to `glfwGetWindowUserPointer'
CMakeFiles/rs_projection_tool.dir/projection_viewer.cpp.o: In function `projection_viewer::projection_viewer(std::map<rs::core::stream_type, rs::core::sizeI32, std::less<rs::core::stream_type>, std::allocator<std::pair<rs::core::stream_type const, rs::core::sizeI32> > > const&, std::function<void ()>)::{lambda(GLFWwindow*)#6}::operator()(GLFWwindow*) const':
projection_viewer.cpp:(.text+0x13f8): undefined reference to `glfwGetWindowUserPointer'
CMakeFiles/rs_projection_tool.dir/projection_viewer.cpp.o: In function `projection_viewer::projection_viewer(std::map<rs::core::stream_type, rs::core::sizeI32, std::less<rs::core::stream_type>, std::allocator<std::pair<rs::core::stream_type const, rs::core::sizeI32> > > const&, std::function<void ()>)::{lambda(GLFWwindow*)#7}::operator()(GLFWwindow*) const':
projection_viewer.cpp:(.text+0x1484): undefined reference to `glfwGetWindowUserPointer'
projection_viewer.cpp:(.text+0x1517): undefined reference to `glfwGetWindowUserPointer'
CMakeFiles/rs_projection_tool.dir/projection_viewer.cpp.o:projection_viewer.cpp:(.text+0x152c): more undefined references to `glfwGetWindowUserPointer' follow
CMakeFiles/rs_projection_tool.dir/projection_viewer.cpp.o: In function `projection_viewer::projection_viewer(std::map<rs::core::stream_type, rs::core::sizeI32, std::less<rs::core::stream_type>, std::allocator<std::pair<rs::core::stream_type const, rs::core::sizeI32> > > const&, std::function<void ()>)::{lambda(GLFWwindow*)#7}::operator()(GLFWwindow*) const':
projection_viewer.cpp:(.text+0x1540): undefined reference to `glfwMakeContextCurrent'
projection_viewer.cpp:(.text+0x1562): undefined reference to `glfwHideWindow'
CMakeFiles/rs_projection_tool.dir/projection_viewer.cpp.o: In function `projection_viewer::projection_viewer(std::map<rs::core::stream_type, rs::core::sizeI32, std::less<rs::core::stream_type>, std::allocator<std::pair<rs::core::stream_type const, rs::core::sizeI32> > > const&, std::function<void ()>)':
projection_viewer.cpp:(.text+0x1975): undefined reference to `glfwDestroyWindow'
projection_viewer.cpp:(.text+0x1a0d): undefined reference to `glfwDestroyWindow'
projection_viewer.cpp:(.text+0x1a4c): undefined reference to `glfwWindowHint'
projection_viewer.cpp:(.text+0x1b82): undefined reference to `glfwCreateWindow'
projection_viewer.cpp:(.text+0x1ba3): undefined reference to `glfwMakeContextCurrent'
projection_viewer.cpp:(.text+0x1bd4): undefined reference to `glfwSetErrorCallback'
projection_viewer.cpp:(.text+0x1ca8): undefined reference to `glfwWindowHint'
projection_viewer.cpp:(.text+0x1cb7): undefined reference to `glfwWindowHint'
projection_viewer.cpp:(.text+0x1d18): undefined reference to `glfwCreateWindow'
projection_viewer.cpp:(.text+0x1d3f): undefined reference to `glfwMakeContextCurrent'
projection_viewer.cpp:(.text+0x1d5c): undefined reference to `glfwSetWindowUserPointer'
projection_viewer.cpp:(.text+0x1dac): undefined reference to `glfwSetWindowFocusCallback'
projection_viewer.cpp:(.text+0x1df6): undefined reference to `glfwSetCursorPosCallback'
projection_viewer.cpp:(.text+0x1e8c): undefined reference to `glfwMakeContextCurrent'
projection_viewer.cpp:(.text+0x1ea2): undefined reference to `glfwSetWindowUserPointer'
projection_viewer.cpp:(.text+0x1ee4): undefined reference to `glfwSetWindowFocusCallback'
projection_viewer.cpp:(.text+0x1f2b): undefined reference to `glfwMakeContextCurrent'
CMakeFiles/rs_projection_tool.dir/projection_viewer.cpp.o: In function `projection_viewer::mouse_click_callback(GLFWwindow*, int, int, int)':
projection_viewer.cpp:(.text+0x20bd): undefined reference to `glfwGetCursorPos'
CMakeFiles/rs_projection_tool.dir/projection_viewer.cpp.o: In function `projection_viewer::key_callback(GLFWwindow*, int, int, int, int)':
projection_viewer.cpp:(.text+0x2d71): undefined reference to `glfwMakeContextCurrent'
projection_viewer.cpp:(.text+0x2dc3): undefined reference to `glfwHideWindow'
projection_viewer.cpp:(.text+0x2e21): undefined reference to `glfwMakeContextCurrent'
projection_viewer.cpp:(.text+0x2e73): undefined reference to `glfwHideWindow'
CMakeFiles/rs_projection_tool.dir/projection_viewer.cpp.o: In function `projection_viewer::show_stream(image_type, rs::core::image_interface*)':
projection_viewer.cpp:(.text+0x3378): undefined reference to `glfwMakeContextCurrent'
CMakeFiles/rs_projection_tool.dir/projection_viewer.cpp.o: In function `projection_viewer::show_window(rs::core::image_interface*)':
projection_viewer.cpp:(.text+0x3803): undefined reference to `glfwMakeContextCurrent'
projection_viewer.cpp:(.text+0x39cf): undefined reference to `glfwGetWindowAttrib'
projection_viewer.cpp:(.text+0x39f8): undefined reference to `glfwShowWindow'
CMakeFiles/rs_projection_tool.dir/projection_viewer.cpp.o: In function `projection_viewer::draw_points(image_type, std::vector<rs::core::pointF32, std::allocator<rs::core::pointF32> >)':
projection_viewer.cpp:(.text+0x412c): undefined reference to `glfwMakeContextCurrent'
CMakeFiles/rs_projection_tool.dir/projection_viewer.cpp.o: In function `projection_viewer::update()':
projection_viewer.cpp:(.text+0x4363): undefined reference to `glfwMakeContextCurrent'
CMakeFiles/rs_projection_tool.dir/projection_viewer.cpp.o: In function `projection_viewer::terminate()':
projection_viewer.cpp:(.text+0x4ebc): undefined reference to `glfwDestroyWindow'
projection_viewer.cpp:(.text+0x4eda): undefined reference to `glfwDestroyWindow'
collect2: error: ld returned 1 exit status
sdk/src/tools/projection_tool/CMakeFiles/rs_projection_tool.dir/build.make:128: recipe for target 'sdk/src/tools/projection_tool/rs_projection_tool' failed
make[2]: *** [sdk/src/tools/projection_tool/rs_projection_tool] Error 1
CMakeFiles/Makefile2:666: recipe for target 'sdk/src/tools/projection_tool/CMakeFiles/rs_projection_tool.dir/all' failed
make[1]: *** [sdk/src/tools/projection_tool/CMakeFiles/rs_projection_tool.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

Any Idea? Thanks in advance