Sign in to follow this  
pheonix2468

PlaySound Errors

Recommended Posts

pheonix2468    164
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
lack the hack    110
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this