Skip to content

CMAKE #95

@Brunim757

Description

@Brunim757

Task :app:configureCMakeDebug[arm64-v8a]
[CXX5304] Observed package id 'tools' in inconsistent location '/data/user/0/com.tom.rv2ide/files/home/android-sdk/cmdline-tools/latest' (Expected '/data/user/0/com.tom.rv2ide/files/home/android-sdk/tools')
[CXX5304] Observed package id 'tools' in inconsistent location '/data/user/0/com.tom.rv2ide/files/home/android-sdk/cmdline-tools/latest' (Expected '/data/user/0/com.tom.rv2ide/files/home/android-sdk/tools')
C/C++: CMake Deprecation Warning at /data/user/0/com.tom.rv2ide/files/home/android-sdk/ndk/27.0.12077973/build/cmake/android.toolchain.cmake:35 (cmake_minimum_required):
C/C++: Compatibility with CMake < 3.10 will be removed from a future version of
C/C++: CMake.
C/C++: Update the VERSION argument value. Or, use the ... syntax
C/C++: to tell CMake that the project requires at least but has been updated
C/C++: to work with policies introduced by or earlier.
C/C++: Call Stack (most recent call first):
C/C++: /data/user/0/com.tom.rv2ide/files/home/android-sdk/cmake/3.31.6/share/cmake-3.31/Modules/CMakeDetermineSystem.cmake:146 (include)
C/C++: CMakeLists.txt:3 (project)
C/C++: CMake Deprecation Warning at /data/user/0/com.tom.rv2ide/files/home/android-sdk/ndk/27.0.12077973/build/cmake/android-legacy.toolchain.cmake:35 (cmake_minimum_required):
C/C++: Compatibility with CMake < 3.10 will be removed from a future version of
C/C++: CMake.
C/C++: Update the VERSION argument value. Or, use the ... syntax
C/C++: to tell CMake that the project requires at least but has been updated
C/C++: to work with policies introduced by or earlier.
C/C++: Call Stack (most recent call first):
C/C++: /data/user/0/com.tom.rv2ide/files/home/android-sdk/ndk/27.0.12077973/build/cmake/android.toolchain.cmake:55 (include)
C/C++: /data/user/0/com.tom.rv2ide/files/home/android-sdk/cmake/3.31.6/share/cmake-3.31/Modules/CMakeDetermineSystem.cmake:146 (include)
C/C++: CMakeLists.txt:3 (project)
C/C++: CMake Deprecation Warning at /data/user/0/com.tom.rv2ide/files/home/android-sdk/ndk/27.0.12077973/build/cmake/android.toolchain.cmake:35 (cmake_minimum_required):
C/C++: Compatibility with CMake < 3.10 will be removed from a future version of
C/C++: CMake.
C/C++: Update the VERSION argument value. Or, use the ... syntax
C/C++: to tell CMake that the project requires at least but has been updated
C/C++: to work with policies introduced by or earlier.
C/C++: Call Stack (most recent call first):
C/C++: /storage/emulated/0/AndroidIDEProjects/AppGenerator/app/.cxx/Debug/2p193v16/arm64-v8a/CMakeFiles/3.31.6-dirty/CMakeSystem.cmake:6 (include)
C/C++: CMakeLists.txt:3 (project)
C/C++: CMake Deprecation Warning at /data/user/0/com.tom.rv2ide/files/home/android-sdk/ndk/27.0.12077973/build/cmake/android.toolchain.cmake:35 (cmake_minimum_required):
C/C++: Compatibility with CMake < 3.10 will be removed from a future version of
C/C++: CMake.
C/C++: Update the VERSION argument value. Or, use the ... syntax
C/C++: to tell CMake that the project requires at least but has been updated
C/C++: to work with policies introduced by or earlier.
C/C++: Call Stack (most recent call first):
C/C++: /storage/emulated/0/AndroidIDEProjects/AppGenerator/app/.cxx/Debug/2p193v16/arm64-v8a/CMakeFiles/3.31.6-dirty/CMakeSystem.cmake:6 (include)
C/C++: /storage/emulated/0/AndroidIDEProjects/AppGenerator/app/.cxx/Debug/2p193v16/arm64-v8a/CMakeFiles/CMakeScratch/TryCompile-pkIDCG/CMakeLists.txt:2 (project)
C/C++: CMake Deprecation Warning at /data/user/0/com.tom.rv2ide/files/home/android-sdk/ndk/27.0.12077973/build/cmake/android-legacy.toolchain.cmake:35 (cmake_minimum_required):
C/C++: Compatibility with CMake < 3.10 will be removed from a future version of
C/C++: CMake.
C/C++: Update the VERSION argument value. Or, use the ... syntax
C/C++: to tell CMake that the project requires at least but has been updated
C/C++: to work with policies introduced by or earlier.
C/C++: Call Stack (most recent call first):
C/C++: /data/user/0/com.tom.rv2ide/files/home/android-sdk/ndk/27.0.12077973/build/cmake/android.toolchain.cmake:55 (include)
C/C++: /storage/emulated/0/AndroidIDEProjects/AppGenerator/app/.cxx/Debug/2p193v16/arm64-v8a/CMakeFiles/3.31.6-dirty/CMakeSystem.cmake:6 (include)
C/C++: /storage/emulated/0/AndroidIDEProjects/AppGenerator/app/.cxx/Debug/2p193v16/arm64-v8a/CMakeFiles/CMakeScratch/TryCompile-pkIDCG/CMakeLists.txt:2 (project)
C/C++: CMake Deprecation Warning at /data/user/0/com.tom.rv2ide/files/home/android-sdk/ndk/27.0.12077973/build/cmake/android.toolchain.cmake:35 (cmake_minimum_required):
C/C++: Compatibility with CMake < 3.10 will be removed from a future version of
C/C++: CMake.
C/C++: Update the VERSION argument value. Or, use the ... syntax
C/C++: to tell CMake that the project requires at least but has been updated
C/C++: to work with policies introduced by or earlier.
C/C++: Call Stack (most recent call first):
C/C++: /storage/emulated/0/AndroidIDEProjects/AppGenerator/app/.cxx/Debug/2p193v16/arm64-v8a/CMakeFiles/3.31.6-dirty/CMakeSystem.cmake:6 (include)
C/C++: /storage/emulated/0/AndroidIDEProjects/AppGenerator/app/.cxx/Debug/2p193v16/arm64-v8a/CMakeFiles/CMakeScratch/TryCompile-BGcPjm/CMakeLists.txt:2 (project)
C/C++: CMake Deprecation Warning at /data/user/0/com.tom.rv2ide/files/home/android-sdk/ndk/27.0.12077973/build/cmake/android-legacy.toolchain.cmake:35 (cmake_minimum_required):
C/C++: Compatibility with CMake < 3.10 will be removed from a future version of
C/C++: CMake.
C/C++: Update the VERSION argument value. Or, use the ... syntax
C/C++: to tell CMake that the project requires at least but has been updated
C/C++: to work with policies introduced by or earlier.
C/C++: Call Stack (most recent call first):
C/C++: /data/user/0/com.tom.rv2ide/files/home/android-sdk/ndk/27.0.12077973/build/cmake/android.toolchain.cmake:55 (include)
C/C++: /storage/emulated/0/AndroidIDEProjects/AppGenerator/app/.cxx/Debug/2p193v16/arm64-v8a/CMakeFiles/3.31.6-dirty/CMakeSystem.cmake:6 (include)
C/C++: /storage/emulated/0/AndroidIDEProjects/AppGenerator/app/.cxx/Debug/2p193v16/arm64-v8a/CMakeFiles/CMakeScratch/TryCompile-BGcPjm/CMakeLists.txt:2 (project)
C/C++: CMake Error at /data/user/0/com.tom.rv2ide/files/home/android-sdk/cmake/3.31.6/share/cmake-3.31/Modules/CMakeTestCCompiler.cmake:67 (message):
C/C++: The C compiler
C/C++: "/data/user/0/com.tom.rv2ide/files/home/android-sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/linux-x86_64/bin/clang"
C/C++: is not able to compile a simple test program.
C/C++: It fails with the following output:
C/C++: Change Dir: '/storage/emulated/0/AndroidIDEProjects/AppGenerator/app/.cxx/Debug/2p193v16/arm64-v8a/CMakeFiles/CMakeScratch/TryCompile-BGcPjm'
C/C++:
C/C++: Run Build Command(s): /data/user/0/com.tom.rv2ide/files/home/android-sdk/cmake/3.31.6/bin/ninja -v cmTC_6bbf0
C/C++: [1/2] /data/user/0/com.tom.rv2ide/files/home/android-sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -o CMakeFiles/cmTC_6bbf0.dir/testCCompiler.c.o -c /storage/emulated/0/AndroidIDEProjects/AppGenerator/app/.cxx/Debug/2p193v16/arm64-v8a/CMakeFiles/CMakeScratch/TryCompile-BGcPjm/testCCompiler.c
C/C++: FAILED: CMakeFiles/cmTC_6bbf0.dir/testCCompiler.c.o
C/C++: /data/user/0/com.tom.rv2ide/files/home/android-sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -o CMakeFiles/cmTC_6bbf0.dir/testCCompiler.c.o -c /storage/emulated/0/AndroidIDEProjects/AppGenerator/app/.cxx/Debug/2p193v16/arm64-v8a/CMakeFiles/CMakeScratch/TryCompile-BGcPjm/testCCompiler.c
C/C++: /bin/sh: /data/user/0/com.tom.rv2ide/files/home/android-sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/linux-x86_64/bin/clang: not executable: 64-bit ELF file
C/C++: ninja: build stopped: subcommand failed.
C/C++:
C/C++:
C/C++:
C/C++: CMake will not be able to correctly generate this project.
C/C++: Call Stack (most recent call first):
C/C++: CMakeLists.txt:3 (project)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions