Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:5575] RE: Csound4 GBS not compiling

Date2004-12-23 03:58
From"Michael Gogins"
Subject[CSOUND-DEV:5575] RE: Csound4 GBS not compiling
I was looking at the online CVS archive, which lags by a day or so the real 
archive. I should have used WinCVS!

That certainly explains it!

----- Original Message ----- 
From: "Anthony Kozar" 
To: "Csound Developers Discussion List" 
Sent: Wednesday, December 22, 2004 10:10 PM
Subject: [CSOUND-DEV:5574] RE: Csound4 GBS not compiling


> On 12/22/04 8:14 PM, Michael Gogins  etched in stone:
>
>> At any rate, main is properly defined in ccsound.c, so this is quite
>> puzzling.
>
> hmmm ...
>
> I just modified ccsound.c and this is what CVS says:
>
> #if defined(MACOSX) && !defined(RTAUDIO)
> int main(int argc, char **argv)
> {
>  void *csound = csoundCreate(0);
>  int rc = csoundPerform(csound, argc, argv);
>  csoundCleanup(csound);
>  csoundReset(csound);
>  csoundDestroy(csound);
>  return rc;
> }
> #endif
>
>
> Now, I HOPE that I wasn't that brain-dead when I commited this code, but I
> can only conclude that I must have been.
>
> Sorry.
>
> Please change the first line above to
>
> #if !defined(MACOSX) || (defined(MACOSX) && !defined(RTAUDIO))
>
> Anthony
>
>