link error with DirectShow
-
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
-
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
Add Strmiids.lib and Quartz.lib in Additional Dependencies. See http://msdn2.microsoft.com/en-us/library/ms787647.aspx Amar:)
-
Add Strmiids.lib and Quartz.lib in Additional Dependencies. See http://msdn2.microsoft.com/en-us/library/ms787647.aspx Amar:)