iv3d-users

Text archives Help


[IV3D-USERS] Re: Re: Link problems


Chronological Thread 
  • From: Dženan Zukić <dzenanz@gmail.com>
  • To: iv3d-users@sci.utah.edu
  • Subject: [IV3D-USERS] Re: Re: Link problems
  • Date: Fri, 26 Nov 2010 12:42:38 +0100
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=M8qjlf00cEtsFOBqKl4DmkR+xIHiD0vi2JVEwWawG7GQCITSxx0Plt0d+msxh/5NRJ 9gedamyYat3XqDi/1Sp+XgB/3m3v6kzX/Yi1gGZrQDZLB2OgifrOtVnHQxoWZ+ep1Uor b0XJdYYbOjh11jDIC7ozYhTrHBL57+rL0ZMNA=

Building in release mode causes no errors. Interesting. And in the debug mode the 3 unresolved externals are:
QGLWidget::convertToGLFormat
QString::QString
QGLContext::currentContext
Which does not point to image plugins.

Anyway, I can live without those 2 projects compiling in debug mode.

Regards,
Dženan

On Fri, Nov 26, 2010 at 11:49, Tjf <tfogal@sci.utah.edu> wrote:
Looks like they they need the same qjpeg/qtiff/qpng/etc hack that we've got in
Tuvok.pro... Not sure why we aren't seeing this ourselves, though.

Anyway you might *try* copying the shared/static logic from the aforementioned
.pro into these two .pros, and then regenerating the vs project files.  Thar be
dragons along that path, I'm sure.

(the logic might already be there, hard for me to check right now.  If it is, I am
perplexed and will need to think more.)

-tom

Am Nov 26, 2010 um 1:36 AM schrieb Dženan Zukić <dzenanz@gmail.com>:

Hi,

I compiled Qt 4.6.0 statically over night, everything compiled, but UVFReader and CmdLineConverter fail during linking. They have identical error messages. Here is the build log:

Linking... Creating library Build\x64\Debug\TuvokReader64.lib and object Build\x64\Debug\TuvokReader64.exp Tuvok.lib(Scripting.obj) : warning LNK4217: locally defined symbol ?toString@QDate@@QEBA?AVQString@@W4DateFormat@Qt@@@Z (public: class QString __cdecl QDate::toString(enum Qt::DateFormat)const ) imported in function "public: virtual bool __cdecl tuvok::Scripting::Execute(class std::basic_string,class std::allocator > const &,class std::vector,class std::allocator >,class std::allocator,class std::allocator > > > const &,class std::basic_string,class std::allocator > &)" (?Execute@Scripting@tuvok@@UEAA_NAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEBV?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@4@AEAV34@@Z)
Tuvok.lib(GPUMemMan.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class QImage __cdecl QGLWidget::convertToGLFormat(class QImage const &)" (__imp_?convertToGLFormat@QGLWidget@@SA?AVQImage@@AEBV2@@Z) referenced in function "public: class tuvok::GLTexture2D * __cdecl tuvok::GPUMemMan::Load2DTextureFromFile(class std::basic_string,class std::allocator > const &)" (?Load2DTextureFromFile@GPUMemMan@tuvok@@QEAAPEAVGLTexture2D@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) Tuvok.lib(GPUMemMan.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl QString::QString(char const *)" (__imp_??0QString@@QEAA@PEBD@Z) referenced in function "public: class tuvok::GLTexture2D * __cdecl tuvok::GPUMemMan::Load2DTextureFromFile(class std::basic_string,class std::allocator > const &)" (?Load2DTextureFromFile@GPUMemMan@tuvok@@QEAAPEAVGLTexture2D@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) Tuvok.lib(GPUMemMan.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class QGLContext const * __cdecl QGLContext::currentContext(void)" (__imp_?currentContext@QGLContext@@SAPEBV1@XZ) referenced in function "public: __cdecl tuvok::QtGLContextID::QtGLContextID(void)" (??0QtGLContextID@tuvok@@QEAA@XZ) Build\x64\Debug\TuvokReader64.exe : fatal error LNK1120: 3 unresolved externals
The main application runs, but I thought I can resolve these issues too. Do you have any suggestions?
Regards, Dženan




Archive powered by MHonArc 2.6.16.

Top of page