Компиляция Mesa 10.3.1 на Windows 7

У меня проблемы с компиляцией Mesa 10.3.1 под Windows 7 с использованием SCons и GCC под MinGW. Я использую Python 2.7.8 с расширениями pywin32, сборка 219. Я следовал инструкциям на официальном сайте Mesa - http://www.mesa3d.org/install.html, и все еще получаю эту ошибку:

C:\Users\Administrator\Mesa\Mesa-10.2.8>scons.py platform=windows build=debug li
bgl-gdi llvm=yes
scons: Reading SConscript files ...
Checking for MSVC ...  no
Checking for GCC ...  yes
Checking for Clang ...  no
Mkdir("build\windows-x86-debug")
scons: LLVM environment variable must be specified when building for windows
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.38)... no
Checking for DRM_INTEL (libdrm_intel >= 2.4.52)... no
Checking for UDEV (libudev >= 151)... no
scons: done reading SConscript files.
scons: Building targets ...
  Compiling src\gallium\targets\libgl-gdi\libgl_gdi.c ...
In file included from include/c11/threads.h:70:0,
                 from src\gallium\auxiliary/os/os_thread.h:43,
                 from src\gallium\drivers/llvmpipe/lp_screen.h:39,
                 from src\gallium\targets\libgl-gdi\libgl_gdi.c:49:
include/c11/threads_win32.h: In function 'thrd_equal':
include/c11/threads_win32.h:546:5: warning: implicit declaration of function 'Ge
tThreadId' [-Wimplicit-function-declaration]
     return GetThreadId(thr0) == GetThreadId(thr1);
     ^
In file included from src\gallium\drivers/llvmpipe/lp_screen.h:40:0,
                 from src\gallium\targets\libgl-gdi\libgl_gdi.c:49:
src\gallium\auxiliary/gallivm/lp_bld.h: At top level:
src\gallium\auxiliary/gallivm/lp_bld.h:49:27: fatal error: llvm-c/Core.h: No suc
h file or directory
 #include <llvm-c/Core.h>
                           ^
compilation terminated.
  Compiling src\gallium\state_trackers\wgl\stw_context.c ...
scons: *** [build\windows-x86-debug\gallium\targets\libgl-gdi\libgl_gdi.o] Error
 1
In file included from include/c11/threads.h:70:0,
                 from src\gallium\auxiliary/os/os_thread.h:43,
                 from src\gallium\state_trackers\wgl\stw_device.h:33,
                 from src\gallium\state_trackers\wgl\stw_context.c:44:
include/c11/threads_win32.h: In function 'thrd_equal':
include/c11/threads_win32.h:546:5: warning: implicit declaration of function 'Ge
tThreadId' [-Wimplicit-function-declaration]
     return GetThreadId(thr0) == GetThreadId(thr1);
     ^
scons: building terminated because of errors.

Кто-нибудь может мне помочь, пожалуйста?

Я использую файл scons.py по умолчанию.

0 ответов

Другие вопросы по тегам