I am trying to insert OpenCV libraries in Eclipse. I am using mac osX. After downloading the libraries, I tried to follow the configuration from this tutorial.
I installed Cmake in my terminal, but after trying to use
cmake -G "Unix Makefiles" -D CMAKE_CXX_COMPILER=/usr/bin/g++ -D CMAKE_C_COMPILER=/usr/bin/gcc -D WITH_CUDA=ON ..
I got a message says "does not appear to contain CMakeLists.txt" in the directory of openCV.
How can I solve this? Is there another way to configure OpenCV in mac Eclipse?
I was facing the same issue, resolved by using the below command
Goto Build directory
Try with cmake .. your command
This option of cmake lets you generate Unix traditional makefiles from CMake project files (known as CMakeLists.txt). You cannot do it with cmake project files. But relax - it is easy, though you have to detect CUDA in your project. Sample for you . And another one .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.