Where's the lib folder in opencv-master?

asked 2016-02-29 16:24:43 -0600

I'm following a book written for the older version of OpenCV (OpenCV 2 Computer Vision, by PACT) and it tells me to include the lib folder in my Visual Studio 2013 Property Manager when creating a new property sheet.

I don't see a directory called lib in the current GitHub version (opencv-master). Has this folder been replaced by something else?

edit retag flag offensive close merge delete

Comments

the github repository contains the src tree only, no libs or binaries there. you can:

  • download that, and build the libs locally using cmake, this will create the missing folders on the fly (inside your build folder)
  • try the prebuild binaries from here (but i got no idea, what's actually inside, afaaik, there are only x64 versions vor vs2013, vs2015)
berak gravatar imageberak ( 2016-02-29 16:32:35 -0600 )edit

OK, thanks berak! From what folder (or how) can I cmake the libs locally? I was avoiding the pre-built binary so that I could build it with opencv_contrib.

datascience gravatar imagedatascience ( 2016-02-29 16:45:25 -0600 )edit

"I was avoiding the pre-built binary " -- yes, definitely better to buildyour own.

docs here are unfortunately outdated, for now ignore all prerequisites, and go to Point 7.)

berak gravatar imageberak ( 2016-02-29 16:57:50 -0600 )edit

Perfect! Thanks, that's what I needed

datascience gravatar imagedatascience ( 2016-02-29 16:59:32 -0600 )edit

basically, make a build folder (anywhere you like it) , startcmake there, and point it to the opencv src folder (and the opencv_contrib/modules one)

berak gravatar imageberak ( 2016-02-29 16:59:35 -0600 )edit