Skip to main content
GameDev.net gamedev.net
🔒 Locked

Direct X

Started by OscarMeyer Nov 25, 2000 at 7:25 AM 3 replies 250+ views
Original Post
OscarMeyer
OscarMeyer
I have dx6.1 and I use borland and mingw32 when i try compiling any of the examples with mingw I get syntax errors. I can''t even get borland to work with it. anyone know why I am thinking it is the examples that came with it. could someone tell me how to fix this.
CGI Joe
CGI Joe
Are you using the correct libs for the Mingw32 compiler? You can''t use the ones that come with the Microsoft DirectX SDK, y''know. Secondly, it would help greatly if you post the error messages that you receive from the compiler.

"You say I''m a bitch like it''s a *bad* thing..."[email=alanetcetc@hotmail.com]Mail[/email] Site
OscarMeyer
OscarMeyer
64 wormhole.cpp
syntax error before =''
65 wormhole.cpp
syntax error before
=''

and like 10 more of those and then

88 wormhole.cpp
DDSURFACEDESC2'' undeclared (first use this function)
88 wormhole.cpp
parse error before
;''
115 wormhole.cpp
g_pDD'' u360 wormhole.cpp
IID_IDirectDraw4'' undeclared (first use this function)
ndeclared (first use this function)


there is a total of 15 errors accroding to devc++
I am using the ones that came with the sdk where do i get different ones?

OscarMeyer
OscarMeyer
I am not positive it worked with VC++ but it doesn''t seem to work with mingw.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.