[Csnd] Macro definition
Date | 2010-12-17 22:26 |
From | COCHEDELAFERTE |
Subject | [Csnd] Macro definition |
Hi all, Trying to play with Csound5.12.1 an example file called strings_02 (orc and sco) which worked fine for me (Solaris) with Csound5.11.1, i get this : orch compiler: Macro definition for LN2 Macro definition for LN10 Macro definition for PI Macro definition for TWOPI Macro definition for PIDIV2 Macro definition for SEMITONE and so on, and finally : Csound tidy up: Erreur de segmentation These macros are defined in an include file like this : /* some constants */ #define LN2 # 0.69314718 # #define LN10 # 2.30258509 # #define PI # 3.14159265 # #define TWOPI # 6.28318531 # #define PIDIV2 # 1.57079633 # #define SEMITONE # 1.05946309 # and so on. What can happen between Csound5.11.1 and Csound5.12.1 (same machine, same OS, same adaptations for Solaris) ? Or i missed something in the Csound5.12.1 build about macros ? The rest of my knowed files i tried with Csound5.12.1 looks good (mines and several usual example files). Greatings, Sergio |
Date | 2010-12-18 08:49 |
From | Andres Cabrera |
Subject | [Csnd] Re: Macro definition |
Hi, Are you building from source? If you are, try using the --old-parser flag, to see if it works. If it does, then it's a problem with the new parser. Cheers, Andres On Fri, Dec 17, 2010 at 10:26 PM, COCHEDELAFERTE <Serge.Coche@free.fr> wrote:
|
Date | 2010-12-18 23:21 |
From | COCHEDELAFERTE |
Subject | [Csnd] Re: Macro definition |
Hi Andres, Thank's ! Yes, i'm building Csound under Solaris from source. I doesn't found how to use explicitly the --old-parser flag, but i simply rebuilded all disabling this time "with new parser" in my SConstruct, verified also that the configuration decision was really without the new parser (and also with "scons --help"). Unfortunately this changed nothing in my macro problem... Cheers, Sergio |
Date | 2010-12-19 10:26 |
From | Andres Cabrera |
Subject | [Csnd] Re: Re: Macro definition |
Hi, Could you send the whole file? Cheers, Andres On Sat, Dec 18, 2010 at 11:21 PM, COCHEDELAFERTE <Serge.Coche@free.fr> wrote:
|
Date | 2010-12-19 18:48 |
From | COCHEDELAFERTE |
Subject | [Csnd] Re: Re: Macro definition |
Hi Andres, Here are : http://csound.1045644.n5.nabble.com/file/n3311324/strings_02.tar.bz2 strings_02.tar.bz2 The main files are, of course, strings_02.orc and strings_02.sco. The others are include files. Cheers, Sergio |