Ok, I have to correct myself:
Compiling any C/C++ project on Windows is an absolute clusterfuck!
I've now almost spent more time trying to compile my program for Windows than writing the actual code for it - let that sink in!
Discussion
Ok, I have to correct myself:
Compiling any C/C++ project on Windows is an absolute clusterfuck!
I've now almost spent more time trying to compile my program for Windows than writing the actual code for it - let that sink in!
Whoop! It compiles now on Windows!
You'll never guess what the #error was...
...on my Windows machine I had a file sync program running in the background, which apparently tripped up the compilation process (the program to compile was in a folder that had been under sync)!
Once I moved the program out of this folder, it all compiled fine!
Holy cow! 🤯
Unfortunately, my program doesn't seem to work on #Windows yet. It just gets stuck after passing audio to #Whisper. 😢
Hmm... 🤔
My suspicion why it's "not working" is:
Even though I do `cargo run --release` I've seen, during my investigation of the above compiling-fail-nightmare, that it puts artifacts into `Debug` folder.
So it might be that the program (Whisper.cpp to be precise) runs as a debug build and is just _terribly_ slow. 🐌
Oh boy, the struggle continues... 🤸
This might be related:
https://codeberg.org/tazz4843/whisper-rs/issues/226
A space for Bonfire maintainers and contributors to communicate