Jump to content
  • Advertisement

Archived

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

HellspawnXIII

Linker error using DirectShow

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

I am making a game that I would like to use DirectShow, so I downloaded the 8.1 SDK, and I keep getting this linker error (using Microsoft VC++ 6.0) about ''an unresolved external symbol _IID_IGraphBuilder''. Anyone know what this is about? What lib files do I need to include in my project? Any help is appreciated. Thanks.

Share this post


Link to post
Share on other sites
Advertisement
Holy cow! Just about every definition in amstrmid.lib is giving me grief, totaling 358 linker errors! Here is the output:

amstrmid.lib(strmiids.obj) : error LNK2005: _IID_IKsPropertySet already defined in ChaosSphere.obj

Except imagine 357 more of those with varying symbols. It''s already defined in my game (ChaosSphere)? What is going on?

However, the original _IID_GraphBuilder is no longer an error, so that got fixed.

Share this post


Link to post
Share on other sites
you #defined INITGUID in some source files but not in others. don''t use it and link with appropriate libs instead.

Share this post


Link to post
Share on other sites
Okay, new problem: I render an mp3, play it, stop it, render a new mp3 and play that one and the old one is still going. They''re both playing at the same time! Do I need to make a new GraphBuilder for every mp3 I want to play? Or can I just ''unload'' the old mp3 and load the new one? I''ve checked out MSDN but none of the functions seemed to do any ''unloading'' except for the ->Release(). Any thoughts?

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!