Michael, your suggestion makes sense, but the SConstruct file is fresh out of CVS, so it's not something I've done to it. Victor: I'm compiling with MinGW. If this works for everybode else, it must be something strange with my system. I've tried retyping offending parts of the SConstruct by manual editing, but the same error shows up. Isn't it strange that the UnicodeDecode error related for example to the triple quotes ? I would think that the quote character was the same regardless of character encoding. (?) I've also tried to change indentation in the offending parts of SConstruct, but the same error happens anyway. I reinstalled scons too. Same problem. Then I uninstalled everything python related, and reinstalled python2.4 and scons. Still the same problem. Here's the error, using python2.4, and a SConstruct fresh out of CVS. UnicodeDecodeError: 'ascii' codec can't decode byte 0x9d in position 26: ordinal not in range(128): File "C:\msys\1.0\source\csound5\SConstruct", line 37: headers = Split(''' File "C:\Python24\scons-0.97\SCons\Script\SConscript.py", line 581: env = self.factory() File "C:\Python24\scons-0.97\SCons\Script\SConscript.py", line 561: default_env = SCons.Defaults.DefaultEnvironment() File "C:\Python24\scons-0.97\SCons\Defaults.py", line 66: _default_env = apply(SCons.Environment.Environment, args, kw) File "C:\Python24\scons-0.97\SCons\Environment.py", line 794: apply_tools(self, tools, toolpath) File "C:\Python24\scons-0.97\SCons\Environment.py", line 137: env.Tool(tool) File "C:\Python24\scons-0.97\SCons\Environment.py", line 1340: tool(self) File "C:\Python24\scons-0.97\SCons\Tool\__init__.py", line 157: apply(self.generate, ( env, ) + args, kw) File "C:\Python24\scons-0.97\SCons\Tool\default.py", line 41: SCons.Tool.Tool(t)(env) File "C:\Python24\scons-0.97\SCons\Tool\__init__.py", line 157: apply(self.generate, ( env, ) + args, kw) File "C:\Python24\scons-0.97\SCons\Tool\mslink.py", line 200: include_path, lib_path, exe_path = SCons.Tool.msvc.get_msvc_paths(env,versio n) File "C:\Python24\scons-0.97\SCons\Tool\msvc.py", line 564: include_path = get_msvc_path(env, "include", version) File "C:\Python24\scons-0.97\SCons\Tool\msvc.py", line 349: return _get_msvc8_path(path, str(version_num), platform, suite) File "C:\Python24\scons-0.97\SCons\Tool\msvc.py", line 291: dirs = _parse_msvc8_overrides(version, platform, suite) File "C:\Python24\scons-0.97\SCons\Tool\msvc.py", line 194: settings_path = settings_path.replace(r'%' + env_var + r'%', env_vars[env_va r]) 2007/10/18, Michael Gogins : > Python 2.5 has encoding in Python script files. You have characters in your > SConstruct that are not in the default encoding. You should delete the > mentioned range of text and type it in again by hand, or use an editor that > displays odd characters and delete them individually, then it should be OK. > > Hope this helps, > Mike > > ----- Original Message ----- > From: "Oeyvind Brandtsegg" > To: "Developer discussions" > Sent: Thursday, October 18, 2007 5:46 AM > Subject: [Cs-dev] compiling again > > > Hello, > > I tried to compile csound (on winXP) today, > after updating to python2.5. > I also installed for python2.5. > > Maybe there's something obvious that I've forgotten to install, > as I used to be able to compile (with python2.4, now completely > removed from my system). > > Below is a console printout. > Hope someone can give me a hint as to what I did wrong. > > best > Oeyvind > > yvind@HFF10894 /source/csound5 > $ c:/python25/Scripts/Scons > scons: Reading SConscript files ... > > C S O U N D 5 > > SCons build file for Csound 5: > API library, plugin opcodes, utilities, and front ends. > > By Michael Gogins > > For custom options, run 'scons -h'. > For default options, run 'scons -H'. > If headers or libraries are not found, edit 'custom.py'. > For Linux, run in the standard shell > with standard Python and just run 'scons'. > For MinGW, run in the MSys shell > and use www.python.org WIN32 Python to run scons. > > UnicodeDecodeError: 'ascii' codec can't decode byte 0x9d in position > 26: ordinal not in range(128): > File "C:\msys\1.0\source\csound5\SConstruct", line 42: > ''') > File > "C:\Python25\Lib\site-packages\scons-0.97.0d20070918\SCons\Script\SConscript.py", > line 594: > env = self.factory() > File > "C:\Python25\Lib\site-packages\scons-0.97.0d20070918\SCons\Script\SConscript.py", > line 574: > default_env = SCons.Defaults.DefaultEnvironment() > File > "C:\Python25\Lib\site-packages\scons-0.97.0d20070918\SCons\Defaults.py", > line 89: > _default_env = apply(SCons.Environment.Environment, args, kw) > File > "C:\Python25\Lib\site-packages\scons-0.97.0d20070918\SCons\Environment.py", > line 874: > apply_tools(self, tools, toolpath) > File > "C:\Python25\Lib\site-packages\scons-0.97.0d20070918\SCons\Environment.py", > line 101: > env.Tool(tool) > File > "C:\Python25\Lib\site-packages\scons-0.97.0d20070918\SCons\Environment.py", > line 1491: > tool(self) > File > "C:\Python25\Lib\site-packages\scons-0.97.0d20070918\SCons\Tool\__init__.py", > line 175: > apply(self.generate, ( env, ) + args, kw) > File > "C:\Python25\Lib\site-packages\scons-0.97.0d20070918\SCons\Tool\default.py", > line 41: > SCons.Tool.Tool(t)(env) > File > "C:\Python25\Lib\site-packages\scons-0.97.0d20070918\SCons\Tool\__init__.py", > line 175: > apply(self.generate, ( env, ) + args, kw) > File > "C:\Python25\Lib\site-packages\scons-0.97.0d20070918\SCons\Tool\mslink.py", > line 204: > include_path, lib_path, exe_path = > SCons.Tool.msvc.get_msvc_paths(env,version) > File > "C:\Python25\Lib\site-packages\scons-0.97.0d20070918\SCons\Tool\msvc.py", > line 564: > include_path = get_msvc_path(env, "include", version) > File > "C:\Python25\Lib\site-packages\scons-0.97.0d20070918\SCons\Tool\msvc.py", > line 349: > return _get_msvc8_path(path, str(version_num), platform, suite) > File > "C:\Python25\Lib\site-packages\scons-0.97.0d20070918\SCons\Tool\msvc.py", > line 291: > dirs = _parse_msvc8_overrides(version, platform, suite) > File > "C:\Python25\Lib\site-packages\scons-0.97.0d20070918\SCons\Tool\msvc.py", > line 194: > settings_path = settings_path.replace(r'%' + env_var + r'%', > env_vars[env_var]) > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net