Ask Your Question
0

instaling opencv 2.4.6 in win8 visual studio2012

asked Sep 13 '13

pliz explain how to use opencv 2.4.6 in windows 8 by visual studio 2012 tnx

Preview: (hide)

2 answers

Sort by » oldest newest most voted
1

answered Sep 14 '13

justsml gravatar image

As of 03/07/2013:

  1. Grab this file http://sourceforge.net/projects/opencvlibrary/files/opencv-win/2.4.6/OpenCV-2.4.6.0.exe/download
  2. Set Environment Variables, on my PC my path to openCV is D:\Code\opencv

So, let's run something like this:

setx -m OPENCV_DIR D:\Code\opencv

Most importantly just briefly check http://docs.opencv.org/doc/tutorials/introduction/windows_install/windows_install.html

It may say stuff is out of date, just ignore the videos and scan the bullet points.

Preview: (hide)
0

answered Sep 14 '13

Gino Strato gravatar image

updated Sep 14 '13

This tutorial I've recently found seems to be a little easier than the other ones you can find on the web. It is written for VS express, but I think it is good anyway. Try it out.

Preview: (hide)

Comments

Sorry, that's a VERY bad tutorial! You should never do that manually as specified in the tutorial. There is CMAKE. Follow installation instructions with cmake!

Elador gravatar imageElador (Sep 15 '13)edit

OK. Show me where it is a bad tutorial. I did it and it worked fine.
Please, read the question carefully before downvoting other's answers and be sure you know the subject. He asked how to install OpenCv, not to build libraries from the source code by himself before usining them.

Gino Strato gravatar imageGino Strato (Sep 15 '13)edit
1

@Elador, are sure you know what you are talking about? Using CMAKE is unnecessary and the worst advice you could give to make things easy.

Manlius gravatar imageManlius (Sep 15 '13)edit

Sorry, there's a misunderstanding here. The linked tutorial says "how to easily install OpenCv". But it does not install it, it shows how to make a _own_ project _using_ OpenCv, which is something different. For using OpenCv, of course CMake is not required (yet in my opinion still the easier solution than to add include paths and dozens of .lib's in every project manually). But judging from the initial post ("instaling", "pliz explain [...] tnx"), for that particular user, the linked tutorial indeed seems best. Sadly I cannot remove my down-vote, sorry for that.

Elador gravatar imageElador (Sep 15 '13)edit

I think that the word "install" is the one everybody uses in these cases, even in the OpenCv website.

Gino Strato gravatar imageGino Strato (Sep 16 '13)edit

I was able to remove my down-vote today. Didn't work 2 weeks ago.

Elador gravatar imageElador (Oct 3 '13)edit

Question Tools

Stats

Asked: Sep 13 '13

Seen: 565 times

Last updated: Sep 14 '13