Visual Studio------Start a C + + project process

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.