Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linker error programming DirectShow source filter

Status
Not open for further replies.

TheNetFlyer

Programmer
Jun 18, 2004
4
IT
I'm editing a DirectShow source filter starting from the PushSource filter of the DXSDK9 samples.
I want to use an MPEG2 decoder internally in this filter and I try to link a library doing this.
I add it in in Project->Settings->Link form of VisualC++ 6.0 and the library is in the project folder.
A linker error appears building the project:

PushSourceMPEG.obj : error LNK2001: unresolved external symbol _avcodec_init@0
Debug_Unicode/PushSource.ax : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

It's a very strange behavior, because linking the same library in a simple MFC project there are no problems.

Anybody knows where is the bug?
Thank you.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top