0% found this document useful (0 votes)
38 views

Codeblocks-13.12mingw-Setup tdm64-gcc-4.8.1-3 Synthedit SDK3 DSP & Gui

The document provides instructions for setting up CodeBlocks IDE and building DSP and GUI modules for Synthedit using templates. It describes downloading required software, configuring the CodeBlocks project, adding SDK and code files, building in Debug and Release modes, and modifying settings to build 64-bit modules.
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views

Codeblocks-13.12mingw-Setup tdm64-gcc-4.8.1-3 Synthedit SDK3 DSP & Gui

The document provides instructions for setting up CodeBlocks IDE and building DSP and GUI modules for Synthedit using templates. It describes downloading required software, configuring the CodeBlocks project, adding SDK and code files, building in Debug and Release modes, and modifying settings to build 64-bit modules.
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

- Download and install: codeblocks-13.12mingw-setup - Download and install: tdm64-gcc-4.8.1-3 to the C: drive.

- Download and unpack: Synthedit SDK3 to e.g. C:\SE_SDK3. - Download and unpack these DSP & GUI templates to this folder: C:\Users\%username%\AppData\Roaming\CodeBlocks\UserTemplates

Note: The project settings required to make SE modules are pre set in these templates, so you only need to add the project files to build your module. Create your modules using either a copy of "Gain" example in the SDK3 folder, or thru the build skeleton code option in Synthedit (and move the created files to a new directory in the SDK3 folder with the required name), with your own code inserted.

- In Codeblocks create a new project, and choose for user templates on the left side of the create project window. - Choose DSP or GUI mods, and browse for the folder with your project files. - Give your project a name in the "Change project's filename" windows, this will also be the name of the module you create. - On the left you should see your project name, rightmouse on that name and choose "Add files". - Add the .cpp / .h / .xml / .rc files from your project folder. - Next do rightmouse again on your project name, go a folder up to "se_sdk3" directory and add: - For DSP modules add: mp_sdk_audio.cpp, mp_sdk_audio.h, mp_sdk_common.cpp, mp_sdk_common.h - For GUI modules add: mp_sdk_gui.cpp, mp_sdk_gui.h, mp_sdk_common.cpp, mp_sdk_common.h - Now you're ready to add your code, it will look like this on the left, build the 32 bit module with CTRL + F11. Changing from Debug to Release is found in the top menu. - How to add and change the code isn't included in this tutorial. 64bit modules: - To build 64 bit modules, you need to change the compiler used. - Change these settings at: Settings > Compiler > Toolchain Executables. - Compiler's Installation Directory: Point to the installation directory of the 64 bit compiler. - C-Compiler: mingw32-gcc.exe to x86_64-w64-mingw32-gcc.exe - C++ Compiler: mingw32-g++.exe to x86_64-w64-mingw32-g++.exe - Linker for dynamic libs: mingw32-g++.exe to x86_64-w64-mingw32-g++.exe - Close with "Ok". - Next goto "Project > Build options > Debug > Pre/Post Build steps. - Remove "(x86)" from the location to copy the created .sem to. - Do the same for the Release build. - Close with "Ok". - Choose Build.

Credits: Jeff, Xavier and Andrew. Links: - Jeff his old tutorial - Xavier his tutorial - Synthedit SDK usergroup

You might also like