Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Help getting VC6 working please

Author
Message
Mr Snuggles
19
Years of Service
User Offline
Joined: 7th Dec 2004
Location:
Posted: 25th Jan 2005 12:53
If you recognise these errors and can give me a solution, I would greatly appreciate it.


--------------------Configuration: FIRST - Win32 Debug--------------------
Compiling...
main.cpp
c:\program files\microsoft visual studio\vc98\include\d3dtypes.h(109) : error C2011: '_D3DCOLORVALUE' : 'struct' type redefinition
c:\program files\microsoft visual studio\vc98\include\d3dtypes.h(128) : error C2011: '_D3DRECT' : 'struct' type redefinition
c:\program files\microsoft visual studio\vc98\include\d3dtypes.h(147) : error C2011: '_D3DVECTOR' : 'struct' type redefinition
c:\program files\microsoft visual studio\vc98\include\d3dtypes.h(416) : error C2011: '_D3DMATRIX' : 'struct' type redefinition
c:\program files\microsoft visual studio\vc98\include\d3dtypes.h(615) : error C2011: '_D3DLIGHTTYPE' : 'enum' type redefinition
c:\program files\microsoft visual studio\vc98\include\d3dtypes.h(749) : error C2011: '_D3DSHADEMODE' : 'enum' type redefinition
c:\program files\microsoft visual studio\vc98\include\d3dtypes.h(756) : error C2011: '_D3DFILLMODE' : 'enum' type redefinition
c:\program files\microsoft visual studio\vc98\include\d3dtypes.h(778) : error C2011: '_D3DBLEND' : 'enum' type redefinition
c:\program files\microsoft visual studio\vc98\include\d3dtypes.h(807) : error C2011: '_D3DTEXTUREADDRESS' : 'enum' type redefinition
c:\program files\microsoft visual studio\vc98\include\d3dtypes.h(815) : error C2011: '_D3DCULL' : 'enum' type redefinition
c:\program files\microsoft visual studio\vc98\include\d3dtypes.h(822) : error C2011: '_D3DCMPFUNC' : 'enum' type redefinition
c:\program files\microsoft visual studio\vc98\include\d3dtypes.h(834) : error C2011: '_D3DFOGMODE' : 'enum' type redefinition
c:\program files\microsoft visual studio\vc98\include\d3dtypes.h(858) : error C2011: '_D3DPRIMITIVETYPE' : 'enum' type redefinition
c:\program files\microsoft visual studio\vc98\include\d3dtypes.h(878) : error C2011: '_D3DTRANSFORMSTATETYPE' : 'enum' type redefinition
c:\program files\microsoft visual studio\vc98\include\d3dtypes.h(896) : error C2011: '_D3DRENDERSTATETYPE' : 'enum' type redefinition
c:\program files\microsoft visual studio\vc98\include\dsound.h(370) : error C2061: syntax error : identifier 'LPD3DVECTOR'
c:\program files\microsoft visual studio\vc98\include\dsound.h(371) : error C2061: syntax error : identifier 'LPD3DVECTOR'
c:\program files\microsoft visual studio\vc98\include\dsound.h(373) : error C2061: syntax error : identifier 'LPD3DVECTOR'
c:\program files\microsoft visual studio\vc98\include\dsound.h(443) : error C2061: syntax error : identifier 'LPD3DVECTOR'
c:\program files\microsoft visual studio\vc98\include\dsound.h(448) : error C2061: syntax error : identifier 'LPD3DVECTOR'
c:\program files\microsoft visual studio\vc98\include\dsound.h(449) : error C2061: syntax error : identifier 'LPD3DVECTOR'
c:\program files\the game creators\dark game sdk - freeware edition\include\darksdksound.h(97) : error C2146: syntax error : missing ';' before identifier 'dbGetSoundInterface'
c:\program files\the game creators\dark game sdk - freeware edition\include\darksdksound.h(97) : error C2501: 'LPDIRECTSOUND8' : missing storage-class or type specifiers
c:\program files\the game creators\dark game sdk - freeware edition\include\darksdksound.h(97) : fatal error C1004: unexpected end of file found
Error executing cl.exe.

main.obj - 24 error(s), 0 warning(s)

ooo isn't that precious
Mr Snuggles
19
Years of Service
User Offline
Joined: 7th Dec 2004
Location:
Posted: 25th Jan 2005 13:03
Okay, so apparently the December release of the Directx SDK doesn't friggin' work with VS6, and I need the October one. Does anybody know where I can find it?

ooo isn't that precious
billy the kid
19
Years of Service
User Offline
Joined: 7th Dec 2004
Location:
Posted: 25th Jan 2005 13:46
Its on the Microsoft site somewhere, but youll have to search for it. They have a huge listing of DirectX downloads somewhere. And you can get much older versions of DirectX than the October release. But I am not going to search for you.
Shadow Robert
21
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 25th Jan 2005 16:53
You have to install the DirectX Update 2004 (December/October) Extra's SDK. I know it is a pain but they have the replacement .lib for DirectX 9.0c for Visual C++ 6.0

I've personally not actually had it compiling correctly yet, but this said I tried for like 2minutes before I thought 'sod this', and reopened C++ 2005 heh

might be an idea investing in C++ 2003, you can get quite a cheap deal currently.

OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 25th Jan 2005 17:00
The December one does work with VS6 as long as you use the extras pack.

Mr Snuggles
19
Years of Service
User Offline
Joined: 7th Dec 2004
Location:
Posted: 26th Jan 2005 04:28
Ok... tried the extras pack, still not working. It can't find "d3dx8.lib"

ooo isn't that precious
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 26th Jan 2005 04:38
Have you setup the correct paths for both the libraries and headers ?
I dont have to my VS6 system at the mo - so I cant show you want it should be. However for VS .Net (which for this purpose should be close enough), see the pictures

Attachments

Login to view attachments
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 26th Jan 2005 04:38

Attachments

Login to view attachments
Mr Snuggles
19
Years of Service
User Offline
Joined: 7th Dec 2004
Location:
Posted: 27th Jan 2005 11:08
Ah! Workage. Thanks for your help.

ooo isn't that precious

Login to post a reply

Server time is: 2024-04-19 08:58:39
Your offset time is: 2024-04-19 08:58:39