-
Notifications
You must be signed in to change notification settings - Fork 17
Description
The configuration of my machine is ubuntu16.04, cuda8.0. I installed pcl-1.8 successfully with the deb file provided by this website: https://larrylisky.com/2016/11/03/point-cloud-library-on-ubuntu-16-04-lts/.
As to opencv, I am using the 3.2 version. I have replaced the opencv_cntrib library with features2d and objdetect, and imgproc sicne these are the headers files included in contrib.hpp. Meanwhile, target_link_libraries(... opencv_contrib ...) in the cudaPcl CMakeLists are also replaced with the corresponding libraries. Now, I still cannot make cudaPcl successfully. Detailedly, the following errors are reported:
-- cudaPcl
[ 25%] Built target cudaPcl
[ 32%] Built target testSurfelRender
[ 42%] Built target renderPcFromPc
[ 46%] Linking CXX executable bin/openniPyramid
/usr/bin/ld: CMakeFiles/openniPyramid.dir/src/openniPyramid.o: undefined reference to symbol '_ZN2cv7imwriteERKNS_6StringERKNS_11_InputArrayERKSt6vectorIiSaIiEE'
/media/hlei/research/opencv/release/lib/libopencv_imgcodecs.so.3.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
CMakeFiles/openniPyramid.dir/build.make:105: recipe for target 'bin/openniPyramid' failed
make[4]: *** [bin/openniPyramid] Error 1
CMakeFiles/Makefile2:141: recipe for target 'CMakeFiles/openniPyramid.dir/all' failed
make[3]: *** [CMakeFiles/openniPyramid.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make[2]: *** [all] Error 2
Makefile:31: recipe for target 'all' failed
make[1]: *** [all] Error 2
Makefile:30: recipe for target 'main' failed
make: *** [main] Error 2
I installed openni on my machine with sudo apt-get install libopenni-dev. In addition, my machine has openni2 as well. Do you have any suggestions?