I don't want my program to be dependent on any OpenCV dlls. I want it to pull whatever it determines it needs from the lib or source files.
I have followed the tutorial (http://docs.opencv.org/doc/tutorials/introduction/windows_visual_studio_Opencv/windows_visual_studio_Opencv.html#windows-visual-studio-how-to) and double checked everything.
I have: MyProgram > Properties > C/C++ > General: Additional Include Directories set to: C:\OpenCV\build\include
MyProgram > Properties > Linker > General: Additional Library Directories set to: C:\OpenCV\build\x86\vc12\lib
MyProgram > Properties > Linker > Input: Additional Dependencies set to: opencv_core249d.lib opencv_imgproc249d.lib opencv_highgui249d.lib opencv_ml249d.lib opencv_video249d.lib opencv_features2d249d.lib opencv_calib3d249d.lib opencv_objdetect249d.lib opencv_contrib249d.lib opencv_legacy249d.lib opencv_flann249d.lib
I'm using visual studio 2013 on windows 8. What am I doing wrong here?