Closed OrionLightning closed 6 years ago
kagan@kagan-pc:~/Software/voxelsdk/build$ cmake-gui .. libEGL warning: DRI2: failed to authenticate kagan@kagan-pc:~/Software/voxelsdk/build$ make Scanning dependencies of target voxel [ 1%] Building CXX object Voxel/CMakeFiles/voxel.dir/Device.cpp.o [ 2%] Building CXX object Voxel/CMakeFiles/voxel.dir/Common.cpp.o [ 2%] Building CXX object Voxel/CMakeFiles/voxel.dir/DataPacket.cpp.o [ 3%] Building CXX object Voxel/CMakeFiles/voxel.dir/Downloader.cpp.o [ 4%] Building CXX object Voxel/CMakeFiles/voxel.dir/DFT.cpp.o [ 5%] Building CXX object Voxel/CMakeFiles/voxel.dir/Data2DCodec.cpp.o [ 5%] Building CXX object Voxel/CMakeFiles/voxel.dir/Parameter.cpp.o [ 6%] Building CXX object Voxel/CMakeFiles/voxel.dir/RegisterProgrammer.cpp.o [ 7%] Building CXX object Voxel/CMakeFiles/voxel.dir/USBSystem.cpp.o [ 7%] Building CXX object Voxel/CMakeFiles/voxel.dir/UVC.cpp.o [ 8%] Building CXX object Voxel/CMakeFiles/voxel.dir/UVCXU.cpp.o [ 9%] Building CXX object Voxel/CMakeFiles/voxel.dir/Logger.cpp.o [ 9%] Building CXX object Voxel/CMakeFiles/voxel.dir/Timer.cpp.o [ 10%] Building CXX object Voxel/CMakeFiles/voxel.dir/Streamer.cpp.o [ 11%] Building CXX object Voxel/CMakeFiles/voxel.dir/USBIO.cpp.o [ 12%] Building CXX object Voxel/CMakeFiles/voxel.dir/USBBulkStreamer.cpp.o [ 12%] Building CXX object Voxel/CMakeFiles/voxel.dir/UVCStreamer.cpp.o [ 13%] Building CXX object Voxel/CMakeFiles/voxel.dir/HardwareSerializer.cpp.o [ 14%] Building CXX object Voxel/CMakeFiles/voxel.dir/CameraSystem.cpp.o [ 14%] Building CXX object Voxel/CMakeFiles/voxel.dir/DepthCamera.cpp.o [ 15%] Building CXX object Voxel/CMakeFiles/voxel.dir/FrameStream.cpp.o [ 16%] Building CXX object Voxel/CMakeFiles/voxel.dir/FrameGenerator.cpp.o [ 16%] Building CXX object Voxel/CMakeFiles/voxel.dir/DepthCameraLibrary.cpp.o [ 17%] Building CXX object Voxel/CMakeFiles/voxel.dir/TinyXML2.cpp.o [ 18%] Building CXX object Voxel/CMakeFiles/voxel.dir/ParameterDMLParser.cpp.o [ 18%] Building CXX object Voxel/CMakeFiles/voxel.dir/Configuration.cpp.o [ 19%] Building CXX object Voxel/CMakeFiles/voxel.dir/PointCloudFrameGenerator.cpp.o [ 20%] Building CXX object Voxel/CMakeFiles/voxel.dir/PointCloudTransform.cpp.o [ 21%] Building CXX object Voxel/CMakeFiles/voxel.dir/Filter/Filter.cpp.o [ 21%] Building CXX object Voxel/CMakeFiles/voxel.dir/Filter/DarkPixFilter.cpp.o [ 22%] Building CXX object Voxel/CMakeFiles/voxel.dir/Filter/DenoiseFilter.cpp.o [ 23%] Building CXX object Voxel/CMakeFiles/voxel.dir/Filter/FlypixFilter.cpp.o [ 23%] Building CXX object Voxel/CMakeFiles/voxel.dir/Filter/HDRFilter.cpp.o [ 24%] Building CXX object Voxel/CMakeFiles/voxel.dir/Filter/IIRFilter.cpp.o [ 25%] Building CXX object Voxel/CMakeFiles/voxel.dir/Filter/MedianFilter.cpp.o [ 25%] Building CXX object Voxel/CMakeFiles/voxel.dir/Filter/TemporalMedianFilter.cpp.o [ 26%] Building CXX object Voxel/CMakeFiles/voxel.dir/Filter/SmoothFilter.cpp.o [ 27%] Building CXX object Voxel/CMakeFiles/voxel.dir/Filter/BilateralFilter.cpp.o [ 27%] Building CXX object Voxel/CMakeFiles/voxel.dir/Filter/FilterFactory.cpp.o [ 28%] Building CXX object Voxel/CMakeFiles/voxel.dir/Filter/VoxelFilterFactory.cpp.o [ 29%] Building CXX object Voxel/CMakeFiles/voxel.dir/Convolve2D.cpp.o [ 30%] Building CXX object Voxel/CMakeFiles/voxel.dir/USBSystemPrivateLinux.cpp.o [ 30%] Building CXX object Voxel/CMakeFiles/voxel.dir/UVCPrivateLinux.cpp.o [ 31%] Linking CXX shared library ../lib/libvoxel.so [ 31%] Built target voxel [ 32%] Swig source /home/kagan/Software/voxelsdk/Voxel/SWIG/../Frame.h:650: Warning 389: operator[] ignored (consider using %extend) /home/kagan/Software/voxelsdk/Voxel/SWIG/../Frame.h:679: Warning 389: operator[] ignored (consider using %extend) /home/kagan/Software/voxelsdk/Voxel/SWIG/../Filter/FilterSet.h:32: Warning 383: operator++ ignored /home/kagan/Software/voxelsdk/Voxel/SWIG/../Filter/FilterSet.h:33: Warning 383: operator++ ignored /home/kagan/Software/voxelsdk/Voxel/SWIG/../Filter/FilterSet.h:60: Warning 325: Nested class not currently supported (FrameSequence ignored) /home/kagan/Software/voxelsdk/Voxel/SWIG/../Configuration.h:38: Warning 325: Nested struct not currently supported (_Path ignored) /home/kagan/Software/voxelsdk/Voxel/SWIG/../Configuration.h:250: Warning 362: operator= ignored /home/kagan/Software/voxelsdk/Voxel/SWIG/../Logger.h:92: Warning 362: operator= ignored /home/kagan/Software/voxelsdk/Voxel/SWIG/../Downloader.h:56: Warning 302: Identifier 'download' redefined by %extend (ignored), /home/kagan/Software/voxelsdk/Voxel/SWIG/Voxel.i:137: Warning 302: %extend definition of 'download'. /home/kagan/Software/voxelsdk/Voxel/SWIG/../DepthCamera.h:257: Warning 302: Identifier 'saveCameraProfileToHardware' redefined by %extend (ignored), /home/kagan/Software/voxelsdk/Voxel/SWIG/Voxel.i:192: Warning 302: %extend definition of 'saveCameraProfileToHardware'. /home/kagan/Software/voxelsdk/Voxel/SWIG/PyLoggerOutputStream.h:16: Warning 302: Identifier 'from_ptr' redefined (ignored), /home/kagan/Software/voxelsdk/Voxel/SWIG/PyDepthCameraCallback.h:16: Warning 302: previous definition of 'from_ptr'. /home/kagan/Software/voxelsdk/Voxel/SWIG/PyProgressFunction.h:16: Warning 302: Identifier 'from_ptr' redefined (ignored), /home/kagan/Software/voxelsdk/Voxel/SWIG/PyDepthCameraCallback.h:16: Warning 302: previous definition of 'from_ptr'. /home/kagan/Software/voxelsdk/Voxel/SWIG/../Frame.h:37: Warning 503: Can't wrap 'operator String' unless renamed to a valid identifier. /home/kagan/Software/voxelsdk/Voxel/SWIG/Frame.i:52: Warning 462: Unable to set dimensionless array variable Scanning dependencies of target _Voxel [ 33%] Building CXX object Voxel/SWIG/CMakeFiles/_Voxel.dir///lib/python2.7/VoxelPYTHON_wrap.cxx.o [ 33%] Linking CXX shared module ../../lib/python2.7/_Voxel.so [ 33%] Built target _Voxel Scanning dependencies of target voxelpcl [ 34%] Building CXX object VoxelPCL/CMakeFiles/voxelpcl.dir/PCLGrabber.cpp.o make[2]: ** No rule to make target '/usr/lib/arm-linux-gnueabihf/libproj.so', needed by 'lib/libvoxelpcl.so.0.6.11'. Stop. CMakeFiles/Makefile2:197: recipe for target 'VoxelPCL/CMakeFiles/voxelpcl.dir/all' failed make[1]: [VoxelPCL/CMakeFiles/voxelpcl.dir/all] Error 2 Makefile:138: recipe for target 'all' failed make: * [all] Error 2 kagan@kagan-pc:~/Software/voxelsdk/build$
Im trying to build voxel on my Raspberry Pi 3 (Ubuntu Mate 16.04 "xenial") but i'm getting this error. Any fix or other way to use/install Voxel?
Using PCL 1.8 and libproj 4.9.2-2
Solved the problem by updating packages and libraries. There is no more bulding error remain.
kagan@kagan-pc:~/Software/voxelsdk/build$ cmake-gui .. libEGL warning: DRI2: failed to authenticate kagan@kagan-pc:~/Software/voxelsdk/build$ make Scanning dependencies of target voxel [ 1%] Building CXX object Voxel/CMakeFiles/voxel.dir/Device.cpp.o [ 2%] Building CXX object Voxel/CMakeFiles/voxel.dir/Common.cpp.o [ 2%] Building CXX object Voxel/CMakeFiles/voxel.dir/DataPacket.cpp.o [ 3%] Building CXX object Voxel/CMakeFiles/voxel.dir/Downloader.cpp.o [ 4%] Building CXX object Voxel/CMakeFiles/voxel.dir/DFT.cpp.o [ 5%] Building CXX object Voxel/CMakeFiles/voxel.dir/Data2DCodec.cpp.o [ 5%] Building CXX object Voxel/CMakeFiles/voxel.dir/Parameter.cpp.o [ 6%] Building CXX object Voxel/CMakeFiles/voxel.dir/RegisterProgrammer.cpp.o [ 7%] Building CXX object Voxel/CMakeFiles/voxel.dir/USBSystem.cpp.o [ 7%] Building CXX object Voxel/CMakeFiles/voxel.dir/UVC.cpp.o [ 8%] Building CXX object Voxel/CMakeFiles/voxel.dir/UVCXU.cpp.o [ 9%] Building CXX object Voxel/CMakeFiles/voxel.dir/Logger.cpp.o [ 9%] Building CXX object Voxel/CMakeFiles/voxel.dir/Timer.cpp.o [ 10%] Building CXX object Voxel/CMakeFiles/voxel.dir/Streamer.cpp.o [ 11%] Building CXX object Voxel/CMakeFiles/voxel.dir/USBIO.cpp.o [ 12%] Building CXX object Voxel/CMakeFiles/voxel.dir/USBBulkStreamer.cpp.o [ 12%] Building CXX object Voxel/CMakeFiles/voxel.dir/UVCStreamer.cpp.o [ 13%] Building CXX object Voxel/CMakeFiles/voxel.dir/HardwareSerializer.cpp.o [ 14%] Building CXX object Voxel/CMakeFiles/voxel.dir/CameraSystem.cpp.o [ 14%] Building CXX object Voxel/CMakeFiles/voxel.dir/DepthCamera.cpp.o [ 15%] Building CXX object Voxel/CMakeFiles/voxel.dir/FrameStream.cpp.o [ 16%] Building CXX object Voxel/CMakeFiles/voxel.dir/FrameGenerator.cpp.o [ 16%] Building CXX object Voxel/CMakeFiles/voxel.dir/DepthCameraLibrary.cpp.o [ 17%] Building CXX object Voxel/CMakeFiles/voxel.dir/TinyXML2.cpp.o [ 18%] Building CXX object Voxel/CMakeFiles/voxel.dir/ParameterDMLParser.cpp.o [ 18%] Building CXX object Voxel/CMakeFiles/voxel.dir/Configuration.cpp.o [ 19%] Building CXX object Voxel/CMakeFiles/voxel.dir/PointCloudFrameGenerator.cpp.o [ 20%] Building CXX object Voxel/CMakeFiles/voxel.dir/PointCloudTransform.cpp.o [ 21%] Building CXX object Voxel/CMakeFiles/voxel.dir/Filter/Filter.cpp.o [ 21%] Building CXX object Voxel/CMakeFiles/voxel.dir/Filter/DarkPixFilter.cpp.o [ 22%] Building CXX object Voxel/CMakeFiles/voxel.dir/Filter/DenoiseFilter.cpp.o [ 23%] Building CXX object Voxel/CMakeFiles/voxel.dir/Filter/FlypixFilter.cpp.o [ 23%] Building CXX object Voxel/CMakeFiles/voxel.dir/Filter/HDRFilter.cpp.o [ 24%] Building CXX object Voxel/CMakeFiles/voxel.dir/Filter/IIRFilter.cpp.o [ 25%] Building CXX object Voxel/CMakeFiles/voxel.dir/Filter/MedianFilter.cpp.o [ 25%] Building CXX object Voxel/CMakeFiles/voxel.dir/Filter/TemporalMedianFilter.cpp.o [ 26%] Building CXX object Voxel/CMakeFiles/voxel.dir/Filter/SmoothFilter.cpp.o [ 27%] Building CXX object Voxel/CMakeFiles/voxel.dir/Filter/BilateralFilter.cpp.o [ 27%] Building CXX object Voxel/CMakeFiles/voxel.dir/Filter/FilterFactory.cpp.o [ 28%] Building CXX object Voxel/CMakeFiles/voxel.dir/Filter/VoxelFilterFactory.cpp.o [ 29%] Building CXX object Voxel/CMakeFiles/voxel.dir/Convolve2D.cpp.o [ 30%] Building CXX object Voxel/CMakeFiles/voxel.dir/USBSystemPrivateLinux.cpp.o [ 30%] Building CXX object Voxel/CMakeFiles/voxel.dir/UVCPrivateLinux.cpp.o [ 31%] Linking CXX shared library ../lib/libvoxel.so [ 31%] Built target voxel [ 32%] Swig source /home/kagan/Software/voxelsdk/Voxel/SWIG/../Frame.h:650: Warning 389: operator[] ignored (consider using %extend) /home/kagan/Software/voxelsdk/Voxel/SWIG/../Frame.h:679: Warning 389: operator[] ignored (consider using %extend) /home/kagan/Software/voxelsdk/Voxel/SWIG/../Filter/FilterSet.h:32: Warning 383: operator++ ignored /home/kagan/Software/voxelsdk/Voxel/SWIG/../Filter/FilterSet.h:33: Warning 383: operator++ ignored /home/kagan/Software/voxelsdk/Voxel/SWIG/../Filter/FilterSet.h:60: Warning 325: Nested class not currently supported (FrameSequence ignored) /home/kagan/Software/voxelsdk/Voxel/SWIG/../Configuration.h:38: Warning 325: Nested struct not currently supported (_Path ignored) /home/kagan/Software/voxelsdk/Voxel/SWIG/../Configuration.h:250: Warning 362: operator= ignored /home/kagan/Software/voxelsdk/Voxel/SWIG/../Logger.h:92: Warning 362: operator= ignored /home/kagan/Software/voxelsdk/Voxel/SWIG/../Downloader.h:56: Warning 302: Identifier 'download' redefined by %extend (ignored), /home/kagan/Software/voxelsdk/Voxel/SWIG/Voxel.i:137: Warning 302: %extend definition of 'download'. /home/kagan/Software/voxelsdk/Voxel/SWIG/../DepthCamera.h:257: Warning 302: Identifier 'saveCameraProfileToHardware' redefined by %extend (ignored), /home/kagan/Software/voxelsdk/Voxel/SWIG/Voxel.i:192: Warning 302: %extend definition of 'saveCameraProfileToHardware'. /home/kagan/Software/voxelsdk/Voxel/SWIG/PyLoggerOutputStream.h:16: Warning 302: Identifier 'from_ptr' redefined (ignored), /home/kagan/Software/voxelsdk/Voxel/SWIG/PyDepthCameraCallback.h:16: Warning 302: previous definition of 'from_ptr'. /home/kagan/Software/voxelsdk/Voxel/SWIG/PyProgressFunction.h:16: Warning 302: Identifier 'from_ptr' redefined (ignored), /home/kagan/Software/voxelsdk/Voxel/SWIG/PyDepthCameraCallback.h:16: Warning 302: previous definition of 'from_ptr'. /home/kagan/Software/voxelsdk/Voxel/SWIG/../Frame.h:37: Warning 503: Can't wrap 'operator String' unless renamed to a valid identifier. /home/kagan/Software/voxelsdk/Voxel/SWIG/Frame.i:52: Warning 462: Unable to set dimensionless array variable Scanning dependencies of target _Voxel [ 33%] Building CXX object Voxel/SWIG/CMakeFiles/_Voxel.dir///lib/python2.7/VoxelPYTHON_wrap.cxx.o [ 33%] Linking CXX shared module ../../lib/python2.7/_Voxel.so [ 33%] Built target _Voxel Scanning dependencies of target voxelpcl [ 34%] Building CXX object VoxelPCL/CMakeFiles/voxelpcl.dir/PCLGrabber.cpp.o make[2]: ** No rule to make target '/usr/lib/arm-linux-gnueabihf/libproj.so', needed by 'lib/libvoxelpcl.so.0.6.11'. Stop. CMakeFiles/Makefile2:197: recipe for target 'VoxelPCL/CMakeFiles/voxelpcl.dir/all' failed make[1]: [VoxelPCL/CMakeFiles/voxelpcl.dir/all] Error 2 Makefile:138: recipe for target 'all' failed make: * [all] Error 2 kagan@kagan-pc:~/Software/voxelsdk/build$
Im trying to build voxel on my Raspberry Pi 3 (Ubuntu Mate 16.04 "xenial") but i'm getting this error. Any fix or other way to use/install Voxel?
Using PCL 1.8 and libproj 4.9.2-2