Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

sounds like you just copied the library list from release to the debug settings.

just note, that running a release exe with debug dlls will crash the same way as running a debug exe trying to load debug dlls

so, for debug, take a look at the actual lib folder, note they all got a 'd' at the end, adjust your 'Additional Libraries' settings to point to the 'debug' version, and finally, edit that library list, so it's all like

'opencv_core244d.lib'

yes, 'd' at the end, all the way down !

oh, took a 2nd read at your post, maybe another thing you're lacking is another entry in your PATH environment var, pointing to the debug dlls ( for the runtime ) as well

sounds like you just copied the library list from release to the debug settings.

just note, that running a release exe with debug dlls will crash the same way as running a debug exe trying to load debug release dlls

so, for debug, take a look at the actual lib folder, note they all got a 'd' at the end, adjust your 'Additional Libraries' settings to point to the 'debug' version, and finally, edit that library list, so it's all like

'opencv_core244d.lib'

yes, 'd' at the end, all the way down !

oh, took a 2nd read at your post, maybe another thing you're lacking is another entry in your PATH environment var, pointing to the debug dlls ( for the runtime ) as well

sounds like you just copied the library list from release to the debug settings.

just note, that running a release exe with debug dlls will crash the same way as running a debug exe trying to load release dlls

so, for debug, take a look at the actual lib folder, note they all got a 'd' at the end, adjust your 'Additional Libraries' settings to point to the 'debug' version, and finally, edit that library list, so it's all like

'opencv_core244d.lib'

yes, 'd' at the end, all the way down !

oh, took a 2nd read at your post, maybe another thing you're lacking is another entry in your PATH environment var, pointing to the folser with the debug dlls ( for the runtime ) as well

sounds like you just copied the library list from release to the debug settings.

just note, that running a release exe with debug dlls will crash the same way as running a debug exe trying to load release dlls

so, for debug, take a look at the actual lib folder, note they all got a 'd' at the end, adjust your 'Additional Libraries' settings to point to the 'debug' version, and finally, edit that library list, so it's all like

'opencv_core244d.lib'

yes, 'd' at the end, all the way down !

oh, took a 2nd read at your post, maybe another thing you're lacking is another entry in your PATH environment var, pointing to the folser folder with the debug dlls ( for the runtime ) as well