sleiner / pizmidi

A collection of helpful tools when working with MIDI
GNU General Public License v3.0
23 stars 4 forks source link

Builds for Windows #30

Open VirtualVirgin opened 1 year ago

VirtualVirgin commented 1 year ago

I did the VST3 builds provided here and they worked for MacOS but do not work on Windows 10. Viewing in Windows 10 they appear as folders instead of VST3 files and they do not get scanned when using VST hosts (Nuendo, Bidule etc.). The builds were done in XCode and Visual Studio and the results are the same for both. Am I doing something wrong?

sleiner commented 1 year ago

Hi @VirtualVirgin,

can you share the logs for the CMake configure step?

VirtualVirgin commented 1 year ago

Hello :) First off, thank you much for keeping these plugins alive! I have found pizmidi to be very useful utilities.

About the Windows build- I retried building the VST3s using Visual Studio and followed the directions to step 4. A .zip was created containing VST3 files, but they are not recognized by my apps, and when Nuendo scans for them it blocklists them. It turns out that they are 32bit versions . Is there a way to change these to 64 bit versions? I am only vaguely familiar with JUCE, but I think there is a way to set the plugin builds to 64bit in there?

pizmidi vst3 coming in as 32bit

I'm assuming the MacOS versions are 64bit, but when I pull them into Windows 10 I get folders: Pizmidi vst3 files from MacOS looks like this on Windows 10 pizmidi inside the VST3 folder

Any help on getting the pizmidi VST3s to work on Windows 10 would be appreciated.

sleiner commented 1 year ago

I have gotten a Windows machine for testing in the mean time and am able to reproduce the problem. Can you please retry the build steps with the "x64 Native Tools Command Prompt for VS 2022" instead of the "Developer PowerShell for VS 2022"?

That would be:

  1. Start the x64 Native Tools Command Prompt for VS 2022
  2. Navigate to the checkout directory using cd
  3. Make sure that every rest of previous builds is erased: git clean -fdx . (Keep in mind that this will delete everything under the checkout directory that is not tracked in Git)
  4. Run the build commands from README.md:
    cmake -S . --preset=windows-native
    cmake --build --preset=windows-native --parallel

Then you will find the VST3 plugins nested inside the checkout directory, e.g. .\build\windows-native\pizjuce\AudioToCC\piz_AudioToCC_artefacts\Release\VST3\Audio To CC.vst3\Contents\x86_64-win\Audio To CC.vst3

If you want to package all of the VST3 files together, you can do so (see step 5 in README.md)


I'm assuming the MacOS versions are 64bit, but when I pull them into Windows 10 I get folders

Yes. And the macOS builds will definitely not run under Windows.

VirtualVirgin commented 1 year ago

Thank you very much for your help! I can confirm that these instructions work and that the VST3 plugins are now being recognized over here on Windows 10 :)