/cygdrive/e/PATH_DIR/boost_1_72_0/boost/config.hpp:22:29: fatal error: config/user.hpp: No such file or directory
22 | # define BOOST_USER_CONFIG <config/user.hpp>
> ^
compilation terminated.
The config,hpp file is there,
The failure pertains to the absence of file: config/user.hpp, rather.
Check if you have that file too.
but I don’t understand where the 22:29 came from.
What tries to use the above-mentioned file is the define directive found at
line number 22 of the file config.hpp at column 29.
This is where 22:29 comes from.
What would cause this error? Do I need a different version of Boost?
I’d reinstall Boost so that all files are found where needed.
Hi Marco
The file ‘user.hpp’ is indeed in the boost\config directory.
Boost has been installed correctly, and worked for many builds. Why do you think a reinstall would make a difference to files being found?
I’m not certain, but perhaps the problem is with the version of BOOST. I installed Boost 1.75 set the path, and tried to build libosmium from the cmake file using Visual Studio, and got this > error :
Error CMake Error at E:\libosmium\libosmium\CMakeLists.txt:162 (message):
PLEASE, specify the directory where the Boost library is installed in BOOST_ROOT
libosmium E:\libosmium\libosmium\CMakeLists.txt 162
if(Boost_FOUND)
include_directories(SYSTEM ${Boost_INCLUDE_DIRS})
else()
set(BOOST_ROOT “NOT FOUND: please choose” CACHE PATH “”)
message(FATAL_ERROR “PLEASE, specify the directory where the Boost library is installed in BOOST_ROOT”)
endif()
So it would seem, boost version is specific to the osmium version. I believe this is an older version of libosmium, I am trying, but perhaps the one I was trying to install was not happy with the version of boost it found.
I’ll download boost 1.38 (if it’s available) and see if that’s really the issue.