Vulkan-Tools
Vulkan-Tools copied to clipboard
Android build failure
$ cmake -S . -B build \
-D CMAKE_TOOLCHAIN_FILE=$ANDROID_NDK_HOME/build/cmake/android.toolchain.cmake
-D ANDROID_PLATFORM=26
-D CMAKE_ANDROID_ARCH_ABI=arm64-v8a
-D CMAKE_ANDROID_STL_TYPE=c++_static
-D ANDROID_USE_LEGACY_TOOLCHAIN_FILE=NO
-D CMAKE_BUILD_TYPE=Release
-D UPDATE_DEPS=ON
-G Ninja -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: D:/Users/Vector/AppData/Local/ndk/21.3.6528147/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: D:/Users/Vector/AppData/Local/ndk/21.3.6528147/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done Starting builds in D:\Personal\Projects\LunarG_repo\vulkanTools\external\Android\Release\armv7-a Installed Vulkan-Headers (v1.3.280) in 0.6241400241851807 seconds Installed volk (vulkan-sdk-1.3.280) in 1.1439473628997803 seconds -- Found Git: D:/Program Files/Git/mingw64/bin/git.exe (found version "2.32.0.windows.2") -- Configuring done (13.6s) CMake Error at cube/CMakeLists.txt:229 (target_link_libraries): Target "vkcube" links to:Vulkan::Headers
but the target was not found. Possible reasons include:
* There is a typo in the target name. * A find_package call is missing for an IMPORTED target. * An ALIAS target is missing.
CMake Error at vulkaninfo/CMakeLists.txt:109 (target_link_libraries): Target "vulkaninfo" links to:
Vulkan::Headers
but the target was not found. Possible reasons include:
* There is a typo in the target name. * A find_package call is missing for an IMPORTED target. * An ALIAS target is missing.
-- Generating done (0.0s) CMake Generate step failed. Build files cannot be regenerated correctly.