Jump to content
  • Advertisement

Archived

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

SimplyOphidian

Newbie Question : Pls help me

This topic is 6196 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

I keep getting an Error on all the DirectDraw stuff I try and compile. Could someone pleas help me? I installed the DirectX 8.0 SDK on my computer and set it in Includes/Libraries on the Tools->Options thing. But I still get a buncha errors ..\..\common\include\ddutil.h(44) : error C2146: syntax error : missing '';'' before identifier ''m_pDD'' And the Codes on that line says LPDIRECTDRAW8 m_pDD; It seems to me like some DirectDraw thing isn''t getting included or something.. I dunno.. please help =) -Ophidian

Share this post


Link to post
Share on other sites
Advertisement
When you were setting up the library and include paths for the DX8 SDK files in Visual C++, did you also move them to the top of the list? Visual C++ includes an old version of the DX SDK (DX5 I think), and you have to make sure it looks in the mssdk folder first.

Also you have to go into Project->Settings->Link and tell Visual C++ which libs you are using, dxguid.lib, ddraw.lib, d3d8.lib etc.

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!