Closed mpatalberta closed 3 months ago
my left panel of build
failed Download info The option setting 'android.prefabVersion=2.0.0' is experimental. :app:buildCMakeDebug[arm64-v8a] sample_test.h use of class template 'vkb::VulkanSample' requires template arguments [arm64-v8a] sample_test.cpp com.android.ide.common.process.ProcessException: ninja: Entering directory `D:\qualcomm_vulkan\tr3\Vulkan-Samples\build\android_gradle\app\build-native\Debug\4e840252\arm64-v8a'
Can you elaborate? Did you create a new sample using the script provided by our repo? If so, that's a known issue, see #1062
No i did the following: PMH786@61L-PMH786 /cygdrive/d/qualcomm_vulkan/tr3/Vulkan-Samples $ ./scripts/generate.py android Generating Android Gradle files at /cygdrive/d/qualcomm_vulkan/tr3/Vulkan-Samples/scripts/../build/android_gradle
Sorry here is what used: $ python scripts/generate.py android Generating Android Gradle files at /cygdrive/d/qualcomm_vulkan/tr3/Vulkan-Samples/scripts/../build/android_gradle
That's odd. The error comes from a "sample_test" file, which is not part of the repo. Did you maybe at some point in the past try to generate a new sample? Try deleting those files.
warnings generated. [379/404] Building CXX object samples/performance/swapchain_images/CMakeFiles/swapchain_images.dir/swapchain_images.cpp.o [380/404] Building CXX object samples/performance/texture_compression_basisu/CMakeFiles/texture_compression_basisu.dir/texture_compression_basisu.cpp.o [381/404] Building CXX object samples/performance/surface_rotation/CMakeFiles/surface_rotation.dir/surface_rotation.cpp.o [382/404] Building CXX object samples/performance/wait_idle/CMakeFiles/wait_idle.dir/wait_idle.cpp.o [383/404] Building CXX object samples/performance/texture_compression_comparison/CMakeFiles/texture_compression_comparison.dir/texture_compression_comparison.cpp.o [384/404] Building CXX object samples/tooling/profiles/CMakeFiles/profiles.dir/profiles.cpp.o ninja: build stopped: subcommand failed.
From left panel The option setting 'android.prefabVersion=2.0.0' is experimental. :app:buildCMakeDebug[arm64-v8a] vk_funcs.h hpp_oit_linked_lists.cpp oit_linked_lists.cpp pipeline_barriers.cpp subpasses.cpp com.android.ide.common.process.ProcessException: ninja: Entering directory `D:\qualcomm_vulkan\tr3\Vulkan-Samples\build\android_gradle\app\build-native\Debug\4e840252\arm64-v8a'
Can you post the actual error, or at least format that large blob of errors above in such a way that we can read this? Otherwise it's pretty much impossible to help.
@mpatalberta : Any update on this? If it's resolved, feel free to close. If not please try to provide more information so we can try to help.
Closing due to inactivity. If the issue persists, feel free to re-open.
In file included from D:/qualcomm_vulkana/tr3/Vulkan-Samples/samples/api/sample_test/sample_test.cpp:18: D:/qualcomm_vulkan/tr3/Vulkan-Samples/samples/api/sample_test/sample_test.h:42:22: error: use of class template 'vkb::VulkanSample' requires template arguments D:/qualcomm_vulkan/tr3/Vulkan-Samples/framework/vulkan_sample.h:127:7: note: template is declared here