first time compile

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

first time compile

Michael Rempel

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.

There is a newer free one, but it is command line only, and I prefer gui.

I am not stuck with this compiler, but I am fairly broke at thee moment, so
purchases are not possible.

I want to try my hand at a couple of new opcodes in CSound 5.

Guidance appreciated.

Michael Rempel




-------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: first time compile

Michael Gogins
You don't need to compile Csound itself, you can use the prebuilt Windows
executables.

Just compile against csound.h and whatever other headers that brings in.
Read the parts of the manual about building opcodes. Basically, plugin
opcodes can usually be just one .c file.

Regards,
Mike

----- Original Message -----
From: "Michael Rempel" <[hidden email]>
To: <[hidden email]>
Sent: Thursday, May 26, 2005 6:21 PM
Subject: [Cs-dev] first time compile


>
> 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.
>
> There is a newer free one, but it is command line only, and I prefer gui.
>
> I am not stuck with this compiler, but I am fairly broke at thee moment,
> so
> purchases are not possible.
>
> I want to try my hand at a couple of new opcodes in CSound 5.
>
> Guidance appreciated.
>
> Michael Rempel
>
>
>
>
> -------------------------------------------------------
> 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
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>




-------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: first time compile

Anthony Kozar
In reply to this post by Michael Rempel
On 5/26/05 6:21 PM, Michael Rempel <[hidden email]> 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
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: first time compile

Victor Lazzarini
Aren't these supposed to be in shared  libs?

At 04:02 27/05/2005, you wrote:

>Opcodes/ :
>   bowedbar.c
>   fm4op.c
>   mandolin.c
>   moog1.c
>   physutil.c
>   pitch.c
>   pitch0.c
>   shaker.c
>   singwave.c

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth



-------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel
Loading...