First time here? Check out the FAQ!

Ask Your Question
0

opencv 2.4.3 - missing include files

asked Jan 24 '13

paul23 gravatar image

Hello,

I tried to download the opencv package (self extracting 7z archive) from sourceforg (2.4.3). Trying to follow the tutorials. I could find out the library directory etc..

However I am stuck now with the include files: the /include/opencv2 folder is empty (apart from 1 file). Where are the included files & what is the directory I need to add to visual studio?

Preview: (hide)

2 answers

Sort by » oldest newest most voted
1

answered Jan 24 '13

Use build/include folder for includes and build/ or build/lib for libraries.

Preview: (hide)

Comments

THIS simple line should be somewhere prominent. (BTW there is no build/lib - as there are library folders for each architecture.

paul23 gravatar imagepaul23 (Jan 24 '13)edit
1

answered Jan 24 '13

Haris gravatar image

In windows you can see include directory at

 ..\OpenCv_Extracted_Directory\build\include\

And the libraries are at the location for x86 architecture

 ..\OpenCv_Extracted_Directory\build\x86\mingw\lib

And for x_64 architecture

   ..\OpenCv_Extracted_Directory\build\x64\mingw\lib
Preview: (hide)

Comments

what if your build folder is completely missing? I downloaded a version of openCV 2.4.1 and 3.1.0 and no build folder existed in either!

patrickhuie19 gravatar imagepatrickhuie19 (Jan 6 '16)edit

Question Tools

Stats

Asked: Jan 24 '13

Seen: 1,571 times

Last updated: Jan 24 '13