AliceVision
AliceVision copied to clipboard
cmake boost
CMake Error at src/CMakeLists.txt:259 (message): Failed to find Boost. CMake Error at src/CMakeLists.txt:260 (message): Boost version: 1.65.1 Boost include path: /usr/include Could not find the following Boost libraries: boost_container boost_log boost_log_setup Some (but not all) of the required Boost libraries were found. You may need to install these additional Boost libraries. Alternatively, set BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT to the location of Boost.
Expected behavior:
Actual behavior:
Steps to Reproduce
- [First Step]
- [Second Step]
- [and so on...]
Versions
- AliceVision branch/version:
- OS:
- C++ compiler:
You need to install the dependencies, see https://github.com/alicevision/AliceVision/blob/develop/INSTALL.md
The pre-build package can be downloaded from here https://github.com/alicevision/AliceVision/releases so you don´t have to build Alicevision yourself.
To be fair, the documentation isn't super clear here.
INSTALL.md contains this:
Setup the required external library. sudo apt-get install libpng-dev libjpeg-dev libtiff-dev libxxf86vm1 libxxf86vm-dev libxi-dev libxrandr-dev
But... a lot more libraries are actually needed. I got stuck here too. Can this part of the documentation be updated?
yes you are right we should restructure the instructions to make it more clear.
As now you can see that there is a first part of the instructions on how to build all the needed dependencies (vcpkg, using the CMake script etc). So you need to first build all those dependencies, you can use vcpkg no matter which platform you are in or for Linux you can build all the required dependencies directly from CMake
https://github.com/alicevision/AliceVision/blob/develop/INSTALL.md#building-the-project-with-embedded-dependencies
adding the flag -DALICEVISION_BUILD_DEPENDENCIES=ON
.
Note that as explained this requires to install some additional building tools.
Setup the required external library. sudo apt-get install libpng-dev libjpeg-dev libtiff-dev libxxf86vm1 libxxf86vm-dev libxi-dev libxrandr-dev
As for this you only need
sudo apt-get install libxxf86vm1 libxxf86vm-dev libxi-dev libxrandr-dev
which are not direct dependencies of the project but they might be needed by the project's dependencies
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.