On Sat, Jul 26, 2008 at 11:05 AM, jpff wrote: > It is that has the stupid code in my versions. > It looks as is setting USE_MISC might help > > commonEnvironment.Prepend(CPPFLAGS = ['-D__USE_MISC']) -- where do I put that in custom.py? I tried it: if sys.platform[:5] == 'linux': platform = 'linux' customCPPPATH.append('/usr/include/fltk-1.1') customLIBPATH.append('/usr/lib/fltk-1.1') commonEnvironment.Prepend(CPPFLAGS = ['-D__USE_MISC']) -- and at the top of the file got an error that commondEnvironment is not defined: -- System platform is 'linux'. Using options from 'custom.py.' NameError: name 'commonEnvironment' is not defined: File "/home/bfuller/audio/csound5/SConstruct", line 305: fileOptions.Update(commonEnvironment) File "/usr/lib/scons-0.97/SCons/Options/__init__.py", line 145: execfile(filename, values) File "custom.py", line 18: commonEnvironment.Prepend(CPPFLAGS = ['-D__USE_MISC']) -- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net