Could NOT find Boost #1678
Unanswered
wcc19840827
asked this question in
Q&A
Replies: 2 comments
-
How did you install boost for Android? Does whatever distribution method you used expect this to work? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I found that the reason for this issue is that the 'find_package' command recursively searches for the '. cmake' file under the Linux gcc toolchain, while under the Android ndk toolchain, it does not recursively search for the '. cmake' file。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Boost not found when I use android.toolchain.cmake
Use
find_package(Boost 1.77.0 COMPONENTS system thread regex ${ARGS})
to find boost libthe error is
-- Could NOT find Boost (missing: Boost_DIR)
Beta Was this translation helpful? Give feedback.
All reactions