Skip to content
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

Issue when building with dependency aws-lc-sys (cmake) #78

Open
polvallverdu opened this issue Sep 18, 2024 · 0 comments
Open

Issue when building with dependency aws-lc-sys (cmake) #78

polvallverdu opened this issue Sep 18, 2024 · 0 comments

Comments

@polvallverdu
Copy link

Hey, I'm trying to build a project that contains the aws-lc-sys, and it gives non-stop issues. I'm using the bindgen feature to generate all necesary stuff for Android, but not it cannot find CMAKE. I've been debugging, and I think cargokit is getting something wrong.

This is how I have the package declared on cargo:

aws-lc-sys = { version = "0.21.1", features = ["bindgen"] }

This is the stacktrace

SEVERE:     CMake Deprecation Warning at CMakeLists.txt:4 (cmake_minimum_required):
SEVERE:     Compatibility with CMake < 3.5 will be removed from a future version of
SEVERE:     CMake.
SEVERE: 
SEVERE:     Update the VERSION argument <min> value or use a ...<max> suffix to tell
SEVERE:     CMake that the project does not need compatibility with older versions.
SEVERE: 
SEVERE: 
SEVERE:   CMake Error at /usr/share/cmake-3.28/Modules/Platform/Android-Determine.cmake:217 (message):
SEVERE:     Android: Neither the NDK or a standalone toolchain was found.
SEVERE:   Call Stack (most recent call first):
SEVERE:     /usr/share/cmake-3.28/Modules/CMakeDetermineSystem.cmake:212 (include)
SEVERE:     CMakeLists.txt:6 (project)
SEVERE: 
SEVERE: 
SEVERE:   CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
SEVERE:   thread 'main' panicked at /home/pol/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cmake-0.1.51/src/lib.rs:1100:5:
SEVERE: 
SEVERE:   command did not execute successfully, got: exit status: 1
SEVERE: 
SEVERE:   build script failed, must exit now

I've also tried setting CMAKE_MAKE_PROGRAM with no luck.

@polvallverdu polvallverdu changed the title Issue when building with dependency aws-lc-sys Issue when building with dependency aws-lc-sys (cmake) Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant