plugdata-team / plugdata

Pure Data as a plugin, with a new GUI
https://plugdata.org
GNU General Public License v3.0
1.54k stars 66 forks source link

MSYS / MinGW #4

Closed btvd closed 2 years ago

btvd commented 2 years ago

Could not compile VST in WIn10 with MSYS / MinGW. Any advices how yo do it right?

timothyschoen commented 2 years ago

I still have to test it for minGW, but it should work when using Visual Studio 2019. My last build on windows was a few commits ago (before I restructured the cmake project), so I'll check if it still builds in minute!

If you have Visual Studio installed, run cmake -G "Visual Studio 16 2019" ..

btvd commented 2 years ago

I still have to test it for minGW, but it should work when using Visual Studio 2019. My last build on windows was a few commits ago (before I restructured the cmake project), so I'll check if it still builds in minute!

If you have Visual Studio installed, run cmake -G "Visual Studio 16 2019" ..

The problem is that I do not have it, so i've tried to use other installed buildtools... I use VS Code as IDE and MSYS/MinGW as toolchain provider

btvd commented 2 years ago

I can provide more information about errors I see while using MSYS / MinGW or any helpfull information that you need to fix it ))) I really want to use Pd as VST in Bitwig)))

timothyschoen commented 2 years ago

You could try the prebuilt version here: https://github.com/timothyschoen/PlugData/releases/tag/v0.1 Do keep in mind that there might be some bugs, it's a relatively new project so it's not a perfect solution yet.

I don't have any experience building JUCE projects with MinGW, so I'll dive into that later this week.

btvd commented 2 years ago

Thank's! Will wait for more info later!

btvd commented 2 years ago

You could try the prebuilt version here: https://github.com/timothyschoen/PlugData/releases/tag/v0.1 Do keep in mind that there might be some bugs, it's a relatively new project so it's not a perfect solution yet.

I don't have any experience building JUCE projects with MinGW, so I'll dive into that later this week.

I've tested vst3, Bitwig 4.0.1 does not see it :(((

timothyschoen commented 2 years ago

I've seen this problem before on Windows, I'll fix it tomorrow!

btvd commented 2 years ago

I found something, but don't know if it could help you https://github.com/McMartin/FRUT#documentation

timothyschoen commented 2 years ago

I use the cmake build system from Camomile, I think that it could work for MinGW as well, the problem right now is that I probably need to link pthreads differently for MinGW. I didn't get to it today because I'm finding more bugs than I hoped to... but it's high on the list to get the VSTs to at least appear on Windows.

btvd commented 2 years ago

I use the cmake build system from Camomile, I think that it could work for MinGW as well, the problem right now is that I probably need to link pthreads differently for MinGW. I didn't get to it today because I'm finding more bugs than I hoped to... but it's high on the list to get the VSTs to at least appear on Windows.

Thanks! If you need any help with testing - I'm in!

btvd commented 2 years ago

Will you make new realese for test?

timothyschoen commented 2 years ago

I'm releasing a new version today, unfortunately I haven't been able to reproduce this bug myself, but I've about it from multiple people. If it's still not fixed in this release, It'll be the first thing I'll be working on.

If it still doesn't work, I'm curious if it works in Reaper for you

timothyschoen commented 2 years ago

Closing because VSTs are appearing on Windows now, and MSYS/MinGW support is not a priority when it works with msbuild/Visual Studio