Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. link error with DirectShow

link error with DirectShow

Scheduled Pinned Locked Moved C / C++ / MFC
debugginghelpquestionannouncement
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mwolf122
    wrote on last edited by
    #1

    i am using dshow to play a video. (i am using dx9) top of my project, i set, #include #include #include ... in Debug, the program runs successfully, when i changed to release, it has link error, error LNK2001: unresolved external symbol _CLSID_NullRenderer error LNK2001: unresolved external symbol _IID_ISampleGrabber error LNK2001: unresolved external symbol _CLSID_SampleGrabber error LNK2001: unresolved external symbol _IID_ICaptureGraphBuilder2 when i change Debug again, it can not be complied with the link error also. do you have any idea? thanks. Lei

    A 1 Reply Last reply
    0
    • M mwolf122

      i am using dshow to play a video. (i am using dx9) top of my project, i set, #include #include #include ... in Debug, the program runs successfully, when i changed to release, it has link error, error LNK2001: unresolved external symbol _CLSID_NullRenderer error LNK2001: unresolved external symbol _IID_ISampleGrabber error LNK2001: unresolved external symbol _CLSID_SampleGrabber error LNK2001: unresolved external symbol _IID_ICaptureGraphBuilder2 when i change Debug again, it can not be complied with the link error also. do you have any idea? thanks. Lei

      A Offline
      A Offline
      Amar Sutar
      wrote on last edited by
      #2

      Add Strmiids.lib and Quartz.lib in Additional Dependencies. See http://msdn2.microsoft.com/en-us/library/ms787647.aspx Amar:)

      M 1 Reply Last reply
      0
      • A Amar Sutar

        Add Strmiids.lib and Quartz.lib in Additional Dependencies. See http://msdn2.microsoft.com/en-us/library/ms787647.aspx Amar:)

        M Offline
        M Offline
        mwolf122
        wrote on last edited by
        #3

        thx. it works. :)

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups