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

PlaySound Errors

Started by pheonix2468 Apr 23, 2006 at 12:04 PM 1 replies 1.1k views
Original Post
pheonix2468
pheonix2468
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.
lack the hack
lack the hack
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

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
pheonix2468
pheonix2468
Thanks alot that worked!! YaY i promise next time ill be a little less dumb (honest).

Topic Locked

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

Sign in to reply to this topic.