Closed huanyuan closed 6 years ago
Error while executing process F:\Software\Android\Sdk\cmake\3.6.4111459\bin\cmake.exe with arguments {-HD:\Demon\Vlc-sdk-lib-master\libvlc3.0.9 -BD:\Demon\Vlc-sdk-lib-master\libvlc3.0.9.externalNativeBuild\cmake\debug\armeabi-v7a -DANDROID_ABI=armeabi-v7a -DANDROID_PLATFORM=android-14 -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=D:\Demon\Vlc-sdk-lib-master\libvlc3.0.9\build\intermediates\cmake\debug\obj\armeabi-v7a -DCMAKE_BUILD_TYPE=Debug -DANDROID_NDK=F:\Software\Android\Sdk\ndk-bundle -DCMAKE_CXX_FLAGS=-std=c++11 -fexceptions -DCMAKE_TOOLCHAIN_FILE=F:\Software\Android\Sdk\ndk-bundle\build\cmake\android.toolchain.cmake -DCMAKE_MAKE_PROGRAM=F:\Software\Android\Sdk\cmake\3.6.4111459\bin\ninja.exe -GAndroid Gradle - Ninja} CMake Error in CMakeLists.txt:
The CMAKE_C_COMPILER:
F:/Software/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe
is not a full path to an existing compiler tool.
Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.
The CMAKE_CXX_COMPILER:
F:/Software/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred!
See also "D:/Demon/Vlc-sdk-lib-master/libvlc3.0.9/.externalNativeBuild/cmake/debug/armeabi-v7a/CMakeFiles/CMakeOutput.log".
Build command failed.
报这个错误,cmake我已经下载了的
externalNativeBuild { cmake { path "CMakeLists.txt" } } 注释掉 path "CMakeLists.txt"这一行就可以编译,项目会不会出问题啊 目前是没发现
Error while executing process F:\Software\Android\Sdk\cmake\3.6.4111459\bin\cmake.exe with arguments {-HD:\Demon\Vlc-sdk-lib-master\libvlc3.0.9 -BD:\Demon\Vlc-sdk-lib-master\libvlc3.0.9.externalNativeBuild\cmake\debug\armeabi-v7a -DANDROID_ABI=armeabi-v7a -DANDROID_PLATFORM=android-14 -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=D:\Demon\Vlc-sdk-lib-master\libvlc3.0.9\build\intermediates\cmake\debug\obj\armeabi-v7a -DCMAKE_BUILD_TYPE=Debug -DANDROID_NDK=F:\Software\Android\Sdk\ndk-bundle -DCMAKE_CXX_FLAGS=-std=c++11 -fexceptions -DCMAKE_TOOLCHAIN_FILE=F:\Software\Android\Sdk\ndk-bundle\build\cmake\android.toolchain.cmake -DCMAKE_MAKE_PROGRAM=F:\Software\Android\Sdk\cmake\3.6.4111459\bin\ninja.exe -GAndroid Gradle - Ninja} CMake Error in CMakeLists.txt:
The CMAKE_C_COMPILER:
is not a full path to an existing compiler tool.
Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.
The CMAKE_CXX_COMPILER:
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred!
See also "D:/Demon/Vlc-sdk-lib-master/libvlc3.0.9/.externalNativeBuild/cmake/debug/armeabi-v7a/CMakeFiles/CMakeOutput.log".
Build command failed.
报这个错误,cmake我已经下载了的