Ask Your Question

Revision history [back]

I had 285 Errors in the link, but after switching the "Runtime library" option from "Multi-threaded Debug DLL (/MDd)" to "Multi-threaded Debug (/MTd)", then I had only 133 Errors.

Then, after adding 6 more libraries from the same staticlib directory...

ilmimfd.lib libjasperd.lib libjpegd.lib libpngd.lib libtiffd.lib zlibd.lib

...and 2 more libraries that come from windows...

comctl32.lib vfw32.lib

...it now compiles, but there are a boatload of warnings of the type:

1>opencv_core246d.lib(alloc.obj) : warning LNK4099: PDB 'opencv_core246d.pdb' was not found with 'opencv_core246d.lib(alloc.obj)' or at 'c:\users\trevor\documents\visual studio 2012\Projects\vipsSample\Debug\opencv_core246d.pdb'; linking object as if no debug info 1>opencv_core246d.lib(arithm.obj) : warning LNK4099: PDB 'opencv_core246d.pdb' was not found with 'opencv_core246d.lib(arithm.obj)' or at 'c:\users\trevor\documents\visual studio 2012\Projects\vipsSample\Debug\opencv_core246d.pdb'; linking object as if no debug info 1>opencv_core246d.lib(array.obj) : warning LNK4099: PDB 'opencv_core246d.pdb' was not found with 'opencv_core246d.lib(array.obj)' or at 'c:\users\trevor\documents\visual studio 2012\Projects\vipsSample\Debug\opencv_core246d.pdb'; linking object as if no debug info

The sample program does run now though.

I had 285 Errors in the link, but after switching the "Runtime library" option from "Multi-threaded Debug DLL (/MDd)" to "Multi-threaded Debug (/MTd)", then I had only 133 Errors.

Then, after adding 6 more libraries from the same staticlib directory...

ilmimfd.lib libjasperd.lib libjpegd.lib libpngd.lib libtiffd.lib zlibd.lib

...and 2 more libraries that come from windows...

comctl32.lib vfw32.lib

...it now compiles, but there are a boatload of warnings of the type:

1>opencv_core246d.lib(alloc.obj) : warning LNK4099: PDB 'opencv_core246d.pdb' was not found with 'opencv_core246d.lib(alloc.obj)' or at 'c:\users\trevor\documents\visual studio 2012\Projects\vipsSample\Debug\opencv_core246d.pdb'; linking object as if no debug info info

1>opencv_core246d.lib(arithm.obj) : warning LNK4099: PDB 'opencv_core246d.pdb' was not found with 'opencv_core246d.lib(arithm.obj)' or at 'c:\users\trevor\documents\visual studio 2012\Projects\vipsSample\Debug\opencv_core246d.pdb'; linking object as if no debug info info

1>opencv_core246d.lib(array.obj) : warning LNK4099: PDB 'opencv_core246d.pdb' was not found with 'opencv_core246d.lib(array.obj)' or at 'c:\users\trevor\documents\visual studio 2012\Projects\vipsSample\Debug\opencv_core246d.pdb'; linking object as if no debug info

The sample program does run now though.