oxe-synth compilation errors

All your LV2 and LADSPA goodness and more.

Moderators: MattKingUSA, khz

Post Reply
rwman
Established Member
Posts: 8
Joined: Fri Apr 03, 2015 11:01 pm

oxe-synth compilation errors

Post by rwman »

Hi. I am trying to build oxe-fm-synth. I got source code from https://github.com/oxesoft/oxefmsynth
I downloaded vst 3 sdk from official steinberg website: http://www.steinberg.net/sdk_downloads/ ... ild_67.zip
(i renamed it to vstsdk2.4, but that does not matter)
When i tried to compile, I got a lot of weird errors (see below).
Can anyone please confirm this?

Code: Select all

u1@pc1:/home/z/pproj/oxefmsynth> VSTSDK_PATH=/home/z/pproj/vstsdk2.4/ make -f Makefile.vstlinux DEBUG=YES
In file included from /home/z/pproj/vstsdk2.4/public.sdk/source/vst2.x/audioeffect.h:37:0,
                 from /home/z/pproj/vstsdk2.4/public.sdk/source/vst2.x/audioeffectx.h:37,
                 from /home/z/pproj/vstsdk2.4/public.sdk/source/vst2.x/aeffeditor.h:37,
                 from src/vst/oxevsteditor.h:19,
                 from src/vst/oxevst.cpp:19:
/home/z/pproj/vstsdk2.4/pluginterfaces/vst2.x/aeffect.h:158:32: error: expected ‘)’ before ‘*’ token
 typedef VstIntPtr (VSTCALLBACK *audioMasterCallback) (AEffect* effect, VstInt32 opcode, VstInt32 index, VstIntPtr value, void* ptr, float opt);
                                ^
In file included from /home/z/pproj/vstsdk2.4/public.sdk/source/vst2.x/audioeffect.h:37:0,
                 from /home/z/pproj/vstsdk2.4/public.sdk/source/vst2.x/audioeffectx.h:37,
                 from /home/z/pproj/vstsdk2.4/public.sdk/source/vst2.x/aeffeditor.h:37,
                 from src/vst/oxevsteditor.h:19,
                 from src/vst/oxevst.cpp:19:
/home/z/pproj/vstsdk2.4/pluginterfaces/vst2.x/aeffect.h:159:32: error: expected ‘)’ before ‘*’ token
 typedef VstIntPtr (VSTCALLBACK *AEffectDispatcherProc) (AEffect* effect, VstInt32 opcode, VstInt32 index, VstIntPtr value, void* ptr, float opt);
                                ^
/home/z/pproj/vstsdk2.4/pluginterfaces/vst2.x/aeffect.h:160:27: error: expected ‘)’ before ‘*’ token
 typedef void (VSTCALLBACK *AEffectProcessProc) (AEffect* effect, float** inputs, float** outputs, VstInt32 sampleFrames);
                           ^
/home/z/pproj/vstsdk2.4/pluginterfaces/vst2.x/aeffect.h:161:27: error: expected ‘)’ before ‘*’ token
 typedef void (VSTCALLBACK *AEffectProcessDoubleProc) (AEffect* effect, double** inputs, double** outputs, VstInt32 sampleFrames);
                           ^
/home/z/pproj/vstsdk2.4/pluginterfaces/vst2.x/aeffect.h:162:27: error: expected ‘)’ before ‘*’ token
 typedef void (VSTCALLBACK *AEffectSetParameterProc) (AEffect* effect, VstInt32 index, float parameter);
                           ^
/home/z/pproj/vstsdk2.4/pluginterfaces/vst2.x/aeffect.h:163:28: error: expected ‘)’ before ‘*’ token
 typedef float (VSTCALLBACK *AEffectGetParameterProc) (AEffect* effect, VstInt32 index);
                            ^
/home/z/pproj/vstsdk2.4/pluginterfaces/vst2.x/aeffect.h:182:2: error: ‘AEffectDispatcherProc’ does not name a type
  AEffectDispatcherProc dispatcher;
  ^
/home/z/pproj/vstsdk2.4/pluginterfaces/vst2.x/aeffect.h:185:2: error: ‘AEffectProcessProc’ does not name a type
  AEffectProcessProc DECLARE_VST_DEPRECATED (process);
  ^
....
[over 9000 other errors]
rghvdberg
Established Member
Posts: 1067
Joined: Mon May 12, 2014 7:11 am
Has thanked: 15 times
Been thanked: 36 times

Re: oxe-synth compilation errors

Post by rghvdberg »

Just curious, why compile this ? ("because I want to" is a valid answer)

