Ask Your Question

Revision history [back]

build openCV for android, without CUDA

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 "android-opencv.mk" anywhere in my laptop.

click to hide/show revision 2
retagged

build openCV for android, without CUDA

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 "android-opencv.mk" anywhere in my laptop.