kenlm
kenlm copied to clipboard
CMake Error cmake:137 (message)
I use commands: wget -O - https://kheafield.com/code/kenlm.tar.gz |tar xz mkdir kenlm/build cd kenlm/build cmake .. make -j2
after "cmake.." : CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find Boost (missing: program_options system thread unit_test_framework) (found suitable version "1.58.0", minimum required is "1.41.0") Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake/Modules/FindBoost.cmake:2161 (find_package_handle_standard_args) CMakeLists.txt:85 (find_package)
-- Configuring incomplete, errors occurred! See also "/home/gb504/stu_ftt/kenlm/build/CMakeFiles/CMakeOutput.log". See also "/home/gb504/stu_ftt/kenlm/build/CMakeFiles/CMakeError.log".
Thanks.
Smells like you have the headers but not the libraries?
yes, I installed boost and the problem solved.
Even after installing boost, the issue is still persisting, and I'm getting the following output on entering cmake ..
-- Could NOT find Eigen3 (missing: Eigen3_DIR)
CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
Could NOT find Boost (missing: Boost_INCLUDE_DIR program_options system
thread unit_test_framework) (Required is at least version "1.41.0")
Call Stack (most recent call first):
/usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.16/Modules/FindBoost.cmake:2179 (find_package_handle_standard_args)
CMakeLists.txt:85 (find_package)
-- Configuring incomplete, errors occurred!
See also "/mnt/e/Code_Blooded/ASR/DeepSpeech/native_client/kenlm/build/CMakeFiles/CMakeOutput.log".
See also "/mnt/e/Code_Blooded/ASR/DeepSpeech/native_client/kenlm/build/CMakeFiles/CMakeError.log".
And the latest version of boost available is 0.1, I'm not sure what package is required whose version 1.41 is necessary
cmake version 3.16.3
Is it possible that the error is occurring because I'm using WSl and accessing a directory on windows?
Edit: Solved with installing some modules as shown
sudo apt install build-essential cmake libboost-system-dev libboost-thread-dev libboost-program-options-dev libboost-test-dev libeigen3-dev zlib1g-dev libbz2-dev liblzma-dev
I am too getting boost related error, I am using Windows 10.
CMake Error at C:/Program Files/CMake/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:218 (message):
Could NOT find Boost (missing: Boost_INCLUDE_DIR program_options system
thread unit_test_framework) (Required is at least version "1.41.0")
Can anyone help me how to install boost for cmake in Windows 10 system?
I'm not sure about how to solve this in windows, I was able to solve it in Linux, perhaps you can use WSL or a virtual machine
I'm facing the same problem on windows, does anybody find out the solution?
I am too getting boost related error, I am using Windows 10.
CMake Error at C:/Program Files/CMake/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:218 (message): Could NOT find Boost (missing: Boost_INCLUDE_DIR program_options system thread unit_test_framework) (Required is at least version "1.41.0")
Can anyone help me how to install boost for cmake in Windows 10 system?
Hello Bro! Did you figure it out on how to compile it on windows?
yes, I installed boost and the problem solved.
Hello, can you tell me how to get "boost"? I haven't used it.