Static Linking still expects dll
Hi.
First of all I am no making/linking expert, never worked on big projects. I want to use OpenCV 245 with Visual C++ 2010 Express on Windows 7 (64 bit) just for reading/writing images (*.tiff, *.jpg, ...) to/from arrays. Manipulation on this arrays will be self-made for educational purposes.
I followed the setup tutorial without setting the environmental variables (I want to write the full path manually).
- "...\opencv\build\include" as additional include folder (otherwise than told in the tutorial where I think there is an error with this path).
- "...\opencv\build\x86\vc10\lib" as additional lib folder
- "opencv_core245d.lib" and "opencv_highgui245d.lib" as additional dependencies
- code contains "#include<opencv\cv.h> #include<opencv\highgui.h> using namespace cv" and in the main function "Mat img; img = imread ("test.tiff", CV_LOAD_IMAGE_COLOR);"
The building process works, but on startup the program expects the opencv_core245d.dll.
Why is this? I also tried the vc10\staticlib folder (with libjpgd.lib, libtiffd.lib, and all others), there were so many linking errors. Whats the difference between the vc10\lib and staticlib files? And whats the difference between the opencv and opencv2 include files?
Thanks for any help!