Is it possible to compile VST on Linux?

For a class project, I am trying to write a VST plugin supported by CUDA. My current CUDA workflow is in a Linux box, so I would rather compile and link it.

According to Wikipedia , this should be possible (I could not find the Steinberg documentation related to Linux), but I cannot find the Makefile or instructions on how to build if you are not using Xcode or Visual Studio.

I am sure that the VST 3 SDK does not support Linux. When I try to compile a plugin under Linux, I get this error:

./base/source/fatomic.cpp:39:30: fatal error: libkern/OSAtomic.h: No such file or directory 

This problem is caused by the following code in the "VST3 SDK / base / source / fatomic.cpp"

 #if MAC #include <libkern/OSAtomic.h> #if MAC_OS_X_VERSION_MIN_REQUIRED > MAC_OS_X_VERSION_10_4 #define NATIVE_ATOMIC_TYPE (volatile int32_t*) #else #define NATIVE_ATOMIC_TYPE (int32_t*) #endif #elif WINDOWS #include <windows.h> #endif 

But I hope Linux compilation will work with VST SDK 2.4. Thank you for reading.

+6
source share
1 answer

jVSTwrapper seems to work on linux, but they only support 2.4 SDKs at the moment. In fact, this is a much safer bet, since not many hosts have full support for VST3, and the 2.4 SDK is more or less universal. You will probably be more able to build with this SDK for Linux, but still need some fix.

In any case, here are some links on the forum ( 1 , 2 ) to get you started.

Edit: I also wrote about this a while ago, maybe it will be useful for any future visitors from Google:

http://teragonaudio.com/article/Building-VST-plugins-on-Linux.html

+6
source

Source: https://habr.com/ru/post/891771/


All Articles