TheNetFlyer
Programmer
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.
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.