-
Notifications
You must be signed in to change notification settings - Fork 18.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could NOT find Boost (missing: system thread filesystem) (found suitable version "1.70.0", minimum required is "1.54") #6802
Comments
have you solved it now? |
I also have this issue with version 1.71.0. |
Same issue here with 1.71.0 |
Same issue with 1.71.0 when trying to install lightGBM for GPU: Found OpenCL: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.2/lib/x64/OpenCL.lib (found version "1.2") |
This helped: https://stackoverflow.com/questions/57870032/cmake-v3-15-3-cannot-find-boost-v1-71-0 I had to specify my path C:\boost\boost_1_71_0 as boost directory. |
Where to Specify?? |
Same issue here with 1.72.0 |
I'm having the same issue with 1.72.0, and I tried everything, but it still doesn't work. |
I have my Windows to locate the Boost with CMake by adding below in the Windows Environment Variables: Variable name: Boost_INCLUDE_DIR Variable name: BOOST_ROOT Open a new Command prompt and install the lightgbm (gpu mode) again. |
Today I had the same problem and I just added
to my Also, in my opinion it is bad to specify host dependent paths, like @juliuskittler told in his solution. This blows up manually tackled set up phases. EDIT: Equivalent to my suggestion is passing an argument like here: https://stackoverflow.com/a/57875055/6346852 |
Today Same problem with CMake 3.20 Boost 1.75.0 under windows 10 and got this error:
Have tried these kind of things but same error. set(Boost_USE_STATIC_LIBS ON) in CMakeLists.txt |
I met the same problem in 1.72.0 |
Hi everyone. I ran into this problem. Openning the CMakeCache.txt gave me this line
You guys should check this line. From the line, we can see the Cmake can't fine the cmake configuration of boost, which should be some where called "boost_dir". I follow this tutorial because I don't have Visual Studio to build the libraries. You can build yourself with gcc https://gist.github.com/sim642/29caef3cc8afaa273ce6 I set the environment variable: BOOST_DIR with value "C:\development\boost\lib\cmake" . Remember "lib" is the folder of built libraries. |
for those who install boost using vcpkg, dont forget to add the toolchain. while the error seems to find the boost, it's file structure is totally different, thus producing confusing results making you think you need to add use_static=on. just add vcpkg.cmake toolchain. add vcpkg to path is not enough. |
Hi, I am using macOS 12.3
|
您好,邮件已收到,谢谢!
|
and finally, I have to use |
这是来自QQ邮箱的假期自动回复邮件。 谢谢,您的邮件已收到,尽快给您回复。
|
CMake Error at C:/Program Files/CMake/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find Boost (missing: system thread filesystem) (found suitable
version "1.70.0", minimum required is "1.54")
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
C:/Program Files/CMake/share/cmake-3.15/Modules/FindBoost.cmake:2142 (find_package_handle_standard_args)
cmake/Dependencies.cmake:8 (find_package)
CMakeLists.txt:80 (include)
-- Configuring incomplete, errors occurred!
See also "E:/Program/caffe/build/CMakeFiles/CMakeOutput.log".
ERROR: Configure failed
can someone tell me how to solve this error ?
The text was updated successfully, but these errors were encountered: