We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
cc
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
During Cross Compilation, rust comes up with an error:
error: linker cc not found | = note: No such file or directory (os error 2)
However, the toolchain path is correctly set. I'm completely confused! Please give me a help when it's convenient for you!
Host Platform: Ubuntu 22.04 Ndk version: 27.0.12077973
command used export PATH=${PATH}:/.cargo/bin export ANDROID_NDK=/Android/Sdk/ndk/27.0.12077973/ cmake .. -DCMAKE_TOOLCHAIN_FILE=${ANDROID_NDK}/build/cmake/android.toolchain.cmake -DANDROID_ABI=arm64-v8a -DANDROID_PLATFORM=android-24 -DCMAKE_INSTALL_PREFIX=cmake-out-android -DCMAKE_BUILD_TYPE=Release make
Best Regards
The text was updated successfully, but these errors were encountered:
No branches or pull requests
During Cross Compilation, rust comes up with an error:
error: linker
cc
not found|
= note: No such file or directory (os error 2)
However, the toolchain path is correctly set. I'm completely confused! Please give me a help when it's convenient for you!
Host Platform: Ubuntu 22.04
Ndk version: 27.0.12077973
command used
export PATH=${PATH}:
/.cargo/bin/Android/Sdk/ndk/27.0.12077973/export ANDROID_NDK=
cmake .. -DCMAKE_TOOLCHAIN_FILE=${ANDROID_NDK}/build/cmake/android.toolchain.cmake
-DANDROID_ABI=arm64-v8a
-DANDROID_PLATFORM=android-24
-DCMAKE_INSTALL_PREFIX=cmake-out-android
-DCMAKE_BUILD_TYPE=Release
make
Best Regards
The text was updated successfully, but these errors were encountered: