| Author | Topic: How to use the SDK with Code::Block ? | ||
|---|---|---|---|
|
|||
Hi,
I used to code in C++ some years ago, and I want to jump in the VST programming. But it's been a while, and I have absolutely no idea how I can make Code::Block with MinGW use the headers from the Steinberg SDK. I de-zipped a the four zip files in c:\VST (VSTGui, VSTModuleArchitecture,AsioSDK,vst_sdk), but I can't go further... I would really enjoy some help here !! Thank you, and sorry for my bad english |
|||
| ^ | Joined: 01 Jul 2009 Member: #210539 | ||
|
|||
did you setup your CBP with the include paths pointing to the SDK and etc already? need those. |
|||
| ^ | Joined: 06 Apr 2003 Member: #6631 | ||
|
|||
| ^ | Joined: 23 Nov 2004 Member: #48996 Location: Hamburg, Germany | ||
|
|||
You can also import the sample MS visual c++ project in code::blocks. Just click the file/import project/MS visual c++ project.
That is how I did it. |
|||
| ^ | Joined: 10 Jul 2009 Member: #211084 | ||
|
|||
Thank you everyone !! I didn't have the time to try all this, but thank you for the help !! |
|||
| ^ | Joined: 01 Jul 2009 Member: #210539 | ||
|
|||
bobslot; did that work? i use codeblocks for work (linux platform) but win32 i've not tried yet. are you able to convert the project and compile the gain exmaple? |
|||
| ^ | Joined: 06 Apr 2003 Member: #6631 | ||
|
|||
grymmjack wrote: bobslot; did that work? i use codeblocks for work (linux platform) but win32 i've not tried yet. are you able to convert the project and compile the gain exmaple?
Yes. I did it from an tutorial, but I do not remember where it was from. I also forgot to say that you must change one more settings in code::blocks. After you imported the example project you must add "-def ..\win\vstplug.def" (without the ") in project/build options/linker settings/other linker options. It had something todo with exporting the correct main function so older hosts would see the new VSTPluginMain. Edit: I use VST 2.4 SDK. In VST 3 it might be different. But I hope it helps someone. |
|||
| ^ | Joined: 10 Jul 2009 Member: #211084 | ||
|
|||
i had a question ...
i recently downloaded the VST sdk 2.3 & 2.4(R2) i want to use one of those with some kind of C++ environment preferably with dev C++ 4.992, codeblocks 8.02 or any other freeware environment like that. i seriously want to start building some VST synths because i have a few good ideas that i think might really work. and i noticed you guys havn't posted any replies or thoughts since july of this year, .... hmmm |
|||
| ^ | Joined: 16 Jan 2006 Member: #94690 Location: east coast USA | ||
|
|||
BobSlot wrote: grymmjack wrote: bobslot; did that work? i use codeblocks for work (linux platform) but win32 i've not tried yet. are you able to convert the project and compile the gain exmaple?
Yes. I did it from an tutorial, but I do not remember where it was from. I also forgot to say that you must change one more settings in code::blocks. After you imported the example project you must add "-def ..\win\vstplug.def" (without the ") in project/build options/linker settings/other linker options. It had something todo with exporting the correct main function so older hosts would see the new VSTPluginMain. ... yep, i haven't messed with VST SDK, but i had to figure this -def option for a mIRC DLL, which also relies on specific exported functions |
|||
| ^ | Joined: 04 Sep 2006 Member: #118997 Location: 127.0.0.1 | ||
|
|||
Build again in code::blocks . . .
1) Make new EMPTY project and call it "again" - you can save this anywhere on your system 2) Assuming you have put the sdk at c:\vstsdk2.4, then right click on the project you have just created, select build options, got to the 'search directories' tab and add c:\vstsdk2.4 to the list. 3) Right click on the project and select add files. Add the following: C:\vstsdk2.4\public.sdk\source\vst2.x\audioeffect. cpp C:\vstsdk2.4\public.sdk\source\vst2.x\audioeffectx .cpp C:\vstsdk2.4\public.sdk\source\vst2.x\vstplugmain. cpp C:\vstsdk2.4\public.sdk\samples\vst2.x\again\sourc e\again.cpp C:\vstsdk2.4\public.sdk\samples\vst2.x\again\sourc e\again.h 4) Right click on the project, select 'Properties', navigate to the 'Build targets' tab and select 'Dynamic library' from the 'Type' drop down list. 5) Right click the project, select 'Build options' go to the linker settings tab and under 'Other linker options' add the following: -def C:\vstsdk2.4\public.sdk\samples\vst2.x\win\vstplug .def 6) Build the project. |
|||
| ^ | Joined: 19 Feb 2009 Member: #201372 Location: Nottingham, UK | ||
|
|||
Visual C++ 2008 Express Edition is totally free and allows development of commercial applications. I'd say it's the best IDE/compiler on Windows with distance. The VST SDK examples should build out of the box with it (and if not, it should be easy to get them to build). |
|||
| ^ | Joined: 11 May 2003 Member: #7137 |
![]() |
All times are GMT - 8 Hours | |
|
Printable version |
||
![]() Previous Topic Next Topic |
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum |
Disclaimer: All communications made available as part of this forum and any opinions, advice, statements, views or other information expressed in this forum are solely provided by, and the responsibility of, the person posting such communication and not of kvraudio.com (unless kvraudio.com is specifically identified as the author of the communication).
Powered by phpBB © phpBB Group














