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

The detected version of Ninja () is less than the version of Ninja required by CMake #4

Open
sebasira opened this issue Aug 8, 2020 · 0 comments

Comments

@sebasira
Copy link

sebasira commented Aug 8, 2020

I was using https://github.com/jangrewe/gitlab-ci-android and switch to this image to try it out.

I'm getting this error, and I do not know how to solve it:

218 > Build command failed.
219  Error while executing process /sdk/cmake/3.6.4111459/bin/cmake with arguments {-H/builds/sebasira/android-module-boilerplate/app/src/main/cpp -B/builds/sebasira/android-module-boilerplate/app/.cxx/cmake/release/armeabi-v7a -DANDROID_ABI=armeabi-v7a -DANDROID_PLATFORM=android-19 -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/builds/sebasira/android-module-boilerplate/app/build/intermediates/cmake/release/obj/armeabi-v7a -DCMAKE_BUILD_TYPE=Release -DANDROID_NDK=/sdk/ndk/21.3.6528147 -DCMAKE_CXX_FLAGS=-frtti -fexceptions -DCMAKE_TOOLCHAIN_FILE=/sdk/ndk/21.3.6528147/build/cmake/android.toolchain.cmake -DCMAKE_MAKE_PROGRAM=/sdk/cmake/3.6.4111459/bin/ninja -GAndroid Gradle - Ninja}
220  -- Check for working C compiler: /sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/linux-x86_64/bin/clang
221  -- Check for working C compiler: /sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -- broken
222  -- Configuring incomplete, errors occurred!
223  See also "/builds/sebasira/android-module-boilerplate/app/.cxx/cmake/release/armeabi-v7a/CMakeFiles/CMakeOutput.log".
224  See also "/builds/sebasira/android-module-boilerplate/app/.cxx/cmake/release/armeabi-v7a/CMakeFiles/CMakeError.log".
225  
226  CMake Error:
227    The detected version of Ninja () is less than the version of Ninja required
228    by CMake (1.3).
229  
230Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
231Use '--warning-mode all' to show the individual deprecation warnings.
232See https://docs.gradle.org/5.6.4/userguide/command_line_interface.html#sec:command_line_warnings
233  
234  CMake Error: Internal CMake error, TryCompile generation of cmake failed
235  CMake Error at /sdk/cmake/3.6.4111459/share/cmake-3.6/Modules/CMakeTestCCompiler.cmake:61 (message):
236    The C compiler
237    "/sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/linux-x86_64/bin/clang" is
238    not able to compile a simple test program.
239  
240    It fails with the following output:
241  
242     
243  
244    
245  
246    CMake will not be able to correctly generate this project.
247  Call Stack (most recent call first):
248    CMakeLists.txt

Which I do not have with the jangrewe image and the project

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