Ask Your Question
0

opencv 2.4.3 - missing include files

asked 2013-01-24 03:43:44 -0600

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?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2013-01-24 04:07:01 -0600

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

edit flag offensive delete link more

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 ( 2013-01-24 06:21:52 -0600 )edit
1

answered 2013-01-24 04:19:28 -0600

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
edit flag offensive delete link more

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 ( 2016-01-05 20:36:29 -0600 )edit

Question Tools

Stats

Asked: 2013-01-24 03:43:44 -0600

Seen: 1,513 times

Last updated: Jan 24 '13