Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

first of all congratulations for getting stuff to compile & link!

what you're now facing is a runtime error, somehow your program tries to load the wrong dlls.

there's different flavours of them in the build folder, if you're compiling for 64bit, it needs to load the 64bit dlls, resp. for 32 bits.

you had to append to the PATH variable for opencv, right ? does it point to the right folder ? check again.

also, don't link release code to debug dlls, or the other way round. if you find a lib ending with d in your release linker settings, that'll end up like your current problem

first of all congratulations for getting stuff to compile & link!

what you're now facing is a runtime error, somehow your program tries to load the wrong dlls.

there's different flavours of them in the build folder, if you're compiling for 64bit, it needs to load the 64bit dlls, resp. for 32 bits.

you had to append to the PATH variable for opencv, right ? does it point to the right folder ? check again.

also, don't link release code to debug dlls, or the other way round. if you find a lib ending with d in your release linker settings, that'll end up like your current problemtrouble. if you find one missing the d in debug mode, same.