opencv问题 大神求助
opencv吧
全部回复
仅看楼主
level 3
在手己1d 楼主
Linking CXX executable ../../bin/opencv_test_highgui
/usr/bin/ld: ../../lib/libopencv_highgui.a(cap_libv4l.cpp.o): undefined reference to symbol 'v4l2_munmap'
/usr/lib/i386-linux-gnu/libv4l2.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
modules/highgui/CMakeFiles/opencv_test_highgui.dir/build.make:346: recipe for target 'bin/opencv_test_highgui' failed
make[2]: *** [bin/opencv_test_highgui] Error 1
CMakeFiles/Makefile2:1876: recipe for target 'modules/highgui/CMakeFiles/opencv_test_highgui.dir/all' failed
make[1]: *** [modules/highgui/CMakeFiles/opencv_test_highgui.dir/all] Error 2
Makefile:136: recipe for target 'all' failed
make: *** [all] Error 2
大神这错误该怎么解决?
2016年01月26日 14点01分 1
level 1
内存不足
2017年04月16日 13点04分 2
level 1
你好,我现在也遇到了这个问题,想向您请教这个问题的解决办法,谢谢!
2017年10月06日 02点10分 3
level 1
可以试试在Cmake编译的时候不要勾选BUILD_OPENEXR和
2018年02月27日 11点02分 4
level 1
可以试试在Cmake编译的时候不要勾选BUILD_OPENEXR和WITH_OPENEXR
2018年02月27日 11点02分 5
不行啊
2018年10月10日 07点10分
level 1
怎么解决的?我也是这个问题
2022年01月14日 06点01分 6
1