Jump to content
  • Advertisement
Sign in to follow this  
mojtaba_e

Problem in libraries...

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

Hi I downloaded project files.(3dsoundtutorial.zip) but i can't compile it. VC++ compiler finds 19 errors! --------------------Configuration: 3DSoundTutorial - Win32 Debug---------------- Compiling... 3DSoundTutorial.cpp d:\documents and settings\mojtaba\desktop\3dsoundtutorial\c3dsound.h(105) : error C2143: syntax error : missing ';' before '*' d:\documents and settings\mojtaba\desktop\3dsoundtutorial\c3dsound.h(105) : error C2501: 'IDirectSound3DBuffer8' : missing storage-class or type specifiers d:\documents and settings\mojtaba\desktop\3dsoundtutorial\c3dsound.h(105) : error C2501: 'm_pDSB' : missing storage-class or type specifiers d:\documents and settings\mojtaba\desktop\3dsoundtutorial\c3dsound.h(108) : error C2143: syntax error : missing ';' before '*' d:\documents and settings\mojtaba\desktop\3dsoundtutorial\c3dsound.h(108) : error C2501: 'IDirectSound3DListener8' : missing storage-class or type specifiers d:\documents and settings\mojtaba\desktop\3dsoundtutorial\c3dsound.h(108) : error C2501: 'm_pListener' : missing storage-class or type specifiers C3DSound.cpp d:\documents and settings\mojtaba\desktop\3dsoundtutorial\c3dsound.h(105) : error C2143: syntax error : missing ';' before '*' d:\documents and settings\mojtaba\desktop\3dsoundtutorial\c3dsound.h(105) : error C2501: 'IDirectSound3DBuffer8' : missing storage-class or type specifiers d:\documents and settings\mojtaba\desktop\3dsoundtutorial\c3dsound.h(105) : error C2501: 'm_pDSB' : missing storage-class or type specifiers d:\documents and settings\mojtaba\desktop\3dsoundtutorial\c3dsound.h(108) : error C2143: syntax error : missing ';' before '*' d:\documents and settings\mojtaba\desktop\3dsoundtutorial\c3dsound.h(108) : error C2501: 'IDirectSound3DListener8' : missing storage-class or type specifiers d:\documents and settings\mojtaba\desktop\3dsoundtutorial\c3dsound.h(108) : error C2501: 'm_pListener' : missing storage-class or type specifiers D:\Documents and Settings\Mojtaba\Desktop\3dsoundtutorial\C3DSound.cpp(18) : error C2065: 'm_pDSB' : undeclared identifier D:\Documents and Settings\Mojtaba\Desktop\3dsoundtutorial\C3DSound.cpp(67) : error C2065: 'GUID_All_Objects' : undeclared identifier D:\Documents and Settings\Mojtaba\Desktop\3dsoundtutorial\C3DSound.cpp(67) : error C2065: 'm_pListener' : undeclared identifier D:\Documents and Settings\Mojtaba\Desktop\3dsoundtutorial\C3DSound.cpp(79) : error C2227: left of '->Release' must point to class/struct/union D:\Documents and Settings\Mojtaba\Desktop\3dsoundtutorial\C3DSound.cpp(82) : error C2227: left of '->Release' must point to class/struct/union D:\Documents and Settings\Mojtaba\Desktop\3dsoundtutorial\C3DSound.cpp(113) : error C2227: left of '->SetPosition' must point to class/struct/union D:\Documents and Settings\Mojtaba\Desktop\3dsoundtutorial\C3DSound.cpp(122) : error C2227: left of '->SetPosition' must point to class/struct/union Generating Code... Error executing cl.exe. 3DSoundTutorial.exe - 19 error(s), 0 warning(s) ----------------------------------- Thanks, Mojtaba Ebrahimi.

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • 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!