Ready made plugins (for linux too) are on the website of oxefm. http://www.oxesoft.com/oxevst134.zip
User avatar
davephillips
Established Member
Posts: 592
Joined: Sat Aug 15, 2015 1:05 pm
Has thanked: 35 times
Been thanked: 23 times

Re: oxe-synth compilation errors

Post by davephillips »

Just for fun try building with this command sequence :

Code: Select all

export VSTSDK_PATH=/your/path/here
make
Build the whole enchilada, without specifying the DEBUG version. Let me know how it works.

Best,

dp
rwman
Established Member
Posts: 8
Joined: Fri Apr 03, 2015 11:01 pm

Re: oxe-synth compilation errors

Post by rwman »

davephillips wrote:Just for fun try building with this command sequence :

Code: Select all

export VSTSDK_PATH=/your/path/here
make
Build the whole enchilada, without specifying the DEBUG version. Let me know how it works.

Best,

dp
Still the same result - tons of same errors
rwman
Established Member
Posts: 8
Joined: Fri Apr 03, 2015 11:01 pm

Re: oxe-synth compilation errors

Post by rwman »

rghvdberg wrote:Just curious, why compile this ? ("because I want to" is a valid answer)

Ready made plugins (for linux too) are on the website of oxefm. http://www.oxesoft.com/oxevst134.zip
I am aware of these. I need to compile debug version to investigate crash in the qtractor: https://github.com/oxesoft/oxefmsynth/issues/7
User avatar
davephillips
Established Member
Posts: 592
Joined: Sat Aug 15, 2015 1:05 pm
Has thanked: 35 times
Been thanked: 23 times

Re: oxe-synth compilation errors

Post by davephillips »

Greets,

Btw, what system and compiler ?

Best,

dp
rwman
Established Member
Posts: 8
Joined: Fri Apr 03, 2015 11:01 pm

Re: oxe-synth compilation errors

Post by rwman »

davephillips wrote:Greets,

Btw, what system and compiler ?

Best,

dp
gcc 4.8 on openSUSE 13.2

Code: Select all

u1@pc1:/home/z/pproj/oxefmsynth> gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/4.8/lto-wrapper
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.8 --enable-ssp --disable-libssp --disable-plugin --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --enable-linker-build-id --enable-linux-futex --program-suffix=-4.8 --without-system-libunwind --with-arch-32=i586 --with-tune=generic --build=x86_64-suse-linux --host=x86_64-suse-linux
Thread model: posix
gcc version 4.8.3 20140627 [gcc-4_8-branch revision 212064] (SUSE Linux)
 
User avatar
davephillips
Established Member
Posts: 592
Joined: Sat Aug 15, 2015 1:05 pm
Has thanked: 35 times
Been thanked: 23 times

Re: oxe-synth compilation errors

Post by davephillips »

rwman wrote:
davephillips wrote:Greets,

Btw, what system and compiler ?
gcc 4.8 on openSUSE 13.2
What does

Code: Select all

g++ -v
report ? It should be the same version as gcc.



Best,

dp
rwman
Established Member
Posts: 8
Joined: Fri Apr 03, 2015 11:01 pm

Re: oxe-synth compilation errors

Post by rwman »

davephillips wrote: What does

Code: Select all

g++ -v
report ? It should be the same version as gcc.
Rreports the same:

Code: Select all

u1@pc1:~> g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/4.8/lto-wrapper
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.8 --enable-ssp --disable-libssp --disable-plugin --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --enable-linker-build-id --enable-linux-futex --program-suffix=-4.8 --without-system-libunwind --with-arch-32=i586 --with-tune=generic --build=x86_64-suse-linux --host=x86_64-suse-linux
Thread model: posix
gcc version 4.8.3 20140627 [gcc-4_8-branch revision 212064] (SUSE Linux) 
u1@pc1:~> 
rwman
Established Member
Posts: 8
Joined: Fri Apr 03, 2015 11:01 pm

Re: oxe-synth compilation errors

Post by rwman »

I found the reason of all these errors. There is a bug in VST 3 SDK source. It was also found few months ago here: https://sourceforge.net/p/lmuse/mailman ... @yahoo.de/

In the VST SDK, aeffect.h header should be fixed as follows:

Code: Select all

------- VST3 SDK/pluginterfaces/vst2.x/aeffect.h   line 67:
#elif defined(__GNUC__)
    #pragma pack(push,8)
    #if defined(__linux__)
            #define VSTCALLBACK
    #else
            #define VSTCALLBACK __cdecl
    #endif
Post Reply