fatal error LNK1120: 1 unresolved externals
Posted: 06 November 2008 07:40 AM   [ Ignore ]
New Member
Rank
Total Posts:  1
Joined  2008-11-03

hello,

im trying to compile touchlib library and im getting a link error

1>Linking…
1> Creating library D:\Work\Vision\TouchLib\build\VC8\/../../lib/touchlibd.lib and object D:\Work\Vision\TouchLib\build\VC8\/../../lib/touchlibd.exp
1>DSVLCaptureFilter.obj : error LNK2019: unresolved external symbol __imp__CoInitialize@4 referenced in function “public: __thiscall DSVLCaptureFilter::DSVLCaptureFilter(char *)” (??0DSVLCaptureFilter@@QAE@PAD@Z)
1>D:\Work\Vision\TouchLib\build\VC8\\..\..\bin\touchlibd.dll : fatal error LNK1120: 1 unresolved externals
1>Build log was saved at “file://D:\Work\Vision\TouchLib\src\Debug\BuildLog.htm”
1>touchlib - 2 error(s), 46 warning(s)

im using visual studio 2008 with SP1. it gives an unresolved error which i dont understand.

anyone ?

thanks in advance

Profile
 
 
Posted: 16 November 2008 10:58 AM   [ Ignore ]   [ # 1 ]
New Member
Rank
Total Posts:  33
Joined  2008-10-27

As I havn’t done anything with the DSVL filter thingey at all I’m only guessing, but it seems like you’re missing the libraries needed by the DSVL capture filter to compile (and link) properly.
Make sure you got the DVSL library files installed correctly. That is the .lib files, not the .dll ones.

Profile
 
 
Posted: 16 November 2008 11:26 AM   [ Ignore ]   [ # 2 ]
New Member
Rank
Total Posts:  33
Joined  2008-10-27

oh yeah, and if you got them installed properly, don’t forget to tell the linker to link them when compiling ^^

Profile