Archived

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

SimplyOphidian

Newbie Question : Pls help me

Recommended Posts

SimplyOphidian    122
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
simon_brown75    123
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