We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If trying to build with the NDK and cmake as described here:
https://cmake.org/cmake/help/v3.7/manual/cmake-toolchains.7.html#id20
it will work when using GCC as the toolchain but fails with clang (paths to the clang C and C++ compilers will be malformed). e.g.:
/Users/james/Downloads/android-ndk-r16-beta2/toolchains//prebuilt/darwin-x86_64/bin/clang is not a full path to an existing compiler tool.
Notice the missing "llvm" in the path. This can be reproduced with r15c and r16 Beta 2.
I attach a minimal test case that will repro the problem if you open a terminal in the root folder and run the following command:
cmake -DCMAKE_TOOLCHAIN_FILE=./toolchain.cmake ./
Please note you will have to set the path to your NDK in the .toolchain file as I obviously cannot guess where the NDK is on your hard drive.
ndk_repro.zip
The text was updated successfully, but these errors were encountered:
I just saw in #504 that this is fixed with CMake 3.9.2 and above. Confirm it works with 3.9.5.
Sorry, something went wrong.
No branches or pull requests
Description
If trying to build with the NDK and cmake as described here:
https://cmake.org/cmake/help/v3.7/manual/cmake-toolchains.7.html#id20
it will work when using GCC as the toolchain but fails with clang (paths to the clang C and C++ compilers will be malformed). e.g.:
/Users/james/Downloads/android-ndk-r16-beta2/toolchains//prebuilt/darwin-x86_64/bin/clang is not a full path to an existing compiler tool.
Notice the missing "llvm" in the path. This can be reproduced with r15c and r16 Beta 2.
I attach a minimal test case that will repro the problem if you open a terminal in the root folder and run the following command:
cmake -DCMAKE_TOOLCHAIN_FILE=./toolchain.cmake ./
Please note you will have to set the path to your NDK in the .toolchain file as I obviously cannot guess where the NDK is on your hard drive.
ndk_repro.zip
Environment Details
The text was updated successfully, but these errors were encountered: