还是opencv安装问题:
1 2 3 4 5 6 |
/home/mcj/bigdisk/opencv-3.4.5/modules/highgui/src/window_gtk.cpp:48:21: fatal error: gtk/gtk.h: 没有那个文件或目录 compilation terminated. modules/highgui/CMakeFiles/opencv_highgui.dir/build.make:110: recipe for target 'modules/highgui/CMakeFiles/opencv_highgui.dir/src/window_gtk.cpp.o' failed make[2]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/src/window_gtk.cpp.o] Error 1 CMakeFiles/Makefile2:8648: recipe for target 'modules/highgui/CMakeFiles/opencv_highgui.dir/all' failed make[1]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/all] Error 2 |
解决方法:
1 |
sudo apt-get install libgtk2.0-dev |
求解求解
能领吗
看看
不评论还看不了。。。。
不错
不错
学习了
测试