My openCV is missing debug libraries (libraries that end with "d") and so I can not read an image using imread().
How can I generate this libraries to my build directory using cmake-gui?
I am quite new to programming so I need a step-by-step guide.
I am using Code::blocks 16.1 and my os is windows 8.1
I think for C::B CMake actually will generate different build settings within the output project. So you may want to try to open the C::B project and see if you can build debug vs. release from within it.
> so I can not use some functions of openCV (such as imread()).
¿what do you mean? ¿it doesn't build? you say some functions, ¿are there functions that don't give you issues?
I think that you should be able to use them, just that when debuggin you wouldn't be able to step into those functions.
sorry if my question was not clear. I edited it.
imread() returns only zeros. I searched and found out it has something to do with debug libraries (the libraries that end with "d") which are missing from my lib directory.