Hi,
Has anyone been able to compile Plugdata with the generator for VS 64?
-
Build Plugdata in Windows
-
@flextUser It should work, I think you need at least Visual Studio (2019 or higher), python and git bash. If you have that, open git bash and run:
git clone --recursive https://github.com/plugdata-team/plugdata.git cd plugdata mkdir build && cd build cmake .. -G"Visual Studio 16 2019" -A x64 cmake --build .
You can also get nightly builds from the website: https://plugdata.org/download.html
-
Thank you Timothy! That's what I'm doing now but I get errors when building sln in VS (I can report) also, I would like to use the latest version of Pd from their git repository. Can I just replace the submodules ?
-
Unfortunately you can't, I put some hooks into the Pd source code that plugdata uses to know when GUI objects change.
What you can do, is use the master branch of my Pd fork, this is mostly up-to-date with Pd (it has multichannel), though it's a little bit behind.
-
Thank you. These are the errors I get when building solution in VS2022
-
@flextUser This looks to me like it didn't find python during the cmake step. Were there any errors when running cmake?
-
Thanks again for your help. I was able to fix build errors (git problems) but still get errors with LV2 which I don't need so I disabled it.
plugdata.exe will not launch, here is the output: -
@flextUser Are you on the develop branch already? I would highly recommend that, we've made a lot of progress. I'm not sure if that will solve your problem but it might help.
A quick thing you can try, is deleting plugdata's internal folder located at %APPDATA%/plugdata on Windows.
If you have ever installed a nightly build from the develop branch, and are now compiling an older version from the main branch, you might run into some problems. plugdata's settings are usually forward compatible, but in this stage of development not very backward-compatible.
-
Yes ! Deleting plugdata's internal folder worked, I also checked the develop branch. Thanks !