pypopsift
pypopsift copied to clipboard
cmake 3.16.3 Error
Using cmake 3.16.3-1ubuntu1.20.04.1 I get the below error. Using cmake-3.24.3 worked just fine.
ian@asdf:~/pypopsift/build$ cmake ..
-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Populating popsift
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ian/pypopsift/build/_deps/popsift-subbuild
Scanning dependencies of target popsift-populate
[ 11%] Creating directories for 'popsift-populate'
[ 22%] Performing download step (git clone) for 'popsift-populate'
Cloning into 'popsift-src'...
Already on 'develop'
Your branch is up to date with 'origin/develop'.
[ 33%] No patch step for 'popsift-populate'
[ 44%] Performing update step for 'popsift-populate'
Current branch develop is up to date.
[ 55%] No configure step for 'popsift-populate'
[ 66%] No build step for 'popsift-populate'
[ 77%] No install step for 'popsift-populate'
[ 88%] No test step for 'popsift-populate'
[100%] Completed 'popsift-populate'
[100%] Built target popsift-populate
CMake Warning (dev) at build/_deps/popsift-src/CMakeLists.txt:10 (option):
Policy CMP0077 is not set: option() honors normal variables. Run "cmake
--help-policy CMP0077" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
For compatibility with older versions of CMake, option is clearing the
normal variable 'PopSift_BUILD_EXAMPLES'.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Build type not set, building in Release configuration
-- BUILD_SHARED_LIBS ON
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found CUDA: /usr/local/cuda-11.7 (found suitable version "11.7", minimum required is "7.0")
-- CUDA Version is 11.7
-- Could NOT find DevIL (missing: IL_LIBRARIES ILU_LIBRARIES IL_INCLUDE_DIR)
CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
Could NOT find Boost (missing: Boost_INCLUDE_DIR filesystem program_options
system) (Required is at least version "1.53.0")
Call Stack (most recent call first):
/usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.16/Modules/FindBoost.cmake:2179 (find_package_handle_standard_args)
build/_deps/popsift-src/src/application/CMakeLists.txt:45 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/ian/pypopsift/build/CMakeFiles/CMakeOutput.log".
See also "/home/ian/pypopsift/build/CMakeFiles/CMakeError.log".
sudo apt-get install libboost-all-dev
sudo apt-get install libdevil-dev
It works for me