iv3d-users

Text archives Help


[IV3D-USERS] Re: Re: 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: Re: Re: Build problem by dynamic link to Qt
  • Date: Wed, 16 Mar 2011 15:49:34 -0600

<ajp.wang@gmail.com> writes:
> It is the only linking error message, after that compiling stops :
> Tuvok.lib(IASSConverter.obj) : error LNK2019: unresolved external symbol
> gzdirect referenced in function "private: bool __cdecl
> IASSConverter::IsZipped(class std::basic_string<char,struct
[snip]
> However I can build by linking to static Qt libraries.
>
> It seems it can't find zlib in dynamic Qt libraries that the linker
> can find in static Qt libraries.

Ooooh, *in function* <blah blah>.... I had read that wrong, thinking
that the ::IsZipped method was what was missing.  Mea culpa.

> I only changed Project Properties on VS2008 by adding "4" for Qt
> library name s for dynamic linking, how to change other compiling
> options?

I'm not sure what other options would need to be changed.  I guess
you're somehow missing zlib; it used to come in one of the Qt libraries
"for free".  So you'll have to add that in the project properties.

Anyway, I (we) don't know.  If you figure it out, I'd appreciate it if
you could post back here so that I could write up something for the
wiki.

Cheers,

-tom



Archive powered by MHonArc 2.6.16.

Top of page