Someone can help me, I installed the opencv library, and I set it up in codeblocks, but even so, when I'm going to compile the project, dis
You did not say how you set up your library in Code :: Blocks. But if you used Project Build Options then you need to do the Release configuration and the Debug configuration. If done only one setting will not work in the other.
You are also using a very old version of Code :: Blocks. The latest version is 17.12
As I know, libraries of this type need to be installed directly in the machine, when I worked with openCV I had to install it in the core of the machine and then I made the library instance, maybe some file is missing for you.