cmake 2.8.12 MacOSX 10.8.5 gcc i686-apple-darwin11-llvm-gcc-4.2 OpenCV 2.4.3
Hi. I am new to cmake. Now I am trying to build a system that requires OpenCV. Source codes are separated into several modules, so cmake can make my life easier. running cmake . in the project directory seems ok, giving, % cmake . -- Configuring done -- Generating done -- Build files have been written to: /Users/soichi/Dropbox/OpenCV/project1 but running "make" gives % make make[2]: *** No rule to make target `/usr/local/lib/libopencv_calib3d.dylib', needed by `DetectRegions_Desktop'. Stop. make[1]: *** [CMakeFiles/DetectRegions_Desktop.dir/all] Error 2 make: *** [all] Error 2 cmake cannot find libopencv_calib3d.dylib . Of course the problem is the library directory. which is NOT /usr/local/lib/ but IS /Users/soichi/OpenCV-2.4.3/release/lib This should be a basic question but I need to ask. Where do I need to specify the directory of external library? More specifically, it should be something like OpenCV_LIB_DIR =???
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
