gaoxiang12 / ORBSLAM2_with_pointcloud_map

830 stars 346 forks source link

cannot find -lopencv_core3 #48

Open BingyangZHOU opened 1 year ago

BingyangZHOU commented 1 year ago

when I run ./build_ros.h,I get errors as follows: /usr/bin/ld: 找不到 -lopencv_core3 /usr/bin/ld: 找不到 -lopencv_imgproc3 /usr/bin/ld: 找不到 -lopencv_highgui3 /usr/bin/ld: 找不到 -lopencv_core3 /usr/bin/ld: 找不到 -lopencv_imgproc3 /usr/bin/ld: 找不到 -lopencv_highgui3 collect2: error: ld returned 1 exit status CMakeFiles/RGBD.dir/build.make:462: recipe for target '../RGBD' failed make[2]: [../RGBD] Error 1 CMakeFiles/Makefile2:156: recipe for target 'CMakeFiles/RGBD.dir/all' failed make[1]: [CMakeFiles/RGBD.dir/all] Error 2 make[1]: 正在等待未完成的任务.... /usr/bin/ld: 找不到 -lopencv_core3 /usr/bin/ld: 找不到 -lopencv_imgproc3 /usr/bin/ld: 找不到 -lopencv_highgui3 /usr/bin/ld: 找不到 -lopencv_core3 /usr/bin/ld: 找不到 -lopencv_imgproc3 /usr/bin/ld: 找不到 -lopencv_highgui3 collect2: error: ld returned 1 exit status CMakeFiles/Stereo.dir/build.make:462: recipe for target '../Stereo' failed make[2]: [../Stereo] Error 1 CMakeFiles/Makefile2:182: recipe for target 'CMakeFiles/Stereo.dir/all' failed make[1]: [CMakeFiles/Stereo.dir/all] Error 2 /usr/bin/ld: 找不到 -lopencv_core3 /usr/bin/ld: 找不到 -lopencv_imgproc3 /usr/bin/ld: 找不到 -lopencv_highgui3 /usr/bin/ld: 找不到 -lopencv_core3 /usr/bin/ld: 找不到 -lopencv_imgproc3 /usr/bin/ld: 找不到 -lopencv_highgui3 collect2: error: ld returned 1 exit status CMakeFiles/MonoAR.dir/build.make:534: recipe for target '../MonoAR' failed make[2]: [../MonoAR] Error 1 CMakeFiles/Makefile2:468: recipe for target 'CMakeFiles/MonoAR.dir/all' failed make[1]: [CMakeFiles/MonoAR.dir/all] Error 2 /usr/bin/ld: 找不到 -lopencv_core3 /usr/bin/ld: 找不到 -lopencv_imgproc3 /usr/bin/ld: 找不到 -lopencv_highgui3 /usr/bin/ld: 找不到 -lopencv_core3 /usr/bin/ld: 找不到 -lopencv_imgproc3 /usr/bin/ld: 找不到 -lopencv_highgui3 collect2: error: ld returned 1 exit status CMakeFiles/Mono.dir/build.make:462: recipe for target '../Mono' failed make[2]: [../Mono] Error 1 CMakeFiles/Makefile2:416: recipe for target 'CMakeFiles/Mono.dir/all' failed make[1]: [CMakeFiles/Mono.dir/all] Error 2 Makefile:135: recipe for target 'all' failed make: [all] Error 2