You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[CXX1429] error when building with cmake using C:\Users\Admini\AndroidStudioProjects\MyApplication\app\src\main\cpp\CMakeLists.txt: -- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: D:/AndroidSDK/ndk/25.1.8937393/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe
-- Check for working C compiler: D:/AndroidSDK/ndk/25.1.8937393/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe - broken
-- Configuring incomplete, errors occurred!
See also "C:/Users/Admini/AndroidStudioProjects/MyApplication/app/.cxx/Debug/2zm6p4p1/x86/CMakeFiles/CMakeOutput.log".
See also "C:/Users/Admini/AndroidStudioProjects/MyApplication/app/.cxx/Debug/2zm6p4p1/x86/CMakeFiles/CMakeError.log".
C++ build system [configure] failed while executing: @echo off
"D:\AndroidSDK\cmake\3.22.1\bin\cmake.exe" ^
"-HC:\Users\Admini\AndroidStudioProjects\MyApplication\app\src\main\cpp" ^
"-DCMAKE_SYSTEM_NAME=Android" ^
"-DCMAKE_EXPORT_COMPILE_COMMANDS=ON" ^
"-DCMAKE_SYSTEM_VERSION=30" ^
"-DANDROID_PLATFORM=android-30" ^
"-DANDROID_ABI=x86" ^
"-DCMAKE_ANDROID_ARCH_ABI=x86" ^
"-DANDROID_NDK=D:\AndroidSDK\ndk\25.1.8937393" ^
"-DCMAKE_ANDROID_NDK=D:\AndroidSDK\ndk\25.1.8937393" ^
"-DCMAKE_TOOLCHAIN_FILE=D:\AndroidSDK\ndk\25.1.8937393\build\cmake\android.toolchain.cmake" ^
"-DCMAKE_MAKE_PROGRAM=D:\AndroidSDK\cmake\3.22.1\bin\ninja.exe" ^
"-DCMAKE_CXX_FLAGS=-std=c++11" ^
"-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\Admini\AndroidStudioProjects\MyApplication\app\build\intermediates\cxx\Debug\2zm6p4p1\obj\x86" ^
"-DCMAKE_RUNTIME_OUTPUT_DIRECTORY=C:\Users\Admini\AndroidStudioProjects\MyApplication\app\build\intermediates\cxx\Debug\2zm6p4p1\obj\x86" ^
"-DCMAKE_BUILD_TYPE=Debug" ^
"-BC:\Users\Admini\AndroidStudioProjects\MyApplication\app\.cxx\Debug\2zm6p4p1\x86" ^
-GNinja
from C:\Users\Admini\AndroidStudioProjects\MyApplication\app
CMake Error at D:/AndroidSDK/cmake/3.22.1/share/cmake-3.22/Modules/CMakeTestCCompiler.cmake:69 (message):
The C compiler
Change Dir: C:/Users/Admini/AndroidStudioProjects/MyApplication/app/.cxx/Debug/2zm6p4p1/x86/CMakeFiles/CMakeTmp
Run Build Command(s):D:\AndroidSDK\cmake\3.22.1\bin\ninja.exe cmTC_30550 && [1/2] Building C object CMakeFiles\cmTC_30550.dir\testCCompiler.c.o
FAILED: CMakeFiles/cmTC_30550.dir/testCCompiler.c.o
D:\AndroidSDK\ndk\25.1.8937393\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe -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_30550.dir\testCCompiler.c.o -c C:\Users\Admini\AndroidStudioProjects\MyApplication\app\.cxx\Debug\2zm6p4p1\x86\CMakeFiles\CMakeTmp\testCCompiler.c
error: unable to rename temporary 'CMakeFiles\cmTC_30550.dir\testCCompiler.c-b7459852.o.tmp' to output file 'CMakeFiles\cmTC_30550.dir\testCCompiler.c.o': 'Permission denied'
1 error generated.
ninja: build stopped: subcommand failed.
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:23 (project)
Affected Modules: app
How to solve this problem?
The text was updated successfully, but these errors were encountered:
[CXX1429] error when building with cmake using C:\Users\Admini\AndroidStudioProjects\MyApplication\app\src\main\cpp\CMakeLists.txt: -- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: D:/AndroidSDK/ndk/25.1.8937393/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe
-- Check for working C compiler: D:/AndroidSDK/ndk/25.1.8937393/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe - broken
-- Configuring incomplete, errors occurred!
See also "C:/Users/Admini/AndroidStudioProjects/MyApplication/app/.cxx/Debug/2zm6p4p1/x86/CMakeFiles/CMakeOutput.log".
See also "C:/Users/Admini/AndroidStudioProjects/MyApplication/app/.cxx/Debug/2zm6p4p1/x86/CMakeFiles/CMakeError.log".
C++ build system [configure] failed while executing:
@echo off
"D:\AndroidSDK\cmake\3.22.1\bin\cmake.exe" ^
"-HC:\Users\Admini\AndroidStudioProjects\MyApplication\app\src\main\cpp" ^
"-DCMAKE_SYSTEM_NAME=Android" ^
"-DCMAKE_EXPORT_COMPILE_COMMANDS=ON" ^
"-DCMAKE_SYSTEM_VERSION=30" ^
"-DANDROID_PLATFORM=android-30" ^
"-DANDROID_ABI=x86" ^
"-DCMAKE_ANDROID_ARCH_ABI=x86" ^
"-DANDROID_NDK=D:\AndroidSDK\ndk\25.1.8937393" ^
"-DCMAKE_ANDROID_NDK=D:\AndroidSDK\ndk\25.1.8937393" ^
"-DCMAKE_TOOLCHAIN_FILE=D:\AndroidSDK\ndk\25.1.8937393\build\cmake\android.toolchain.cmake" ^
"-DCMAKE_MAKE_PROGRAM=D:\AndroidSDK\cmake\3.22.1\bin\ninja.exe" ^
"-DCMAKE_CXX_FLAGS=-std=c++11" ^
"-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\Admini\AndroidStudioProjects\MyApplication\app\build\intermediates\cxx\Debug\2zm6p4p1\obj\x86" ^
"-DCMAKE_RUNTIME_OUTPUT_DIRECTORY=C:\Users\Admini\AndroidStudioProjects\MyApplication\app\build\intermediates\cxx\Debug\2zm6p4p1\obj\x86" ^
"-DCMAKE_BUILD_TYPE=Debug" ^
"-BC:\Users\Admini\AndroidStudioProjects\MyApplication\app\.cxx\Debug\2zm6p4p1\x86" ^
-GNinja
from C:\Users\Admini\AndroidStudioProjects\MyApplication\app
CMake Error at D:/AndroidSDK/cmake/3.22.1/share/cmake-3.22/Modules/CMakeTestCCompiler.cmake:69 (message):
The C compiler
is not able to compile a simple test program.
It fails with the following output:
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:23 (project)
Affected Modules: app
How to solve this problem?
The text was updated successfully, but these errors were encountered: