By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
426,034 Members | 1,777 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 426,034 IT Pros & Developers. It's quick & easy.

linker error compiling program direct x

P: n/a
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\Deb ug";"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:\P rogra
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++\DirectSh ow\BaseClasses";"C:\DX90SDK\Samples\C++\DirectShow \BaseClasses\Release";"C:\DX90SDK\Samples\C++\Comm on";"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.
Nov 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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 :)
Nov 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.