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

directx8 sdk problem

Started by DirectXXX Dec 9, 2002 at 12:43 PM 1 replies 550+ views
Original Post
DirectXXX
DirectXXX
im on a friend''s PC to test some d3d stuff but MSVisualC giving me errors like these I have directly moved mssdk from my disk to new disk and didnt installed the sdk from its setup as i lost it. I have correctly included all directx8 libs and include files in MSVC++ directories but it shows me problems when i compile it. ----------------------------------------------- common\include\ddutil.h(44) : error C2146: syntax error : missing '';'' before identifier ''m_pDD'' ..\..\common\include\ddutil.h(44) : error C2501: ''LPDIRECTDRAW7'' : missing storage-class or type specifiers ..\..\common\include\ddutil.h(44) : error C2501: ''m_pDD'' : missing storage-class or type specifiers ..\..\common\include\ddutil.h(45) : error C2146: syntax error : missing '';'' before identifier ''m_pddsFrontBuffer'' ..\..\common\include\ddutil.h(45) : error C2501: ''LPDIRECTDRAWSURFACE7'' : missing storage-class or type specifiers ..\..\common\include\ddutil.h(45) : error C2501: ''m_pddsFrontBuffer'' : missing storage-class or type specifiers ..\..\common\include\ddutil.h(46) : error C2146: syntax error : missing '';'' before identifier ''m_pddsBackBuffer'' ..\..\common\include\ddutil.h(46) : error C2501: ''LPDIRECTDRAWSURFACE7'' : missing storage-class or type specifiers ..\..\common\include\ddutil.h(46) : error C2501: ''m_pddsBackBuffer'' : missing storage-class or type specifiers ..\..\common\include\ddutil.h(47) : error C2146: syntax error : missing '';'' before identifier ''m_pddsBackBufferLeft'' ................................. ................................. ................................many others like same above ----------------------------------------------------------
S1CA
S1CA
In the MSVC search directories (Tools->Options->Directories) make sure you move the paths for the SDK to the **TOP** of the search list otherwise you''ll get that kind of error.


--
Simon O''Connor
Creative Asylum Ltd
www.creative-asylum.com
Simon O'Connor | Technical Director (Newcastle) Lockwood Publishing | LinkedIn | Personal site

Topic Locked

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

Sign in to reply to this topic.