Quothe Victor Lazzarini, from writings of Sun, Dec 18, 2005 at 12:48:46AM +0100: > Looks like as far as your loris code is concerned, > you have outdated code. ENVIRON is not used anymore, > having been substituted by CSOUND. Hi, that's because, IIRC, I used the lorisgens files from the csound distribution. I downloaded the latest version of Loris. Here are some of the errors that I get, without ENVIRON being part of the error message, after just copying the Loris sources into Opcodes/Loris and withoug fiddling with the lorisgens files: Opcodes/Loris/src/lorisgens.C:46:36: warning: "/*" within comment In file included from Opcodes/Loris/src/lorisgens.C:52: Opcodes/Loris/src/lorisgens.h:39:23: csound/cs.h: No such file or directory In file included from Opcodes/Loris/src/lorisgens.C:52: Opcodes/Loris/src/lorisgens.h:50: error: `OPDS' does not name a type Opcodes/Loris/src/lorisgens.h:66: error: `OPDS' does not name a type Opcodes/Loris/src/lorisgens.h:82: error: `OPDS' does not name a type In file included from Opcodes/Loris/src/lorisgens.C:63: Opcodes/Loris/src/SdifFile.h:202: warning: ignoring #pragma mark Opcodes/Loris/src/lorisgens.C:93: warning: ignoring #pragma mark Opcodes/Loris/src/lorisgens.C:98: error: variable or field `setup_globals' declared void Opcodes/Loris/src/lorisgens.C:98: error: `GLOBALS' was not declared in this scope Opcodes/Loris/src/lorisgens.C:98: error: `csound' was not declared in this scope Opcodes/Loris/src/lorisgens.C:99: error: expected `,' or `;' before '{' token Opcodes/Loris/src/lorisgens.C: In function `double radianFreq(double)': Opcodes/Loris/src/lorisgens.C:219: error: `TWOPI' undeclared (first use this function) Opcodes/Loris/src/lorisgens.C:219: error: (Each undeclared identifier is reported only once for each function it appears in.) Opcodes/Loris/src/lorisgens.C: In function `void accum_samples(Loris::Oscillator&, Loris::Breakpoint&, double*, int)': Opcodes/Loris/src/lorisgens.C:245: error: `PI' undeclared (first use this function) Opcodes/Loris/src/lorisgens.C: At global scope: Opcodes/Loris/src/lorisgens.C:305: warning: ignoring #pragma mark Opcodes/Loris/src/lorisgens.C:340: error: `INSDS' was not declared in this scope Opcodes/Loris/src/lorisgens.C:340: error: template argument 1 is invalid Opcodes/Loris/src/lorisgens.C:340: error: ISO C++ forbids declaration of `Tag' with no type Opcodes/Loris/src/lorisgens.C:343: error: expected `;' before '(' token Opcodes/Loris/src/lorisgens.C:366: error: `const EnvelopeReader*EnvelopeReader::Find' is not a static member of `class EnvelopeReader' Opcodes/Loris/src/lorisgens.C:366: error: `INSDS' was not declared in this scope Opcodes/Loris/src/lorisgens.C:366: error: `owner' was not declared in this scope Opcodes/Loris/src/lorisgens.C:366: error: expected primary-expression before "int" Opcodes/Loris/src/lorisgens.C:367: error: initializer expression list treated as compound expression etc... -- R. D. Davis The difference between humans & other animals: an www.rddavis.org 410-744-4900 unnatural belief that we're above Nature & her Dangling Spiders other creatures, using dogma to justify such Electronic Music Studio beliefs and to justify much human cruelty.