Results 1 to 2 of 2

Thread: libtiff plugin ld errors

  1. #1
    Join Date
    May 2009
    Location
    Memphis, TN
    Posts
    22
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Question libtiff plugin ld errors

    I am trying to build the libtiff plugin using windows xp, mingw, and qt 4.5.1 does any one have any ideas on what is wrong? Thank you.

    C:\Qt\2009.02\qt\src\plugins\imageformats\tiff>min gw32-make
    mingw32-make -f Makefile.Debug all
    mingw32-make[1]: Entering directory `C:/Qt/2009.02/qt/src/plugins/imageformats/t
    iff'
    g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-rel
    oc -mthreads -Wl -shared -Wl,--out-implib,c:\Qt\2009.02\qt\plugins\imageformats\
    libqtiffd4.a -o ..\..\..\..\plugins\imageformats\qtiffd4.dll object_script.qtiff
    d.Debug -L"c:\Qt\2009.02\qt\lib" -L"c:\Qt\2009.02\qt\lib" tmp\obj\debug_shared\
    qtiffd_resource_res.o -LC:\GnuWin\OpenSSL\0.9.8h\lib -LC:\GnuWin\libtiff\3.8.2\l
    ib -LC:\pgsql\8.3\lib -lQtGuid4 -lQtCored4
    Creating library file: c:\Qt\2009.02\qt\plugins\imageformats\libqtiffd4.a
    ./tmp\obj\debug_shared\qtiffhandler.o(.text+0x731): In function `ZN12QTiffHandle
    r4readEP6QImage':
    C:/Qt/2009.02/qt/src/plugins/imageformats/tiff/qtiffhandler.cpp:134: undefined r
    eference to `_imp__TIFFClientOpen'
    ./tmp\obj\debug_shared\qtiffhandler.o(.text+0x772):C :/Qt/2009.02/qt/src/plugins/
    imageformats/tiff/qtiffhandler.cpp:148: undefined reference to `_imp__TIFFGetFie
    ld'
    ./tmp\obj\debug_shared\qtiffhandler.o(.text+0x78e):C :/Qt/2009.02/qt/src/plugins/
    imageformats/tiff/qtiffhandler.cpp:149: undefined reference to `_imp__TIFFGetFie
    ld'
    ./tmp\obj\debug_shared\qtiffhandler.o(.text+0x90d):C :/Qt/2009.02/qt/src/plugins/
    imageformats/tiff/qtiffhandler.cpp:153: undefined reference to `_imp__TIFFReadRG
    BAImageOriented'
    ./tmp\obj\debug_shared\qtiffhandler.o(.text+0x947):C :/Qt/2009.02/qt/src/plugins/
    imageformats/tiff/qtiffhandler.cpp:157: undefined reference to `_imp__TIFFGetFie
    ld'
    ./tmp\obj\debug_shared\qtiffhandler.o(.text+0x963):C :/Qt/2009.02/qt/src/plugins/
    imageformats/tiff/qtiffhandler.cpp:158: undefined reference to `_imp__TIFFGetFie
    ld'
    ./tmp\obj\debug_shared\qtiffhandler.o(.text+0x97f):C :/Qt/2009.02/qt/src/plugins/
    imageformats/tiff/qtiffhandler.cpp:159: undefined reference to `_imp__TIFFGetFie
    ld'
    ./tmp\obj\debug_shared\qtiffhandler.o(.text+0xb52):C :/Qt/2009.02/qt/src/plugins/
    imageformats/tiff/qtiffhandler.cpp:180: undefined reference to `_imp__TIFFClose'

    ./tmp\obj\debug_shared\qtiffhandler.o(.text+0xc79): In function `ZN12QTiffHandle
    r5writeERK6QImage':
    C:/Qt/2009.02/qt/src/plugins/imageformats/tiff/qtiffhandler.cpp:194: undefined r
    eference to `_imp__TIFFClientOpen'
    ./tmp\obj\debug_shared\qtiffhandler.o(.text+0xcd3):C :/Qt/2009.02/qt/src/plugins/
    imageformats/tiff/qtiffhandler.cpp:210: undefined reference to `_imp__TIFFSetFie
    ld'
    ./tmp\obj\debug_shared\qtiffhandler.o(.text+0xcf7):C :/Qt/2009.02/qt/src/plugins/
    imageformats/tiff/qtiffhandler.cpp:210: undefined reference to `_imp__TIFFSetFie
    ld'
    ./tmp\obj\debug_shared\qtiffhandler.o(.text+0xd1c):C :/Qt/2009.02/qt/src/plugins/
    imageformats/tiff/qtiffhandler.cpp:210: undefined reference to `_imp__TIFFSetFie
    ld'
    ./tmp\obj\debug_shared\qtiffhandler.o(.text+0xd62):C :/Qt/2009.02/qt/src/plugins/
    imageformats/tiff/qtiffhandler.cpp:210: undefined reference to `_imp__TIFFSetFie
    ld'
    ./tmp\obj\debug_shared\qtiffhandler.o(.text+0xdaf):C :/Qt/2009.02/qt/src/plugins/
    imageformats/tiff/qtiffhandler.cpp:210: undefined reference to `_imp__TIFFSetFie
    ld'
    ./tmp\obj\debug_shared\qtiffhandler.o(.text+0xdda):C :/Qt/2009.02/qt/src/plugins/
    imageformats/tiff/qtiffhandler.cpp:210: more undefined references to `_imp__TIFF
    SetField' follow
    ./tmp\obj\debug_shared\qtiffhandler.o(.text+0xe0c): In function `ZN12QTiffHandle
    r5writeERK6QImage':
    C:/Qt/2009.02/qt/src/plugins/imageformats/tiff/qtiffhandler.cpp:217: undefined r
    eference to `_imp__TIFFClose'
    ./tmp\obj\debug_shared\qtiffhandler.o(.text+0x1077): C:/Qt/2009.02/qt/src/plugins
    /imageformats/tiff/qtiffhandler.cpp:237: undefined reference to `_imp__TIFFWrite
    Scanline'
    ./tmp\obj\debug_shared\qtiffhandler.o(.text+0x1089): C:/Qt/2009.02/qt/src/plugins
    /imageformats/tiff/qtiffhandler.cpp:238: undefined reference to `_imp__TIFFClose
    '
    ./tmp\obj\debug_shared\qtiffhandler.o(.text+0x1141): C:/Qt/2009.02/qt/src/plugins
    /imageformats/tiff/qtiffhandler.cpp:244: undefined reference to `_imp__TIFFClose
    '
    ./tmp\obj\debug_shared\qtiffhandler.o(.text+0x1250): In function `ZNK12QTiffHand
    ler6optionEN15QImageIOHandler11ImageOptionE':
    C:/Qt/2009.02/qt/src/plugins/imageformats/tiff/qtiffhandler.cpp:261: undefined r
    eference to `_imp__TIFFClientOpen'
    ./tmp\obj\debug_shared\qtiffhandler.o(.text+0x1283): C:/Qt/2009.02/qt/src/plugins
    /imageformats/tiff/qtiffhandler.cpp:275: undefined reference to `_imp__TIFFGetFi
    eld'
    ./tmp\obj\debug_shared\qtiffhandler.o(.text+0x129f): C:/Qt/2009.02/qt/src/plugins
    /imageformats/tiff/qtiffhandler.cpp:276: undefined reference to `_imp__TIFFGetFi
    eld'
    collect2: ld returned 1 exit status
    mingw32-make[1]: *** [..\..\..\..\plugins\imageformats\qtiffd4.dll] Error 1
    mingw32-make[1]: Leaving directory `C:/Qt/2009.02/qt/src/plugins/imageformats/ti
    ff'
    mingw32-make: *** [debug-all] Error 2

  2. #2
    Join Date
    May 2009
    Location
    Memphis, TN
    Posts
    22
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: libtiff plugin ld errors

    It works with the qt-libtiff ... (I got rid of the GnuWin32 tiff library)

    I am going to use linux to write my application now.

Similar Threads

  1. Extending a plugin in a static library
    By ultim8 in forum Qt Programming
    Replies: 5
    Last Post: 25th March 2010, 15:10
  2. Link errors for plugin under windows
    By QPlace in forum Qt Programming
    Replies: 5
    Last Post: 2nd November 2008, 15:51
  3. Plugin implementation question
    By JPNaude in forum Qt Programming
    Replies: 12
    Last Post: 27th August 2008, 20:24
  4. Qt designer plugin errors on OSX Leopard
    By mpotocnik in forum Qt Tools
    Replies: 10
    Last Post: 21st January 2008, 09:45
  5. QPluginLoader not recognizing a plugin
    By KShots in forum Qt Programming
    Replies: 3
    Last Post: 29th June 2007, 14:13

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.