I downloaded a Visual Studio 2015 installed for a long time, and, after a long period of exploration, will initially build a project, write a process, easy to forget later, you can have a search basis.
First, the first step is to open the software
Then, click on the top left of the series of options: File-New project----Get the following interface
Click: "Win32 Console Application" to create one by one new projects, you can change the name, click "OK"
The following interface appears:
Then click on: "Next", appears as follows:
At "Empty Project", tick, select, then click Finish.
In this way, a preliminary project is created!
Next, in view, other Windows, click Property Manager, to do
Then, the interface is as follows, on the creation of new bullets, right click on the mouse, the menu appears, click on the bottom of the "Properties":
will appear the following interface, then, "Platform" option x64 (My Computer is 64-bit), in the "VC + + target", select "Include directory" "Library directory" two need to change, the path specific how to change, according to your OPENCV location, my is this position, each is not the same, my is such a path:
Include directory:
H:\jiqishijue\opencv\build\include
H:\jiqishijue\opencv\build\include\opencv
H:\jiqishijue\opencv\build\include\opencv2
These three articles are put directly inside.
Library Directory:
H:\jiqishijue\opencv\build\x64\vc14\lib
This change is for this article.
Finally, select "Input" under "linker" and choose "Additional dependencies" to make changes
is: Opencv_world330d.lib
When you click OK, the interface disappears and reopen Solution Explorer (selected in view)
After selecting "Source Files" right click, click "New Item" in the menu
After clicking, the following screen appears:
Select "C + + file" name, take it yourself, click "Add", complete!
Visual Studio------Start a C + + project process