1 | initial version |
dear jedi,
apart from "it's not work" not being a valid problem description, let's try to shade some light here:
the debug and the release settings only differ in the 'Linker Settings'.
IF you build your own libs from source here(ignore this paragraph, if you're using the prebuilt ones!!!) the needed lib files are in opencv\lib\debug for debug, and opencv\lib\release for release, so adjust the Linker->general->'Additional Libraries' path to point to the right thing. also, your PATH environment variable should have an entry pointing at bin\debug, AND bin\release, like: PATH=(...lots of other stuff);c:\opencv\bin\debug;c:\opencv\bin\release; so that your exe is able to find the dlls at runtime
the libraries for debug mode all have a 'd' at the end, the release ones don't. (opencv_core243d.lib vs opencv_core243.lib) so if you copied your library list from the debug settings to the release one, make shure to remove the 'd' in all of them.
last but not least, you never gave an error message. that would be real helpful for people trying to help you !