-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
macOS - Linking issue when trying to build vole #1
Comments
OK I made some progress as follows:
Updated CMakeLists.txt: cmake_minimum_required(VERSION 2.8) set(CMAKE_PREFIX_PATH "/usr/local/Cellar/opencv/3.4.3_1/") set(OpenCV_INCLUDE_DIRS "/usr/local/Cellar/opencv/3.4.3_1/include/") find_package( OpenCV REQUIRED ) set(CMAKE_C_COMPILER "/usr/local/Cellar/llvm/7.0.0_1/bin/clang") find_package( Boost 1.68.0 COMPONENTS program_options ) include_directories(${Boost_INCLUDE_DIRS}) include_directories(${OpenCV_DIR}/../opencv-Build/install/include) set(PROJECT_FILES add_executable( |
I have encountered the same problem. Have you solved it? |
Hi - I get as far as:
cd source/illuminants/build
make
[ 2%] Linking CXX executable vole
Undefined symbols for architecture x86_64:
"cv::imwrite(cv::String const&, cv::_InputArray const&, std::__1::vector<int, std::__1::allocator > const&)", referenced from:
lille::CommandLocalGrayworld::execute() in command_lgrayworld.cpp.o
lille::CommandLocalIebv::execute() in command_liebv.cpp.o
vole::CommandFelzenszwalb::execute() in commandfelzenszwalb.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [vole] Error 1
make[1]: *** [CMakeFiles/vole.dir/all] Error 2
make: *** [all] Error 2
Are you able to assist with getting it working? Thanks!
The text was updated successfully, but these errors were encountered: