| On 5/26/05 6:21 PM, Michael Rempel etched in stone:
> I have been poking around the source for a bit, and i want to compile on
> windows using Borland C/C++ 5.01 in windows.
My experiences with Borland C++ (don't know which version) were extremely
bad. It had terrible support for the standard, etc.
Of course, most of Csound is C, not C++, so you may be OK in that respect.
But you may want to consider using Dev-C++ as an IDE instead (it's free)
since it supports MinGW (somebody will correct me if I am wrong here).
Csound already compiles well with MinGW.
Compiling the core Csound library should not be too hard with an IDE. But
much of the code has been partitioned off into shared libraries. So to get
all of the existing opcodes and utilities this way, you may have to create
separate targets for each in your IDE of choice. (I know that this is
tedious work in CodeWarrior, thus I haven't done it yet).
Using a pre-compiled Csound and then building your own shared library opcode
plugins should not be too hard though, as Michael mentioned. I put together
a "software development kit" for some Csound 4 plugins on the Mac -- maybe
someone will do something similar for Csound 5 and Windows and include
project files for all of the popular IDEs.
Here are the files that I added to my CodeWarrior IDE project (on a Mac) to
compile a Csound 5 library and executable. (More files are necessary if you
turn on RTAUDIO, HAVE_FLTK, or want Midi).
frontends/csound/ : csound_main.c (for .exe only)
Top/ :
argdecode.c
cscore_internal.c
cscorfns.c
csmodule.c
csound.c
dl_opcodes.c
getstring.c
main.c
natben.c
new_opts.c
one_file.c
opcode.c
pvl_main.c
scot.c
threads.c
utility.c
Engine/ : (everything)
InOut/ :
libsnd.c
libsnd_u.c
midifile.c
midirecv.c
midisend.c
winascii.c
windin.c
window.c
winEPS.c
OOps/ : (everything)
Opcodes/ :
bowedbar.c
fm4op.c
mandolin.c
moog1.c
physutil.c
pitch.c
pitch0.c
shaker.c
singwave.c
H/ should be in your include paths.
You will need to link with Standard C libraries and a
compiled version of libsndfile at a minimum.
(Also, please note that things may have changed in the week since I last
tried this).
Good luck!
Anthony Kozar
anthonykozar@sbcglobal.net
http://akozar.spymac.net/
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |