You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
I'm trying to build Windows arm64 of whisper.cpp on x86 Windows machine using the following commands:
cmake -B build . -A ARM64 -DGGML_VULKAN=ONcmake --build build --target main
And it failed with the following error:
Generating Code... Auto build dll exports Creating library D:/audio/vibe/whisper-rs/sys/whisper.cpp/build/ggml/src/ggml-cpu/Debug/ggml-cpu.lib and object D:/audio/vibe/whisper-rs/sys/whisper.cpp/build/ggml/src/ggml-cpu/Debug/ggml-cpu.exp ggml-cpu.vcxproj -> D:\audio\vibe\whisper-rs\sys\whisper.cpp\build\bin\Debug\ggml-cpu.dll Building Custom Rule D:/audio/vibe/whisper-rs/sys/whisper.cpp/ggml/src/ggml-vulkan/vulkan-shaders/CMakeLists.txt vulkan-shaders-gen.cpp vulkan-shaders-gen.vcxproj -> D:\audio\vibe\whisper-rs\sys\whisper.cpp\build\bin\Debug\vulkan-shaders-gen.exe Generate vulkan shaders This version of D:\audio\vibe\whisper-rs\sys\whisper.cpp\build\bin\Debug\vulkan-shaders-gen.exe is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher.C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(254,5): error MSB8066: Custom build for 'D:\audio\vibe\whisper-rs\sys\whisper.cpp\build\CMakeFiles\e6562b2261b3b19b8d67699a1fbab730\ggml-vulkan-shaders.hpp.rule;D:\audio\vibe\whisper-rs\sys\whisper.cpp\ggml\src\ggml-vulkan\CMakeLists.txt' exited with code 216. [D:\audio\vibe\whisper-rs\sys\whisper.cpp\build\ggml\src\ggml-vulkan\ggml-vulkan.vcxproj]
It cannot generate the headers since the generated vulkan-shaders-gen.exe is for another platform (cross platform..)
How can I fix it? can we generate shaders for arm on x86?
Hi
I'm trying to build Windows arm64 of whisper.cpp on x86 Windows machine using the following commands:
And it failed with the following error:
It cannot generate the headers since the generated
vulkan-shaders-gen.exe
is for another platform (cross platform..)How can I fix it? can we generate shaders for arm on x86?
Related:
The text was updated successfully, but these errors were encountered: