Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code cannot be compiled #215

Open
dfengpo opened this issue Apr 11, 2024 · 2 comments
Open

Code cannot be compiled #215

dfengpo opened this issue Apr 11, 2024 · 2 comments

Comments

@dfengpo
Copy link

dfengpo commented Apr 11, 2024

After downloading, it has been unable to generate and keeps reporting that the wishper.dll file cannot be found

@Brendan-D15
Copy link

Make sure you follow the readme.

You probably missed Step 4 of the build instructions:

  1. Clone this repository

  2. Open WhisperCpp.sln in Visual Studio 2022. I’m using the freeware community edition, version 17.4.4.

  3. Switch to Release configuration

4. Build and run CompressShaders C# project, in the Tools subfolder of the solution.
To run that project, right click in visual studio, “Set as startup project”, then in the main menu of VS “Debug / Start Without Debugging”.
When completed successfully, you should see a console window with a line like that:

Compressed 46 compute shaders, 123.5 kb -> 18.0 kb

  1. Build Whisper project to get the native DLL, or WhisperNet for the C# wrapper and nuget package, or the examples.

Make sure you build and then run that specific project first (CompressShaders) using "Start Without Debugging" in Visual Studio and then build everything else.
After step 5, I then just built the entire WhisperCpp solution to generate WhisperDesktop.exe

@EricCheung17N9
Copy link

By the way, if you encounter an error says "C++ #include <atlbase.h> is not found",try add VS C++ATL@ 17.4 version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants