Open zhaoyang9425 opened 3 years ago
I am facing the same issue.
cmake version 3.20.5 gcc version 6.5.0 20181026 (Ubuntu 6.5.0-2ubuntu1~18.04) boost version 1.73.0
Any help is appreciated!
Update: Adding these lines to CMakeLists.txt resolves the error for me!
if (Boost_NO_SYSTEM_PATHS)
set(Boost_INCLUDE_DIR "/usr/include")
endif (Boost_NO_SYSTEM_PATHS)```
I followed the following commands to install
When I execute the last command
make -j 4
, the error occurred.cmake version 3.15.0 gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12) boost version libboost1.58-dev:amd64: /usr/include/boost/version.hpp
Looking forward to your answer!