[Mesa-dev] [Bug 38699] New: Can't compile with d3d1x since commit 73df31eedd0f33c8a9907855cb247c8f87964c48
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Jun 26 19:15:01 PDT 2011
https://bugs.freedesktop.org/show_bug.cgi?id=38699
Summary: Can't compile with d3d1x since commit
73df31eedd0f33c8a9907855cb247c8f87964c48
Product: Mesa
Version: git
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Other
AssignedTo: mesa-dev at lists.freedesktop.org
ReportedBy: alexandre.f.demers at gmail.com
Can't compile mesa master with d3d1x state tracker. Encountered error:
make[5]: Entering directory
`/home/dema1701/projects/mesa/mesa/src/gallium/state_trackers/d3d1x/dxgi'
g++ -c -I. -I../../../../../src/gallium/include
-I../../../../../src/gallium/auxiliary -I../../../../../src/gallium/drivers
-I../../../../../include -Iinclude -I../gd3dapi -I../d3dapi -I../w32api
-I../d3d1xstutil/include -I../include -I../../../include -I../../../auxiliary
-I../../../state_trackers/egl/common -g -O2 -Wall -fno-strict-aliasing -m64 -g
-fPIC -D_GNU_SOURCE -DPTHREADS -DDEBUG -DTEXTURE_FLOAT_ENABLED
-DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS -DPTHREADS
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_LIBUDEV -DHAVE_XCB_DRI2
-DXCB_DRI2_CONNECT_DEVICE_NAME_BROKEN -DHAVE_XEXTPROTO_71 -fvisibility=hidden
-DDXGI_DRIVER_SEARCH_DIR=\"/usr/lib/x86_64-linux-gnu/egl\"
-DGALLIUM_DXGI_USE_X11 src/dxgi_native.cpp -o src/dxgi_native.o
In file included from ../w32api/windef.h:252:0,
from ../w32api/windows.h:41,
from ../w32api/rpc.h:29,
from ../w32api/objbase.h:19,
from ../d3d1xstutil/include/d3d1xstutil.h:45,
from src/dxgi_private.h:34,
from src/dxgi_native.cpp:27:
../w32api/winnt.h:685:35: warning: attributes ignored on
elaborated-type-specifier that is not a forward declaration
In file included from ../w32api/objbase.h:20:0,
from ../d3d1xstutil/include/d3d1xstutil.h:45,
from src/dxgi_private.h:34,
from src/dxgi_native.cpp:27:
../w32api/rpcndr.h:177:1: warning: ‘_MIDL_STUB_MESSAGE’ has a field
‘_MIDL_STUB_MESSAGE::SavedContextHandles’ whose type uses the anonymous
namespace
../w32api/rpcndr.h:479:32: warning: ‘_SCONTEXT_QUEUE’ has a field
‘_SCONTEXT_QUEUE::ArrayOfObjects’ whose type uses the anonymous namespace
src/dxgi_native.cpp: In constructor
‘GalliumDXGIAdapter::GalliumDXGIAdapter(GalliumDXGIFactory*, const
native_platform*, void*)’:
src/dxgi_native.cpp:263:13: error: ‘const struct native_platform’ has no member
named ‘set_event_handler’
src/dxgi_native.cpp:265:54: error: too many arguments to function
src/dxgi_native.cpp:267:70: error: too many arguments to function
src/dxgi_native.cpp: In function ‘void GalliumDXGIUseX11Display(_XDisplay*,
IGalliumDXGIBackend*)’:
src/dxgi_native.cpp:1430:57: error: too few arguments to function ‘const
native_platform* native_get_x11_platform(const native_event_handler*)’
../../../state_trackers/egl/common/native.h:280:1: note: declared here
src/dxgi_native.cpp: In function ‘HRESULT CreateDXGIFactory1(const IID&,
void**)’:
src/dxgi_native.cpp:1496:61: error: too few arguments to function ‘const
native_platform* native_get_x11_platform(const native_event_handler*)’
../../../state_trackers/egl/common/native.h:280:1: note: declared here
make[5]: *** [src/dxgi_native.o] Error 1
After bisecting, culprit commit is:
commit 73df31eedd0f33c8a9907855cb247c8f87964c48
Author: Chia-I Wu <olv at lunarg.com>
Date: Sat Jun 25 14:52:57 2011 +0900
st/egl: reorganize backend initialization
Remove set_event_handler() and pass the event handler with
native_get_XXX_platform(). Add init_screen() so that the pipe screen is
created later. This way we don't need to pass user_data to
create_display().
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the mesa-dev
mailing list