Page 1 of 1

"D3D9 and D3D10 cannot both be defined for static builds

Posted: Sat Apr 09, 2011 11:05
by belkacem
hi

i want to build directx sample but when i change the config.lua and and cegui.lua to build the saples i get this error

"D3D9 and D3D10 cannot both be defined for static builds, because it will result in a linker conflict."

her is the files after i modified theme .

configure.lua
http://pastebin.com/nD7RP1MC

any help

Re: "D3D9 and D3D10 cannot both be defined for static builds

Posted: Sat Apr 09, 2011 11:09
by Kulik
And what exactly is the problem? The error states quite simply what you have to do (and that is only have D3D9 or D3D10 not both enabled for samples).

Re: "D3D9 and D3D10 cannot both be defined for static builds

Posted: Sat Apr 09, 2011 16:07
by belkacem
the problem is that i have this error even if i want to compile direct3d10 sample only !! and i get samples but they are not using direct3d10 why ?