File not found error running py script
Running 'python3 get_steinberg_sdk.py' gives a file not found error:
File "get_steinberg_sdk.py", line 30, in <module>
os.rename("VST3 SDK", "Steinberg")
FileNotFoundError: [Errno 2] No such file or directory: 'VST3 SDK' -> 'Steinberg'
This then leads to 'cannot find source file' errors when running 'cmake .' My suspicion is Steinberg have altered the directory structure of their SDK. Any chance you could take a look into this?
(For info: MacOS 12.6, Python 3.8.2, Homebrew 3.6.5, cmake 3.24.2).
Thanks!
The script tries to download vstsdk366_27_06_2016_build_61.zip the VST SDK from the Steinberg download page. The build needs some of the older headers that Steinberg stopped shipping with the SDK. However, it looks like Steinberg is purposefully redirecting it to download vst-sdk_3.7.6_build-18_2022-09-05.zip instead. What a shame.
I looked for the older version online, but am unable to locate it unfortunately. :(
Good spot. Here's how I've managed to work around that.
Download build 61 via Wayback Machine.
Extract it and rename the 'VST3 SDK' folder to 'Steinberg'.
Skip python get_steinberg_sdk.py and go straight on to cmake ..
Unfortunately I've now come up against a new issue whilst running make, but I'll poke about at that for a bit and open a new issue if I need to.
Good spot. Here's how I've managed to work around that.
Download build 61 via Wayback Machine. Extract it and rename the 'VST3 SDK' folder to 'Steinberg'. Skip
python get_steinberg_sdk.pyand go straight on tocmake ..Unfortunately I've now come up against a new issue whilst running
make, but I'll poke about at that for a bit and open a new issue if I need to.
This is perfect, this was the first time I've managed to successfully build these plugins. I am keen to write a tutorial on how to do it, as the scripts need a bit of a cleanup to be able to do it properly. I should invest some time into a PR to resolve it.