I went through all the steps on the compiling / installing page on Mesa's site, and read the FAQ. The final command that you send to scons for compilation throws errors within python scripts. This is my output. What am I doing wrong? Also if anyone has compiled dll's for mesa using up to date mesa and mingw, or VS2012, then please share!
Here is my output, I haven't programmed python in a long time but it appears a map/dictionary doesn't contain the key/value pair.
C:DownloadsMesaLib-9.1.5Mesa-9.1.5>scons platform=windows toolchain=crossming
w machine=x86_64 mesagdi libgl-gdi
scons: Reading SConscript files ...
KeyError: 'CCVERSION':
File "C:DownloadsMesaLib-9.1.5Mesa-9.1.5SConstruct", line 40:
ENV = os.environ,
File "C:Python27scons-2.3.0SConsEnvironment.py", line 1002:
apply_tools(self, tools, toolpath)
File "C:Python27scons-2.3.0SConsEnvironment.py", line 106:
env.Tool(tool)
File "C:Python27scons-2.3.0SConsEnvironment.py", line 1786:
tool(self)
File "C:Python27scons-2.3.0SConsTool\__init__.py", line 183:
self.generate(env, *args, **kw)
File "C:DownloadsMesaLib-9.1.5Mesa-9.1.5sconsgallium.py", line 313:
ccversion = env['CCVERSION']
File "C:Python27scons-2.3.0SConsEnvironment.py", line 412:
return self._dict[key]
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…