Ask Your Question

build openCV for android, without CUDA

asked 2012-09-23 06:23:32 -0600

aqavi gravatar image

updated 2019-12-09 08:13:28 -0600

Akhil Patel gravatar image

Hi, I'm compiling openCV for android on Mac. When I enter "cd opencv/android/build" and build using "cmake ..", I get the following error:

libavformat/avformat.h - not found ffmpeg/avformat.h - not found CUDA_TOOLKIT_ROOT_DIR not found or specified (However I don't have NVIDIA card in my Mac)

In the end, I get

"Configuring done, generating done,....Build files have been written to ..."

But I don't find "" anywhere in my laptop.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2012-09-24 09:53:24 -0600

elmiguelao gravatar image

updated 2012-09-26 06:01:19 -0600

Kirill Kornyakov gravatar image

Perhaps some residual CUDA enabling in the openCV trunk, you can force to the cmake the option "-DWITH_CUDA=off" and see what happens.

edit flag offensive delete link more

Question Tools


Asked: 2012-09-23 06:23:32 -0600

Seen: 894 times

Last updated: Sep 26 '12