Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.



This topic is 5453 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

Hey, I have a question regaurding the DirectMusic interface. My code says it compiles fine, but comes up with these errors:
--------------------Configuration: prj_learn - Win32 Debug--------------------
prj_learn.obj : error LNK2001: unresolved external symbol _CLSID_DirectMusicPerformance
prj_learn.obj : error LNK2001: unresolved external symbol _IID_IDirectMusicPerformance
Debug/prj_learn.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.

prj_learn.exe - 3 error(s), 0 warning(s)
Which meens I'm not adding somthing to my compiler to make it build properly. What am I forgetting? I've added all these libraries: // INCLUDES /////////////////////////////////////////////// #define WIN32_LEAN_AND_MEAN #include <windows.h> // include important windows stuff #include <windowsx.h> #include <mmsystem.h> #include <iostream.h> // include important C/C++ stuff #include <fstream.h> #include <conio.h> #include <stdlib.h> #include <malloc.h> #include <memory.h> #include <string.h> #include <stdarg.h> #include <stdio.h> #include <math.h> #include <io.h> #include <fcntl.h> #include <ddraw.h> // directX includes #include <dsound.h> #include <dmksctrl.h> #include <dmusici.h> #include <dmusicc.h> #include <dmusicf.h> [/source] And I've added the WINMM.lib dsound.lib ddraw.lib to my project. Anything else I need that I'm missing? Thanks in advance, -Sathenzar [edited by - demonrealms on October 22, 2003 7:44:04 PM]

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!