Open quantitative-technologies opened 6 years ago
You want to make a separate build directory, try:
mkdir build
cd build
cmake ..
make
That made no difference.
After cmake ..
there is the message: Build files have been written to: /home/james/src/boost
that the build files are in the parent directory. Then
cd ..
make
make install
fails as before on make install
.
After cmake .. there is the message: Build files have been written to: /home/james/src/boost that the build files are in the parent directory. Then
I am not sure why that didn't work, but the problem is that it is writing the build files into the source directory.
I had to delete CMakeCache first, so it would build in a separate directory. However, this still did not fix the problem: Exactly the same error is occurring on make install
.
I was able to install by making the following change to CMakeLists.txt:
set(EXCLUDE_LIBS beast callable_traits mp11 poly_collection stacktrace)
After
make install
give an error that it cannot findboost/libs/beast/include
.