Skip to main content
gamedev.net
🔒 Locked

wav loading problem

Started by neonoblivion 0 replies 350+ views
Original Post
neonoblivion
neonoblivion
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
Greven
Greven
make sure you have mmsystem.h included of course, and link with winmm.lib.

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

Topic Locked

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

Sign in to reply to this topic.