Using the SynthEdit SDK
with
Eclipse / CDT / MinGW
This is what I did to get Eclipse, CDT, and MinGW
working with the SynthEdit Software Development Kit. I make no
guarantees. Use at your own risk. Realize too that Cygwin and MinGW
are not the same. I recommend that you do not use Cygwin because
linking to their libraries will infect your work with the GPL.
Nothing wrong with the GPL, but if you don't want to be legally bound
to open up your source code make sure the linker is not linking to
Cygwin files. You should also ask Jeff McClintock if he wants his
SDK source code GPL'ed. I bet he doesn't, but I didn't bother to
ask. MinGW on the other hand has taken this matter into account, and
you should read and understand what they have done and decide whether
that is going to work for you:
http://www.mingw.org/mingwfaq.shtml#faq-license
This tutorial
will “put the cookies on a shelf low enough that the kids can
get them”, so if you are a seasoned veteran and I say something
incredibly obvious, or maybe even stupid, please bear with me. Who
knows, maybe some high school student will do their science fair
project using this stuff. These are not trade secrets. I'd like to
think of it more like a SynthEdit development party.
Bill Steidtmann
– circa Feb 2006
Special
Note – If you are having trouble seeing the screenshots
in your browser, try right-clicking on the image and, in Firefox for
example, select “View Image”. The browser will show just
the image at it's full resolution, and should be quite clear.
Unfortunately Internet Explorer (5) does not have this. My advice:
Stop using Internet Explorer. You could also right-click and Copy the
image (onto the clipboard), and then paste it into a viewer, like
Irfanview
for example. Yet another solution in FireFox is an Image Zoom
extension. The point is this: The resolution is there, even if your
browser renders it poorly. Another option is to use the PDF
version(s) of these pages, which are very clear and you can zoom in
for a closer look.
Table
of Contents
- What is Eclipse and Why?
- What You Need
- Installation
- Running Eclipse for the First Time
- Compiling the SynthEdit SDK
- Compiling an Example Module: se_gain
- Debugging Part 1 - Eclipse and GDB
- Debugging Part 2 - BOO
- Compiling the Release Build
- Errors