Post by digitalhuman on Nov 19, 2016 11:32:46 GMT 1
Hi there,
I am new to SynthEdit and I was trying to get the most basic exmple working in either Visual Studio or CodeBlocks or any other tool for that matter. At this point I have installed all versions of VS dating back to 2005. I have installed Borland 55, GNU GCC C++ and SE SDK3 (obviously).
I also have SynthEdit 1.2 and 1.1 installed. I tryed exporting a Container to a code skellton. Then open it, add a simple Message box or File create statement. Close it and build it. Does not work at all. Not in any of my installed VS versions nor in CodeBlocks following verious turorials.
This made me go back to the start. In the SDK 3 folder there is the Gain folder with the .bat build file. I executed that one, but right at the start (line 1) the errors begin. So, also no good reference there.
That me go and follow the CodeBlocks tutorial provided by SynthEdit here www.synthedit.com/software-development-kit/sdk-version-3-documentation/tutorial-codeblocks-compiler/. Followed every single step. At 'build' directly at line 1 I get errors. Even in the SDK Common header files.
-------------- Build: Debug in MyGain (compiler: GNU GCC Compiler)---------------
x86_64-w64-mingw32-g++.exe -std=c++11 -DSE_TARGET_SEM -DUNICODE -D_UNICODE -D_WIN32_WINNT=0x0603 -DWINVER=0x0603 -Wall -g -DBUILD_DLL -D_DEBUG -IC:\SynthEditSDK\se_sdk3 -c C:\SynthEditSDK\Gain\Gain.cpp -o obj\Debug\Gain\Gain.o
In file included from C:/SynthEditSDK/se_sdk3/mp_sdk_audio.h:8:0,
from C:\SynthEditSDK\Gain\Gain.h:6,
from C:\SynthEditSDK\Gain\Gain.cpp:3:
C:/SynthEditSDK/se_sdk3/mp_sdk_common.h:110:21: error: '_stdcall' declared as a 'virtual' field
#define MP_STDCALL _stdcall
^
C:/SynthEditSDK/se_sdk3/mp_sdk_common.h:256:18: note: in expansion of macro 'MP_STDCALL'
virtual int32_t MP_STDCALL queryInterface( const MpGuid& iid, IMpUnknown** returnInterface ) = 0;
^
C:/SynthEditSDK/se_sdk3/mp_sdk_common.h:110:21: error: expected ';' at end of member declaration
#define MP_STDCALL _stdcall
And the erros go on and on and on. For me its impossible to get started at this stage which sucks because I need to get started with an assignment for my customer. Is there anyone who can provide me a solution or simple working example? You would be my hero!
Cheers!
Digital Human
I am new to SynthEdit and I was trying to get the most basic exmple working in either Visual Studio or CodeBlocks or any other tool for that matter. At this point I have installed all versions of VS dating back to 2005. I have installed Borland 55, GNU GCC C++ and SE SDK3 (obviously).
I also have SynthEdit 1.2 and 1.1 installed. I tryed exporting a Container to a code skellton. Then open it, add a simple Message box or File create statement. Close it and build it. Does not work at all. Not in any of my installed VS versions nor in CodeBlocks following verious turorials.
This made me go back to the start. In the SDK 3 folder there is the Gain folder with the .bat build file. I executed that one, but right at the start (line 1) the errors begin. So, also no good reference there.
That me go and follow the CodeBlocks tutorial provided by SynthEdit here www.synthedit.com/software-development-kit/sdk-version-3-documentation/tutorial-codeblocks-compiler/. Followed every single step. At 'build' directly at line 1 I get errors. Even in the SDK Common header files.
-------------- Build: Debug in MyGain (compiler: GNU GCC Compiler)---------------
x86_64-w64-mingw32-g++.exe -std=c++11 -DSE_TARGET_SEM -DUNICODE -D_UNICODE -D_WIN32_WINNT=0x0603 -DWINVER=0x0603 -Wall -g -DBUILD_DLL -D_DEBUG -IC:\SynthEditSDK\se_sdk3 -c C:\SynthEditSDK\Gain\Gain.cpp -o obj\Debug\Gain\Gain.o
In file included from C:/SynthEditSDK/se_sdk3/mp_sdk_audio.h:8:0,
from C:\SynthEditSDK\Gain\Gain.h:6,
from C:\SynthEditSDK\Gain\Gain.cpp:3:
C:/SynthEditSDK/se_sdk3/mp_sdk_common.h:110:21: error: '_stdcall' declared as a 'virtual' field
#define MP_STDCALL _stdcall
^
C:/SynthEditSDK/se_sdk3/mp_sdk_common.h:256:18: note: in expansion of macro 'MP_STDCALL'
virtual int32_t MP_STDCALL queryInterface( const MpGuid& iid, IMpUnknown** returnInterface ) = 0;
^
C:/SynthEditSDK/se_sdk3/mp_sdk_common.h:110:21: error: expected ';' at end of member declaration
#define MP_STDCALL _stdcall
And the erros go on and on and on. For me its impossible to get started at this stage which sucks because I need to get started with an assignment for my customer. Is there anyone who can provide me a solution or simple working example? You would be my hero!
Cheers!
Digital Human