linker error compiling program direct x

G

Guest

Hi

I've got the following errors when trying to compile a program

cvision error LNK2001: unresolved external symbol _IID_IGraphBuilde
cvision error LNK2001: unresolved external symbo
_IID_IFileSinkFilter
cvision error LNK2001: unresolved external symbol _IID_ICreateDevEnu
cvision error LNK2001: unresolved external symbol _IID_IBaseFilte
cvision error LNK2001: unresolved external symbol _IID_IAMVideoProcAm
cvision error LNK2001: unresolved external symbo
_IID_IAMVideoCompressio
cvision error LNK2001: unresolved external symbo
_IID_IAMVfwCaptureDialog

I've got DX9SDK, VS .NET

I'm very new to this

In project->properties->linker->general->additional librar
directories, I have this
"C:\DX90SDK\Samples\C++\DirectShow\BaseClasses\Debug";"C:\DX90SDK\Samples\C++\DirectShow\BaseClasses\Release";"C:\Progra
Files\Microsoft Visual Studio .NE
2003\Vc7\PlatformSDK\Lib";"C:\DX90SDK\Samples\C++\DirectShow\Common";"C:\Progra
Files\Intel\plsuite\lib\msvc";C:\DX90SDK\Lib;"C:\Progra
Files\OpenCV\lib

Is that the right place

In project->properties->linker->general->additional includ
directories, I have this
"C:\Program Files\Microsoft Visual Studio .NE
2003\Vc7\include";"C:\DX90SDK\Samples\C++\DirectShow\BaseClasses";"C:\DX90SDK\Samples\C++\DirectShow\BaseClasses\Release";"C:\DX90SDK\Samples\C++\Common";"C:\Progra
Files\OpenCV\cv\include";"C:\Progra
Files\OpenCV\otherlibs\highgui";"C:\Progra
Files\OpenCV\filters\ProxyTrans

In BaseClasses/release/debug I've compiled the baseclasses

I've wasted so long already on trying to get this to work :

Am I adding libraries in the right way using that menu in VS .NET

Many thanks for any help, sorry if I sound stupid, but please an
suggestions even trivial, are very welcome, because I don't know wha
I'm doing. Thanks.
 
G

Guest

Ok I fixed this by adding strmiids.lib to the Input->additional dependencies thing
I feel so stupid, feel free to make fun of me :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top