"D3D9 and D3D10 cannot both be defined for static builds

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

belkacem
Quite a regular
Quite a regular
Posts: 83
Joined: Fri Jan 07, 2011 13:55

"D3D9 and D3D10 cannot both be defined for static builds

Postby belkacem » Sat Apr 09, 2011 11:05

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

User avatar
Kulik
CEGUI Team
Posts: 1382
Joined: Mon Jul 26, 2010 18:47
Location: Czech Republic
Contact:

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

Postby Kulik » Sat Apr 09, 2011 11:09

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).

belkacem
Quite a regular
Quite a regular
Posts: 83
Joined: Fri Jan 07, 2011 13:55

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

Postby belkacem » Sat Apr 09, 2011 16:07

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 ?


Return to “Help”

Who is online

Users browsing this forum: No registered users and 24 guests