1


我是 opengl 和 mesa3D 库的新手 我在 windows 8.1 64 位机器上编译 mesa3d 库时遇到了一些问题。
我试图按照这篇文章为 windows 7 构建 Mesa。Mesa 9.1但我在尝试构建时没有成功此命令带有 scons 的库

scons platform=windows toolchain=mingw machine=x86_64 mesagdi libgl-gdi

我收到以下错误

Checking for X11 (x11 xext xdamage xfixes)... no
Checking for XCB (x11-xcb xcb-glx >= 1.8.1)... no
Checking for XF86VIDMODE (xxf86vm)... no
Checking for DRM (libdrm >= 2.4.24)... no
Checking for DRM_INTEL (libdrm_intel >= 2.4.30)... no
Checking for XORG (xorg-server >= 1.6.0)... no
Checking for KMS (libkms >= 2.4.24)... no
Checking for UDEV (libudev > 150)... no
fatal: Not a git repository (or any of the parent directories): .git
WindowsError: [Error 3] The system cannot find the path specified:
  File "C:\Users\Admin\Downloads\Compressed\Mesa\SConstruct", line 151:
    duplicate = 0 # http://www.scons.org/doc/0.97/HTML/scons-user/x2261.html
  File "C:\Python27\scons-2.3.4\SCons\Script\SConscript.py", line 614:
    return method(*args, **kw)
  File "C:\Python27\scons-2.3.4\SCons\Script\SConscript.py", line 551:
    return _SConscript(self.fs, *files, **subst_kw)
  File "C:\Python27\scons-2.3.4\SCons\Script\SConscript.py", line 260:
    exec _file_ in call_stack[-1].globals
  File "C:\Users\Admin\Downloads\Compressed\Mesa\src\SConscript", line 27:
    SConscript('mesa/SConscript')
  File "C:\Python27\scons-2.3.4\SCons\Script\SConscript.py", line 614:
    return method(*args, **kw)
  File "C:\Python27\scons-2.3.4\SCons\Script\SConscript.py", line 551:
    return _SConscript(self.fs, *files, **subst_kw)
  File "C:\Python27\scons-2.3.4\SCons\Script\SConscript.py", line 260:
    exec _file_ in call_stack[-1].globals
  File "C:\Users\Admin\Downloads\Compressed\Mesa\src\mesa\SConscript", line 453:
    write_git_sha1_h_file("main/git_sha1.h")
  File "C:\Users\Admin\Downloads\Compressed\Mesa\src\mesa\SConscript", line 448:
    os.rename(tempfile, filename)

即使给定路径中有一个 SConstruct 文件

4

0 回答 0