Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

knealeaj

Help Errors!!!!

This topic is 5372 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

When trying to compile my game I get these errors.I am using VC++ 6.Any suggestions Thanks gram files\microsoft visual studio\vc98\include\d3d8types.h(43) : error C2011: ''_D3DVECTOR'' : ''struct'' type redefinition c:\program files\microsoft visual studio\vc98\include\d3d8types.h(52) : error C2011: ''_D3DCOLORVALUE'' : ''struct'' type redefinition c:\program files\microsoft visual studio\vc98\include\d3d8types.h(62) : error C2011: ''_D3DRECT'' : ''struct'' type redefinition c:\program files\microsoft visual studio\vc98\include\d3d8types.h(72) : error C2011: ''_D3DMATRIX'' : ''struct'' type redefinition c:\program files\microsoft visual studio\vc98\include\d3d8types.h(155) : error C2011: ''_D3DLIGHTTYPE'' : ''enum'' type redefinition c:\program files\microsoft visual studio\vc98\include\d3d8types.h(189) : error C2011: ''_D3DSHADEMODE'' : ''enum'' type redefinition c:\program files\microsoft visual studio\vc98\include\d3d8types.h(196) : error C2011: ''_D3DFILLMODE'' : ''enum'' type redefinition c:\program files\microsoft visual studio\vc98\include\d3d8types.h(203) : error C2011: ''_D3DLINEPATTERN'' : ''struct'' type redefinition c:\program files\microsoft visual studio\vc98\include\d3d8types.h(208) : error C2011: ''_D3DBLEND'' : ''enum'' type redefinition c:\program files\microsoft visual studio\vc98\include\d3d8types.h(234) : error C2011: ''_D3DTEXTUREADDRESS'' : ''enum'' type redefinition c:\program files\microsoft visual studio\vc98\include\d3d8types.h(243) : error C2011: ''_D3DCULL'' : ''enum'' type redefinition c:\program files\microsoft visual studio\vc98\include\d3d8types.h(250) : error C2011: ''_D3DCMPFUNC'' : ''enum'' type redefinition c:\program files\microsoft visual studio\vc98\include\d3d8types.h(274) : error C2011: ''_D3DFOGMODE'' : ''enum'' type redefinition c:\program files\microsoft visual studio\vc98\include\d3d8types.h(290) : error C2011: ''_D3DPRIMITIVETYPE'' : ''enum'' type redefinition c:\program files\microsoft visual studio\vc98\include\d3d8types.h(300) : error C2011: ''_D3DTRANSFORMSTATETYPE'' : ''enum'' type redefinition c:\program files\microsoft visual studio\vc98\include\d3d8types.h(320) : error C2011: ''_D3DRENDERSTATETYPE'' : ''enum'' type redefinition Error executing cl.exe. shootemup.exe - 16 error(s), 0 warning(s)

Share this post


Link to post
Share on other sites
Advertisement
check if you''re not icluding anything more than once, like d3d8types.h. Also try to be a little more descriptive.

Share this post


Link to post
Share on other sites
Move your SDK include directories to the top of the search list, it''s using the ones supplied with VC6, which just cause problems.

---------------------------------------

Let''s struggle for our dream of Game!

http://andrewporritt.4t.com

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!