Closed yaman-lunarg closed 2 months ago
Can you post the CMakeCache.txt, and any relevant CMake logs?
I can see that Vulkan-Headers was installed locally, but it seems that Vulkan-Tools was not made aware of it.
I assume the build is trying to use the clang compiler but I just want to confirm that.
Found 3 cmake cache files: CMakeCache.txt CMakeCache (1).txt CMakeCache (2).txt
Could you also include the D:/Users/Vector/AppData/Local/ndk/21.3.6528147/build/cmake/android.toolchain.cmake
file?
Wait, this looks like an issue:
-D CMAKE_ANDROID_ARCH_ABI=arm64-v8a
Then later on, it appears `armv7-a' is where the Vulkan-Headers are being installed.
Starting builds in D:\Personal\Projects\LunarG_repo\vulkanTools\external\Android\Release\armv7-a
Arm 7 vs 8 also caught my attention. .txt to make github happy. I have 3 different NDKs: 21.3.6528147 25.2.9519653 26.2.11394342 android.toolchain.cmake.txt
So excuse my ignorance, but do you need to use a specific ndk with each android platform? I see that its using the 21.3.xxx ndk while the ANDROID_PLATFORM is 26.
I am very new to this android environment. Not sure how I ended up with three.
I'm not much better, and all of my android experience is on linux so I cannot rule out weirdness due to Windows.
25.2.9519653 is probably related to Khronos Samples.
Re-run the build using $ANDROID_NDK_HOME set to D:\Users\Vector\AppData\Local\ndk\26.2.11394342. Same error.
Closing this issue as I cannot reproduce the build error reported here. I've tested the Android build instructions on both Windows and Linux, using both the listed CMake command as well as the android.py
helper script and everything worked as expected.