Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

After some searching I found the answer:

Back to my points:

  1. is OK
  2. you have to take "...\opencv\build\x86\vc10*static*lib" as additional lib folder. The files there are much more greater than in the lib folder -> because of static linking!
  3. as said + IlmImfd.lib, libjasperd.lib, libjpegd.lib, libpngd.lib, libtiffd.lib, zlibd.lib (all in staticlib folder)
  4. is OK 5. under project properties -> configuration properties -> c/c++ -> code generation -> runtime library -> multithreaded debug (NOT dll, this was my main missing point!!!)

You will get many build warnings, but all seems to work fine. The final .exe is much more greater than with dynamic linking. No need for CMake or environment path settings, works all fine with this points! Enjoy...

After some searching I found the answer:

Back to my points:

  1. is OK
  2. you have to take "...\opencv\build\x86\vc10*"...\opencv\build\x86\vc10\static*lib" lib" as additional lib folder. The files there are much more greater than in the lib folder -> because of static linking!
  3. as said + IlmImfd.lib, libjasperd.lib, libjpegd.lib, libpngd.lib, libtiffd.lib, zlibd.lib (all in staticlib folder)
  4. is OK 5. under project properties -> configuration properties -> c/c++ -> code generation -> runtime library -> multithreaded debug (NOT dll, this was my main missing point!!!)

You will get many build warnings, but all seems to work fine. The final .exe is much more greater than with dynamic linking. No need for CMake or environment path settings, works all fine with this points! Enjoy...

After some searching I found the answer:

Back to my points:

  1. is OK
  2. you have to take "...\opencv\build\x86\vc10\staticlib" as additional lib folder. The files there are much more greater than in the lib folder -> because of static linking!
  3. as said + IlmImfd.lib, libjasperd.lib, libjpegd.lib, libpngd.lib, libtiffd.lib, zlibd.lib (all in staticlib folder)
  4. is OK OK

5. under project properties -> configuration properties -> c/c++ -> code generation -> runtime library -> multithreaded debug (NOT dll, this was my main missing point!!!)

You will get many build warnings, but all seems to work fine. The final .exe is much more greater than with dynamic linking. No need for CMake or environment path settings, works all fine with this points! Enjoy...

After some searching I found the answer:

Back to my points:

  1. is OK
  2. you have to take "...\opencv\build\x86\vc10\staticlib" "...\opencv\build\x86\vc10\STATIClib" as additional lib folder. The files there are much more greater than in the lib folder -> because of static linking!
  3. as said + + IlmImfd.lib, libjasperd.lib, libjpegd.lib, libpngd.lib, libtiffd.lib, zlibd.lib (all in staticlib folder)
  4. is OK

5.

  • (!!!) under project properties -> configuration properties -> c/c++ -> code generation -> runtime library -> multithreaded debug (NOT (NOT dll, this was my main missing point!!!)

  • You will get many build warnings, but all seems to work fine. The final .exe is much more greater than with dynamic linking. No need for CMake or environment path settings, works all fine with this points! Enjoy...