• Advertisement
Sign in to follow this  

PlaySound Errors

This topic is 4321 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 its been a while since my last post but i cant stay away from here :D Anyway im using Visual Studio 2005 and when i compile my project i get an unresolved external link error, i beleive i need to include a lib file but i cant find the tool to do so in vc2005. can anyone help?? if you need more detail just ask.

Share this post


Link to post
Share on other sites
Advertisement
how is this a PlaySound error? i have vc2003, so it might be the same. but here's how i link libs:
Create new Project.
On the top toolbar, click project->ProjectName properties
Then click on the Linker tab->Input
On the Additional Dependencies text box, put in whatever libraries you want to use. for PlaySound you'll need winmm.lib and you'll need to include <mmsystem.h>

for OpenGL, you'll want to link opengl32.lib glu32.lib (if you want GL Utilities), glaux.lib (if you want GL Auxiliary Functions), and glut32.lib (if you want GL Utilities Toolkit)

Hope that helps

--nathan

Share this post


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

  • Advertisement