Hi all-- first time posting here, please let me know if I'm doing it wrong.

I've been trying to compile PureVST 0.3 natively for Windows (using Visual 
Studio 17 2022 for my compiler-- MSVC) and there seems to be a set of macros 
and headers that the Windows doesn't like (not surprising!). Namely, in 
pdprocessor.cpp, it doesn't like <dlfcn.h>.

One can patch in a fix using this handy Windows rewrite of 
dlfcn.h<https://github.com/dlfcn-win32/dlfcn-win32>, though a bunch more linker 
errors pop up on the build step that involves the Pd source. I compiled the Pd 
source using the Makefile within MinGW, though since we're using MSVC for 
PureVST, it seems to have compatibility issues with the includes. Here's a 
Pastebin<https://pastebin.com/PxaaUvZX> of my Command Prompt.

All in all, I have tried: using MinGW for Pd source and MSVC for PureVST 
(linker errors when building PureVST), using MSVC for both Pd source and 
PureVST (fails to compile Pd source), using MinGW for both Pd source and 
PureVST (fails to compile VST SDK-- though there is 
this<https://github.com/perivar/vstsdk>, and it seems promising, though I don't 
know enough CMake to get it working), and using WSL for everything (compiles to 
a Linux VST, which isn't compatible with Windows DAWs).

I was wondering if any other Windows people have gone through this process and 
have found a fix. Seems like I've hit a wall here.

Any advice would be greatly appreciated!

Best,
Ian Doherty

UIUC CS+Music '25
i...@illinois.edu
 ---
pd-dev@lists.iem.at - the Pd developers' mailinglist
https://lists.iem.at/hyperkitty/list/pd-dev@lists.iem.at/message/AT4GPII6SSZTMJTZADUJY6JHECH7L4JW/

Reply via email to