-
Notifications
You must be signed in to change notification settings - Fork 40
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
CMake Error at lib/CMakeLists.txt:67 -- (Boost) target not found? #7
Comments
Do you have In Ubuntu/Debian boost's header files are in multiple sub-packages and it's usually easier to have them all by installing |
Yes, I have
Also I found the files here: Is it possible that cmake searches another path?
It is the |
Open top-level CMakeLists.txt and add diff --git a/CMakeLists.txt b/CMakeLists.txt
index 830816b..bc7a6b4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -58,7 +58,7 @@ set(Boost_ADDITIONAL_VERSIONS
"1.65.0" "1.65" "1.66.0" "1.66" "1.67.0" "1.67" "1.68.0" "1.68" "1.69.0" "1.69"
"1.70.0" "1.70" "1.71.0" "1.71" "1.72.0" "1.72"
)
-find_package(Boost "1.35" COMPONENTS filesystem system)
+find_package(Boost "1.35" COMPONENTS filesystem system thread program_options regex)
if(NOT Boost_FOUND)
message(FATAL_ERROR "Boost required to compile multi_rtl") |
Most probably you will need to add |
Thank you @velichkov . Your patch did the job! Saved the day one more time. |
Excuse me for flooding with issue posts. I'm using @antoniprzybylik's #4
On my Ubuntu 18.04 machine I installed GR 3.8.2.0 (Python 3.6.9) from PPA repo.
However
test-multi_rtl
doesn't find Boost targets:The configure script successfully finds the Boost libraries. Is it kind of dependency tree that somehow misses the correct path?
The text was updated successfully, but these errors were encountered: