I spent one entire day trying to set up Cv in codeblocks. I put C:\opencv\build\include in the search directories compiler option, I put C:\opencv\build\x64\vc16\lib in the linker inside search directories, and in linker settings, in link libraries I put C:\opencv\build\x64\vc16\lib\opencv_world481d.lib and still doesn’t work; Im trying to use #include <opencv2/opencv.hpp> and it says in multiple lines “undefined reference to `cv::”
that’s beyond the scope of this forum.
please ask in a forum for “codeblocks”.
OpenCV is just a regular C++ library.
sorry, this cannot work. you’re using some mingw
(which, exactly ?)
so you cant use the prebuilt, VS-ONLY! libs, but have to build opencv libs from src, before you can link your own prog.
please use the search box above, we’ve got a couple of those here.