hello, i m using open cv 2.4.13 and codeblocks-16.01mingw-setup, i cant compile the simple program, please help me , tanks [closed]
hello, i m using open cv 2.4.13 and codeblocks-16.01mingw-setup, i cant compile the simple program, please help me , tanks
for various reasons, please remove the useless screenshot, and give us a text version of
using mingw is always a bit unfortunate. did you build the opencv libs for mingw before ? (you cannot use the prebuild VS libs)
i get error : undefined reference to `cv::imread(std::string const&, int)'
yes, let's find out why.
(and again, please remove the screenshot.)
well i did it. please, edit again, and give us any details you have.
did you build the opencv libs before or not ?
ok, i have a simple code, load an image (using imread), but i get error : undefined reference to `cv::imread(std::string const&, int)'
please answer my question
no, i did not build the opencv libs before
how to build the opencv libs?
so, you cannot use the prebuild libs, they're for another toolchain (VS).
if you're a n00b, your best option is to discard the whole codeblocks/mingw idea entirely, and get VS community edition instead (huge download, though)
if you insist tio use mingw, you'll have to: