🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

please help me with linker errror

Started by
1 comment, last by Atropos 24 years, 5 months ago
I can''t use the sound library from the andre lamothe book because everytime I try to compile a program with it I get this linker error: t3dlib3.obj : error LNK2001: unresolved external symbol __imp__mmioAscend@12 t3dlib3.obj : error LNK2001: unresolved external symbol __imp__mmioRead@12 t3dlib3.obj : error LNK2001: unresolved external symbol __imp__mmioClose@8 t3dlib3.obj : error LNK2001: unresolved external symbol __imp__mmioDescend@16 t3dlib3.obj : error LNK2001: unresolved external symbol __imp__mmioOpenA@12 Debug/test.exe : fatal error LNK1120: 5 unresolved externals I am including all of the dx libraries and header files I should be! I don''t understand. Does anyone have any idea what''s causing this?
Advertisement
When I do a search on mmioread, I get:


Windows NT/2000: Requires Windows NT 3.1 or later.
Windows 95/98: Requires Windows 95 or later.
Header: Declared in mmsystem.h.
Import Library: Use winmm.lib.



Notwen
Notwenwww.xbox.com
yep forgot to link in winmm.lib

Thanks a bunch

This topic is closed to new replies.

Advertisement