Recently I decided to make a switch from OpenCV 2.1 to Opencv 2.4. I am having problems in configuring it with opencv. The details are as follows:-
- Installed and extracted opencv in folder( opencv2.4).
- Created a new folder “BIN” inside (opencv2.4). Used CMAKE to extract all data in BIN.
- While using CMAKE I did not select QT, TBB, IPP options.
- I added path to System environment i.e. C:\opencv2.4\build\x64\vc10\bin;
- I used the solution in “BIN” folder and compiled first with Debug and then with Release options.
- Now I started a new VS2010 project.
- In project properties; C++ -> General

- In project properties;Linker-> General I did

- In project properties;Linker-> Input I did

- I finally copied all .dll files in my debug folder.
- When I run program, I am getting following error.

- I dont know what wrong I am doing. Somehow I think I am not linking the library properly. Plz guide me in this regard . . .
There are extensive tutorials coming with the official OpenCV installation. They explain in great detail, with a lot of screenshots, how you configure Visual Studio with OpenCV. You can read the documentation online. I’ll link the two tutorials relevant to this question: