我想编译this代码
我通过sudo apt-get install freeglut3 freeglut3-dev
要安装OpenCV,我从this page运行脚本,转到build
的{{1}}子文件夹并运行OpenCV
我收到了错误
make install
我从contrib repo:{/ p>跟随instructions
1)我将回购克隆克隆到gcc -Wall -O3 -o cvglsl *.c -lglut -lGLU -lopencv_core -lopencv_contrib -lopencv_flann -lopencv_features2d -lopencv_highgui -lopencv_imgproc -lopencv_gpu
/usr/bin/ld: cannot find -lopencv_contrib
/usr/bin/ld: cannot find -lopencv_gpu
文件夹。
2)在build
内,我运行build
3)内部构建我再次使用cmake -DOPENCV_EXTRA_MODULES_PATH=./opencv_contrib/modules ..
错误仍然存在。如何正确安装make install
?