It has now been one week. I have been trying to make 1 project work. I am very very disappointed.
You guys don't provide any set of instructions on how to install latest opencv with latest VS and making the project work. I have followed almost all tutorials available on internet and you tube but to no avail.
I have installed opencv using CMAKE successfully.
I have successfully installed VS Community 2015
I have built project opencv.sln using both debug and release, and finally building for CMakeTargets INSTALL
I have added binaries and library paths to system PATH
I created an empty console Win32 application project (added .cpp file as source)
I have in C/C++ -> General -> Additional Include Directories: D:\opencv\mybuild\install\include (both release & debug)
I have in Linker -> General -> Additional Library Directories: D:\opencv\mybuild\install\x64\vc14\lib (both release & debug)
I have in Linker -> Input -> Additional Dependencies : opencv_world310d (for debug)
I have in Linker -> Input -> Additional Dependencies : opencv_world310 (for release)
STILL I GET THIS ERROR:
LINK : fatal error LNK1104: cannot open file 'opencv_world310d.obj'
I am using 64-bit Windows 7 Enterprise
Please help me, I shall be very grateful to you