Compiling libexif in windows 7

  • Hi,

    Since Qt does not supply class to extract exif info in jpg file, I decided to
    use third party library-- libexif.
    I have downloaded
    When I compiled on linux, I successfully could get libexif.a static library
    file which is the only file needed for static linking to my application.
    On windows 7, I followed the instruction at
    I use mingw492_32 which comes with Qt5.6.2 and installed MSYS. After
    configure, I excuted make to compile it. What I got is the following Error.

    libtool: link: object name comflicts in archive:
    make[2]: *** [] Error 1
    make[2]: Leaving directory '/d/libexif-0.6.21/libexif'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory '/d/qqes/libexif-0.6.21'
    make: *** [all] Error 2

    And I could not find libexif.a which is all I need. Does anyone have the
    similar problem?

  • Lifetime Qt Champion

    The tut didn't load so could not check.
    Alarm just went off with VISUAL studio and mingw492_32 in same sentence.
    You are not mixing anything compiled with studio with mingw?

    also MSYS adds a whole new layer of stuff that can go wrong.

    Anyway, it might be a PATH thing

  • @mrjj
    Thank you for your quick reply. Yes, it was the setting path environment problem. The link you provided gave me the answer. I had to put the path of MSYS and mingw32 at the begining of system path evironment.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.