[vtkusers] Link errors when building VTK CVS

wassim_belhadj at topnet.tn wassim_belhadj at topnet.tn
Tue Oct 28 05:20:04 EDT 2008


Dear

I'am using Qt 4.4.2 + VTK CVS  + Microsoft Visual Studio 2005 

I downloded the VTK CVS when i tried to buld it i have got many link
errors. It seems that VTK CVS don't compiles against Qt 4.4.X.

Here the errors stack:

error LNK2019: unresolved external symbol __imp__PlaySoundA at 12 referenced
in function "public: static void __cdecl
QAccessible::updateAccessibility(class QObject *,int,enum
QAccessible::Event)"
(?updateAccessibility at QAccessible@@SAXPAVQObject@@HW4Event at 1@@Z)	QtGui.lib

error LNK2019: unresolved external symbol __imp__PlaySoundW at 12 referenced
in function "public: static void __cdecl
QAccessible::updateAccessibility(class QObject *,int,enum
QAccessible::Event)"
(?updateAccessibility at QAccessible@@SAXPAVQObject@@HW4Event at 1@@Z)	QtGui.lib

error LNK2019: unresolved external symbol _ImmAssociateContext at 8 referenced
in function "void __cdecl enableIme(class QWidget *,bool)"
(?enableIme@@YAXPAVQWidget@@_N at Z)	QtGui.lib

error LNK2019: unresolved external symbol _ImmGetCompositionStringA at 16
referenced in function "long __cdecl getCompositionString(struct HIMC__
*,unsigned long,void *,unsigned long,bool *)"
(?getCompositionString@@YAJPAUHIMC__@@KPAXKPA_N at Z)	QtGui.lib

error LNK2019: unresolved external symbol _ImmGetCompositionStringW at 16
referenced in function "long __cdecl getCompositionString(struct HIMC__
*,unsigned long,void *,unsigned long,bool *)"
(?getCompositionString@@YAJPAUHIMC__@@KPAXKPA_N at Z)	QtGui.lib

error LNK2019: unresolved external symbol _ImmGetContext at 4 referenced in
function "struct HIMC__ * __cdecl getContext(struct HWND__ *)"
(?getContext@@YAPAUHIMC__@@PAUHWND__@@@Z)	QtGui.lib

error LNK2019: unresolved external symbol _ImmGetDefaultIMEWnd at 4 referenced
in function "struct HWND__ * __cdecl getDefaultIMEWnd(struct HWND__ *)"
(?getDefaultIMEWnd@@YAPAUHWND__@@PAU1@@Z)	QtGui.lib

error LNK2019: unresolved external symbol _ImmNotifyIME at 16 referenced in
function "void __cdecl notifyIME(struct HIMC__ *,unsigned long,unsigned
long,unsigned long)" (?notifyIME@@YAXPAUHIMC__@@KKK at Z)	QtGui.lib

error LNK2019: unresolved external symbol _ImmReleaseContext at 8 referenced
in function "void __cdecl releaseContext(struct HWND__ *,struct HIMC__ *)"
(?releaseContext@@YAXPAUHWND__@@PAUHIMC__@@@Z)	QtGui.lib

error LNK2019: unresolved external symbol _ImmSetCandidateWindow at 8
referenced in function "public: virtual void __thiscall
QWinInputContext::update(void)"
(?update at QWinInputContext@@UAEXXZ)	QtGui.lib

error LNK2019: unresolved external symbol _ImmSetCompositionFontA at 8
referenced in function "public: virtual void __thiscall
QWinInputContext::update(void)"
(?update at QWinInputContext@@UAEXXZ)	QtGui.lib

error LNK2019: unresolved external symbol _ImmSetCompositionFontW at 8
referenced in function "public: virtual void __thiscall
QWinInputContext::update(void)"
(?update at QWinInputContext@@UAEXXZ)	QtGui.lib

error LNK2019: unresolved external symbol _ImmSetCompositionWindow at 8
referenced in function "public: virtual void __thiscall
QWinInputContext::update(void)"
(?update at QWinInputContext@@UAEXXZ)	QtGui.lib

error LNK2019: unresolved external symbol _WSAAsyncSelect at 16 referenced in
function "public: void __thiscall
QEventDispatcherWin32Private::doWsaAsyncSelect(int)"
(?doWsaAsyncSelect at QEventDispatcherWin32Private@@QAEXH at Z)	QtCored.lib

fatal error LNK1120: 14 unresolved
externals	C:\VTK_cvs\VTKData\bin\Debug\QVTKWidgetPlugin.dll

Waitting for your help
Best Regards





More information about the vtkusers mailing list