Thank you for your answer.
However, I get the same error when trying the tutorial you suggested. How can I set the directory for the Linux versions of the libraries? The contents of my CMakeLists.txt is attached below:
cmake_minimum_required(VERSION 2.7)
project(OpenCVDemo)
find_package(OpenCV REQUIRED)
ocv_include_directories(“${OpenCV_SOURCE_DIR}/include”)
ocv_include_modules_recurse(${OPENCV_CPP_SAMPLES_REQUIRED_DEPS})
set(LIBRARIES_FROM_REFERENCES “”)
add_executable(OpenCVDemo OpenCVDemo.cpp)
target_link_libraries(OpenCVDemo ${OpenCV_LIBS} “${LIBRARIES_FROM_REFERENCES}”)
-
This reply was modified 8 years, 2 months ago by sette.