Ask Your Question
1

Compiling OpenCV 3.1doesn't put header files into include directory

asked 2016-06-15 06:53:43 -0600

Ammy gravatar image

updated 2016-07-19 13:23:56 -0600

berak gravatar image

Hello together,

I recently tried to compile OpenCV 3.1 with CUDA8, OpenNI2, Python2.7 on Windows 8.1 with Visual Studio 2015. I built the project "ALL_BUILD", but still e. g. the header files haven't been put into the include directory. Do i have to build another project within the opencv solution?

Moreover some cuda librarys (e.g. cuda_objdetect) haven't been built and i don't know why.

You can find the cmakelist.txt here: https://syncandshare.lrz.de/dl/fiTXbE... And the log of the compiler here: https://syncandshare.lrz.de/dl/fiRvTu...

Many Thanks Armin

edit retag flag offensive close merge delete

Comments

1

"Do i have to build another project within the opencv solution?"

yes, the INSTALL project (it is not run by default) this will copy anything to whatever CMAKE_INSTALL_PREFIX is set to (build/install by default)

berak gravatar imageberak ( 2016-06-15 07:07:33 -0600 )edit

can you add your cmake / compiler output here , not on an external link ?

berak gravatar imageberak ( 2016-06-15 07:14:12 -0600 )edit
1

for sad, i can't post the cmake output here, because i registered just today :-/

Ammy gravatar imageAmmy ( 2016-06-15 07:57:56 -0600 )edit

ah, ok, excused ;)

but, can you post the cmake(console) output (instead of the rather useless log) ?

berak gravatar imageberak ( 2016-06-15 07:59:00 -0600 )edit

i'm not sure, if cuda compiles with vs2015 at all

berak gravatar imageberak ( 2016-06-15 08:05:26 -0600 )edit

The most cuda libs have been compiled but not all....

Here's the cmake output: https://syncandshare.lrz.de/dl/fiFmXK...

Ammy gravatar imageAmmy ( 2016-06-15 08:30:42 -0600 )edit
berak gravatar imageberak ( 2016-06-16 04:23:23 -0600 )edit
1

recently CUDA 8 has been released with VS2015 support, so it should actually work now

Ammy gravatar imageAmmy ( 2016-06-17 03:25:52 -0600 )edit

@berak Can you post your comment ("run the INSTALL project") as an answer so that this question shows up answered? Also, I'd suggest editing the question title to "Compiling OpenCV 3.1 doesn't put header files into include directory" to be more descriptive. (I'd do it myself but I don't have 200 points here yet.)

SSteve gravatar imageSSteve ( 2016-07-19 13:19:12 -0600 )edit

good idea !

berak gravatar imageberak ( 2016-07-19 13:23:22 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
2

answered 2016-07-19 13:22:26 -0600

berak gravatar image

"Do i have to build another project within the opencv solution?"

yes, the INSTALL project (it is not run by default) this will copy anything to whatever CMAKE_INSTALL_PREFIX is set to (build/install by default)

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-06-15 06:53:43 -0600

Seen: 3,339 times

Last updated: Jul 19 '16