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

9 comments:

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

    ReplyDelete
  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.

    ReplyDelete
  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.

    ReplyDelete
  4. First, you ought to open your browser and you ought to write the information science address, 192.168.1.254.
    If this address leads you to a blank screen,https://192168l254.com.mx attempt typing: http://192.168.1.254.
    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.

    ReplyDelete
  5. I'm Cindy I was reading some blogs and finally the solution is here. I've recently installed VS13 and was experiencing this issue for a while.
    I'm offering Construction Estimating Services in affordable budget don't forget to contact me if you need any services.

    ReplyDelete
  6. I found so many exciting matters in this particular content, I would like to request please keep posting such informative content. Check out 7 11 delivery

    ReplyDelete
  7. The knife you choose will also largely determine its usefulness. A best cheap bushcraft knife might seem like a good idea at first for its compact nature, but extended use in the great outdoors might result in it getting jammed and, therefore, broken and potentially made useless. As such, a fixed blade is probably a better option.

    ReplyDelete
  8. Personally, if all web owners and bloggers made good content as you did, the net will be much more useful than ever before. You might also like how to sign a sympathy card for loss of mother

    ReplyDelete