How to build on windows? #85
Replies: 8 comments 28 replies
-
It works perfectly through WSL on Windows 10. Install Ubuntu ('wsl --install' command in Powershell). Then install the make and build-essential packages in your Ubuntu instance, and you're all set. From there, you can follow the steps written by @ggerganov in the readme, as if you were on Linux (well, you actually are using a Linux instance at that point, albeit a virtual one 🙂) |
Beta Was this translation helpful? Give feedback.
-
Another option is to get the latest executable from the Actions page: |
Beta Was this translation helpful? Give feedback.
-
At the end of actions page, you will find executables for Windows. To
download, you need to login your GitHub account.
…On Thu, 8 Dec 2022, 15:05 vitacon, ***@***.***> wrote:
Well, I managed to compile "main.exe" in Visual Studio 2022 running cmake:
"c:\Program Files\Microsoft Visual
Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe"
-S . -B ./build
It created a bunch of different project files and I could open
.\build\ALL_BUILD.vcxproj and compile it from VS IDE.
However, I would still like to get the "proper" latest automated build,
but all I can see on Actions page are logs from the compilation process:
Run ***@***.***
Uploading artifact 'whisper-bin-x64' from 'D:\a\whisper.cpp\whisper.cpp\build\bin\RelWithDebInfo' for run #300
Uploading 12 files
File upload complete.
Uploaded '61310873' bytes from 'D:\a\whisper.cpp\whisper.cpp\build\bin\RelWithDebInfo' to server
Associated artifact whisper-bin-x64 (1821441) with run #300
I suppose I am not looking in the right place? It would be also easier if
the exact link was mentioned on the main page (readme.md) but I can't find
it there either... =(
—
Reply to this email directly, view it on GitHub
<#85 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AF5JAEDUQ2PAAHYX33YO5P3WMHMIJANCNFSM6AAAAAARNG57YI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
Technically, File / Open / CMake works OK. Practically, the .exe made that way doesn’t use AVX2 or even AVX, and takes 7.5 minutes to process |
Beta Was this translation helpful? Give feedback.
-
How can I compile it with cl.exe? what is the lib that I need to link it to? |
Beta Was this translation helpful? Give feedback.
-
Can I use the whisper.dll asset in a C# project? I'm not sure how to know what the exported methods are. |
Beta Was this translation helpful? Give feedback.
-
You can read the PKGBUILDs from the msys2 project |
Beta Was this translation helpful? Give feedback.
-
Building with CMake and Visual Studio 2019 worked fine for me. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
All reactions