[vtkusers] Link errors when building VTK CVS

wassim_belhadj at topnet.tn wassim_belhadj at topnet.tn
Tue Oct 28 06:00:33 EDT 2008


Hi Dominik,
Thank you very much for your reply.
I don't understood how to disabled accessibility support in QT ?
Can you explain me please how to proceed.
Thank you in davance
Best Regards,
BELHADJ wassim

On Tue, 28 Oct 2008 10:26:54 +0100, Dominik Szczerba <dominik at itis.ethz.ch>
wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I have successfully built VTK with QT 4.4.3 and Visual Studio 9.
> I recall the same linking errors (at least a first few).
> I just disabled accessibility support in QT (didn't need it anyway)
> 
> Dominik
> 
> wassim_belhadj at topnet.tn wrote:
>> 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
>>
>>
>> _______________________________________________
>> This is the private VTK discussion list.
>> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>>
> 
> - --
> Dominik Szczerba, Ph.D.
> Computational Physics Group
> Foundation for Research
> on Information Technologies in Society
> http://www.itis.ethz.ch
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.4-svn0 (GNU/Linux)
> Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
> 
> iD8DBQFJBtre/EBMh9bUuzIRAsusAJwOTUda6Evq1tL5pKulQmt7sT7blQCgv/YG
> L/c/NOYXCBE5jC3GrO8DW6w=
> =Wn8Y
> -----END PGP SIGNATURE-----




More information about the vtkusers mailing list