For a class project I'm attempting to write a VST plugin backed by CUDA. My current CUDA workflow is on a Linux box, so I'd prefer to compile and link there.
According to Wikipedia, this should be possible (I couldn't find any Steinberg documentation relevant to Linux) but I can't find a Makefile or instructions on how to build if you aren't using Xcode or Visual Studio.
I'm fairly certain that the VST 3 SDK doesn't 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 issue is caused by the following code in "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 compiling under Linux will work with VST SDK 2.4. Thanks for reading.