Jump to content
  • Advertisement

Archived

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

neonoblivion

wav loading problem

This topic is 5821 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''m following the instructions for loading a wav file found in totwgpg but when I compile it I get the error,
  
--------------------Configuration: openglgame - Win32 Debug--------------------
Compiling...
main.cpp
Linking...
main.obj : error LNK2001: unresolved external symbol __imp__mmioAscend@12
main.obj : error LNK2001: unresolved external symbol __imp__mmioRead@12
main.obj : error LNK2001: unresolved external symbol __imp__mmioClose@8
main.obj : error LNK2001: unresolved external symbol __imp__mmioDescend@16
main.obj : error LNK2001: unresolved external symbol __imp__mmioOpenA@12
Debug/openglgame.exe : fatal error LNK1120: 5 unresolved externals
Error executing link.exe.

openglgame.exe - 6 error(s), 0 warning(s)
  
I tryed includeing every thing listed in the source file but it does not work please help

Share this post


Link to post
Share on other sites
Advertisement
make sure you have mmsystem.h included of course, and link with winmm.lib.

Always remember, you''''re unique. Just like everyone else.

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!