Hello all,
first of all greetings for this project. I’m interested in writing some patches. I’d like to start working with OwlSim as a beginning. It’s been some years I didn’t practice c++.
I have some troubles building with Visual Studio Express 2013. I took this one as it’s a free one and OwlSim has the VisualStudio project, it should build.
I had the following problems. Does someone knows how to resolve it ?
-
In SimpleDelayPatch, int32_t is not recognized :
I resolve this in StompBox.h with this dirty line :
#define int32_t int32
Maybe using replacing by int or int32 should be better. -
some array initializers use a resolve-time size assignment. I’m surprise by this, and VisualStudio too. It must be some modern stuff, as VisualStudio doesn’t support new c++ features (C99 ?).
In LpfDelayPatch and LpfDelayPhaserPatch, I replaced :
//float y[getBlockSize()];
float *y = new float[getBlockSize()];
It’s just for building, as it should be freed afterwards or added as a class member to avoid allocating each time. Or something that’s beyond a 30-seconds analysis. -
the dependencie lib FLAC doesn’t build : stream_encoder.c and stream_decoder.c has a lot of errors. All types FLAC_something are not known, as are some functions like fseeko, ftello.
It must be some includes or libs missing. The VST SDK is installed and its path is OK. -
REGISTER_PATCH in patches.cpp fail as it resolves to a class function, but called without class instance.