help! lnk2001

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

I tried to build a sample with .net (written in c++). I made sure that all the paths and linkings are correct. But still I get this error

simpleTest error LNK2001: unresolved external symbol _IID_IBaseFilte
simpleTest error LNK2001: unresolved external symbol _CLSID_VideoInputDeviceCategor
simpleTest error LNK2001: unresolved external symbol _CLSID_SystemDeviceEnu
simpleTest error LNK2001: unresolved external symbol _IID_ICreateDevEnu
simpleTest error LNK2001: unresolved external symbol _FORMAT_VideoInf
simpleTest error LNK2001: unresolved external symbol _MEDIASUBTYPE_RGB3
simpleTest error LNK2001: unresolved external symbol _MEDIATYPE_Vide
simpleTest error LNK2001: unresolved external symbol _IID_ISampleGrabbe
simpleTest error LNK2001: unresolved external symbol _CLSID_NullRendere
simpleTest error LNK2001: unresolved external symbol _IID_IMediaEven
simpleTest error LNK2001: unresolved external symbol _IID_IMediaContro
simpleTest error LNK2001: unresolved external symbol _CLSID_SampleGrabbe
simpleTest error LNK2001: unresolved external symbol _CLSID_FilterGrap
simpleTest error LNK2001: unresolved external symbol _IID_IGraphBuilde
simpleTest fatal error LNK1120: 14 unresolved external

I've already installed the directx sdk and I didn't get any problems there.. So how do I solve this problem

Please help

Thanks
 
You're missing a library, I assume the DirectX one. You need to figure out
which one it is and then add it to the "Additional Libraries" list of the
linker command line in your project properties.


--
____________________
Klaus H. Probst, MVP
http://www.vbbox.com/

klon said:
Hi!

I tried to build a sample with .net (written in c++). I made sure that all
the paths and linkings are correct. But still I get this error:
simpleTest error LNK2001: unresolved external symbol _IID_IBaseFilter
simpleTest error LNK2001: unresolved external symbol _CLSID_VideoInputDeviceCategory
simpleTest error LNK2001: unresolved external symbol _CLSID_SystemDeviceEnum
simpleTest error LNK2001: unresolved external symbol _IID_ICreateDevEnum
simpleTest error LNK2001: unresolved external symbol _FORMAT_VideoInfo
simpleTest error LNK2001: unresolved external symbol _MEDIASUBTYPE_RGB32
simpleTest error LNK2001: unresolved external symbol _MEDIATYPE_Video
simpleTest error LNK2001: unresolved external symbol _IID_ISampleGrabber
simpleTest error LNK2001: unresolved external symbol _CLSID_NullRenderer
simpleTest error LNK2001: unresolved external symbol _IID_IMediaEvent
simpleTest error LNK2001: unresolved external symbol _IID_IMediaControl
simpleTest error LNK2001: unresolved external symbol _CLSID_SampleGrabber
simpleTest error LNK2001: unresolved external symbol _CLSID_FilterGraph
simpleTest error LNK2001: unresolved external symbol _IID_IGraphBuilder
simpleTest fatal error LNK1120: 14 unresolved externals

I've already installed the directx sdk and I didn't get any problems
there.. So how do I solve this problem?
 
Back
Top