|

楼主 |
发表于 2022-9-24 14:20
|
显示全部楼层
看到shaqvq的回复后,
安装 libboost-all-dev
然后再次编译,如下输出:
- ~/Git/librime$ make
- cmake . -Bbuild \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release \
- -DBUILD_MERGED_PLUGINS=OFF \
- -DENABLE_EXTERNAL_PLUGINS=ON
- CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake:141 (find_package):
- Could not find a package configuration file provided by "boost_filesystem"
- (requested version 1.74.0) with any of the following names:
- boost_filesystemConfig.cmake
- boost_filesystem-config.cmake
- Add the installation prefix of "boost_filesystem" to CMAKE_PREFIX_PATH or
- set "boost_filesystem_DIR" to a directory containing one of the above
- files. If "boost_filesystem" provides a separate development package or
- SDK, be sure it has been installed.
- Call Stack (most recent call first):
- /usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake:258 (boost_find_component)
- /usr/share/cmake-3.18/Modules/FindBoost.cmake:448 (find_package)
- CMakeLists.txt:73 (find_package)
- -- Configuring incomplete, errors occurred!
- See also "/root/Git/librime/build/CMakeFiles/CMakeOutput.log".
- make: *** [Makefile:46:release] 错误 1
- ~/Git/librime$
复制代码
何解? |
|