First of all, thanks for sharing these amazing project!
I hope you can help me with this problem. I'm trying to run BUILD and MAKE PROJECT, but this MESSAGE appears.
C:\Users\Asus\Desktop\ros3\rosettadrone\app\CMakeLists.txt : C/C++ debug|armeabi-v7a : CMake Error at C:/Users/Asus/AppData/Local/Android/Sdk/cmake/3.10.2.4988404/share/cmake-3.10/Modules/CMakeTestCCompiler.cmake:52 (message):
The C compiler
Change Dir: C:/Users/Asus/Desktop/ros3/rosettadrone/app/.cxx/cmake/debug/armeabi-v7a/CMakeFiles/CMakeTmp
Run Build Command:"C:\Users\Asus\AppData\Local\Android\Sdk\cmake\3.10.2.4988404\bin\ninja.exe" "cmTC_e786d"
[0/1] Re-running CMake...
-- The C compiler identification is Clang 11.0.5
-- Check for working C compiler: C:/Users/Asus/AppData/Local/Android/Sdk/ndk/22.0.7026061/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe
-- Check for working C compiler: C:/Users/Asus/AppData/Local/Android/Sdk/ndk/22.0.7026061/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe -- broken
CMake Error at C:/Users/Asus/AppData/Local/Android/Sdk/cmake/3.10.2.4988404/share/cmake-3.10/Modules/CMakeTestCCompiler.cmake:52 (message):
The C compiler
"C:/Users/Asus/AppData/Local/Android/Sdk/ndk/22.0.7026061/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: C:/Users/Asus/Desktop/ros3/rosettadrone/app/.cxx/cmake/debug/armeabi-v7a/CMakeFiles/CMakeTmp/CMakeFiles/CMakeTmp
Run Build Command:"C:/Users/Asus/AppData/Local/Android/Sdk/cmake/3.10.2.4988404/bin/ninja.exe" "cmTC_2a7a0"
[1/2] Building C object CMakeFiles/cmTC_2a7a0.dir/testCCompiler.c.obj
[2/2] Linking C executable cmTC_2a7a0.exe
FAILED: cmTC_2a7a0.exe
cmd.exe /C "cd . && C:\Users\Asus\AppData\Local\Android\Sdk\ndk\22.0.7026061\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe --target=armv7-none-linux-androideabi22 --gcc-toolchain=C:/Users/Asus/AppData/Local/Android/Sdk/ndk/22.0.7026061/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=C:/Users/Asus/AppData/Local/Android/Sdk/ndk/22.0.7026061/toolchains/llvm/prebuilt/windows-x86_64/sysroot CMakeFiles/cmTC_2a7a0.dir/testCCompiler.c.obj -o cmTC_2a7a0.exe -Wl,--out-implib,libcmTC_2a7a0.dll.a -Wl,--major-image-version,0,--minor-image-version,0 -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && cd ."
ld: error: unknown argument '--out-implib'
ld: error: unknown argument '--major-image-version'
ld: error: unknown argument '--minor-image-version'
ld: error: cannot open libcmTC_2a7a0.dll.a: No such file or directory
ld: error: cannot open 0: No such file or directory
ld: error: cannot open 0: No such file or directory
ld: error: unable to find library -lkernel32
ld: error: unable to find library -luser32
ld: error: unable to find library -lgdi32
ld: error: unable to find library -lwinspool
ld: error: unable to find library -lshell32
ld: error: unable to find library -lole32
ld: error: unable to find library -loleaut32
ld: error: unable to find library -luuid
ld: error: unable to find library -lcomdlg32
ld: error: unable to find library -ladvapi32
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:2 (project)
-- Configuring incomplete, errors occurred!
See also "C:/Users/Asus/Desktop/ros3/rosettadrone/app/.cxx/cmake/debug/armeabi-v7a/CMakeFiles/CMakeTmp/CMakeFiles/CMakeOutput.log".
See also "C:/Users/Asus/Desktop/ros3/rosettadrone/app/.cxx/cmake/debug/armeabi-v7a/CMakeFiles/CMakeTmp/CMakeFiles/CMakeError.log".
FAILED: build.ninja
C:\Users\Asus\AppData\Local\Android\Sdk\cmake\3.10.2.4988404\bin\cmake.exe -HC:\Users\Asus\Desktop\ros3\rosettadrone\app\.cxx\cmake\debug\armeabi-v7a\CMakeFiles\CMakeTmp -BC:\Users\Asus\Desktop\ros3\rosettadrone\app\.cxx\cmake\debug\armeabi-v7a\CMakeFiles\CMakeTmp
ninja: error: rebuilding 'build.ninja': subcommand failed
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt
I wonder what i could have forgotten. I will ppreciate any advice!
First of all, thanks for sharing these amazing project! I hope you can help me with this problem. I'm trying to run BUILD and MAKE PROJECT, but this MESSAGE appears.
C:\Users\Asus\Desktop\ros3\rosettadrone\app\CMakeLists.txt : C/C++ debug|armeabi-v7a : CMake Error at C:/Users/Asus/AppData/Local/Android/Sdk/cmake/3.10.2.4988404/share/cmake-3.10/Modules/CMakeTestCCompiler.cmake:52 (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
I wonder what i could have forgotten. I will ppreciate any advice!