Doesn't seem to contain CMakeLists.txt

Hi guys I am trying to embed OpenCV libraries in Eclipse, I am using mac osX after downloading the libraries I tried from this tutorial OpenCV Mac Eclipse

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 that "doesn't look like CMakeLists.txt" in the openCV directory

How can I solve this? is there any other way to set up OpenCV in Mac Eclipse?

thank

+3


source to share


2 answers


I faced the same issue resolved with the following command

Go to assembly



 Try with cmake .. your command

      

+2


source


This cmake option allows you to generate traditional Unix makefiles from CMake project files (known as CMakeLists.txt). You cannot do this with cmake project files. But relax - it's easy, although you need to discover CUDA in your project. A sample for you . And one more .



+1


source







All Articles