因为一些原因需要用到C++来写OpenCV,经过几次尝试后,发现无法单纯的把OpenCV内需要的文件放在同一目录然后include进来,就可以直接编译运行,网上很多的教程都是在VS的条件下配置一堆东西,然后再使用,因为VS体积加上不常用的关系,不想安装VS,(平常C++程序都是用C-free编译)请问一下如何在没有VS的情况下编译运行用到OpenCV的程序?
include
VS
谢谢。
认证高级PHP讲师
I have always used qt+opencv, just check how to write the qmake command. If you don't use qt or vs, you can use cmake directly. The tutorial on the official website explains how to use cmake.
stackoverflow
Also, don’t use this antique c-free...
Recommend codeblocks, cross-platform, easy to apply
qt is very good. . . .
Qt can also be used, just add a few lines of code to the Qt configuration file.
Just write the makefile or cmake directly to reference it. Anyway, they are all references to external libraries, there is no difference
I have always used qt+opencv, just check how to write the qmake command. If you don't use qt or vs, you can use cmake directly. The tutorial on the official website explains how to use cmake.
stackoverflow
Also, don’t use this antique c-free...
Recommend codeblocks, cross-platform, easy to apply
qt is very good. . . .
Qt can also be used, just add a few lines of code to the Qt configuration file.
Just write the makefile or cmake directly to reference it. Anyway, they are all references to external libraries, there is no difference