HackToHell. Powered by Blogger.

Setting up OpenCV 3.0.0 with Visual Studio 2013

This tutorial assumes that you have downloaded both Visual Studio 2013 and OpenCV 3.0.0 and have them both installed.

First create a normal console application with Additional Types as Empty project.
Then right click the project name, and select properties or use the shortcut Alt + Enter. There in the general C/C++ options, add the location of the header folder of the OpenCV library to the field.

Now we have to add the location of the libraries to the project, to do so, Go to Linker->General tab and enter the path to the lib folder. Be careful with the architecture, if it's 32 bit then it's x86\vc12\lib if it's 64 bit it's x64\vc12\lib.
After doing this, we need to specify the files to the Linker, go to the Linker->Input tab and in the pulldown menu of additional dependencies, hit edit and add the following lines.
Now we are nearly done, if you run/debug the application, you will get an error saying that opencv_world300.dll is missing, add it to your %PATH% environmental variable or simply copy and paste it into the same directory as Project(The directory containing .vcxproj file) from the /vc12/bin folder.. Now you should be able to use OpenCV from Visual Studio 2013. If you run into any problem, feel free to comment below.
Share on Google Plus

About hacktohell

Love technology.
    Blogger Comment
    Facebook Comment


  1. i did not get the last copy and paste part. Can you please explain

  2. Hi! My name is Lucy. i read your article that is great.
    Our platform Jobkari.com is working very hard to provide you the latest results, information regarding the latest Sarkari jobs, exams admit card, and their syllabus. Our company is working 24x7 hours to provide you valuable content within time, and we try our best to provide you the latest notice at first on the internet. So, keep in touch with our program to get the latest results and other latest information regarding government jobs and government exams.

  3. This is very useful software for us and through this, we can complete our tasks and enjoy a lot. Many users have used it, and they all are satisfied with its features and quality. Dissertation writing services.

  4. First, you ought to open your browser and you ought to write the information science address,
    If this address leads you to a blank screen,https://192168l254.com.mx attempt typing:
    If you've got this kind of router, we tend to advocate that you simply talk over with the user manual for
    In step 2, the default user name and positive identification for your router’s interface ar typically ‘user name’ and ‘password’. These addresses ar wont to offer first-time access to the interface during a untroubled and untroubled manner. However, some router makers, like D-Link, don't merely give you this address.