iv3d-users

Text archives Help


[IV3D-USERS] Re: Build problem by dynamic link to Qt


Chronological Thread 
  • From: tom fogal <tfogal@sci.utah.edu>
  • To: iv3d-users@sci.utah.edu
  • Subject: [IV3D-USERS] Re: Build problem by dynamic link to Qt
  • Date: Tue, 15 Mar 2011 18:45:00 -0600

<ajp.wang@gmail.com> writes:
> I am trying to build ImageVis3D from source by linking dynamically to
> Qt libraries QtGui4, QtCore4, etc. ( with win 7, VS2008, Qt 4.7.2, ).
[snip]
> The compiling fails : 
> Tuvok.lib(IASSConverter.obj) : error LNK2019: unresolved external symbol
> gzdirect referenced in function "private: bool __cdecl
> IASSConverter::IsZipped(class std::basic_string<char,struct
> std::char_traits<char>,class std::allocator<char> > const &)"
> (?IsZipped@IASSConverter@@AEAA_NAEBV?$basic_string@DU?$char_traits@D@std@@V?$
> allocator@D@2@@std@@@Z).

That's it?  I would expect way more linking errors.

> Can you help me? Is it possible to build with dynamic linking to Qt?

A dynamic Qt is not supported on Windows.

One thing you'll have to do is hack the project files to change the
library names... I think you only get a "4" for the dynamic libraries,
or something like that.  Anyway, we don't have much experience with
this and don't support it for a reason :)

Patches welcome, but we can't accept them if they break the static
build.

Cheers,

-tom



Archive powered by MHonArc 2.6.16.

Top of page