Results 1 to 3 of 3

Thread: linking againts ffmpeg - Qt Creator mingw version too old?

  1. #1
    Join Date
    Jun 2008
    Posts
    49
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default linking againts ffmpeg - Qt Creator mingw version too old?

    Hi,

    I have a strange problem. I'm trying to link to ffmpeg from Qt Creator on Windows. While this sounds straightforward, it doesn't seem to work.

    When trying to compile ffmpeg using the mingw that comes with QtCreator, the ffmpeg configure script says that the mingw runtime is too old.

    If I compile ffmpeg with the latest mingw, and the fire up Qt Creator to compile & link againts this ffmpeg, I get the following:

    Qt Code:
    1. ../../lib/win32-mingw/lib/libavformat.a(utils.o): In function `fprintf':
    2. c:/usr/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdio.h:246: undefined reference to `__mingw_vfprintf'
    3. ../../lib/win32-mingw/lib/libavutil.a(log.o): In function `fprintf':
    4. c:/usr/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdio.h:246: undefined reference to `__mingw_vfprintf'
    5. collect2: ld returned 1 exit status
    To copy to clipboard, switch view to plain text mode 

    did anyone succeed with linking againts ffmpeg on windows using Qt Creator?

  2. #2
    Join Date
    Jul 2009
    Posts
    1

    Default Re: linking againts ffmpeg - Qt Creator mingw version too old?

    This library "libmingwex.a" should be updated. I copied it from the \MinGW\lib\ folder over the Qt\2009.03\mingw\lib\ existing library and then it worked.

  3. #3
    Join Date
    Jun 2008
    Posts
    49
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: linking againts ffmpeg - Qt Creator mingw version too old?

    Quote Originally Posted by test1 View Post
    This library "libmingwex.a" should be updated. I copied it from the \MinGW\lib\ folder over the Qt\2009.03\mingw\lib\ existing library and then it worked.
    thanks for the tip. do you have any ideas when Qt would upgrade to a newer MinGW version?

Similar Threads

  1. linking problem (ffmpeg)
    By kralyk in forum Qt Programming
    Replies: 2
    Last Post: 13th April 2009, 08:35
  2. Qt designer plugin errors on OSX Leopard
    By mpotocnik in forum Qt Tools
    Replies: 10
    Last Post: 21st January 2008, 10:45
  3. Linking to wrong version of Qt in Cmake
    By Matt Smith in forum Qt Programming
    Replies: 1
    Last Post: 9th December 2007, 11:39
  4. Distributing QT application for Mac OS
    By mb0 in forum Qt Programming
    Replies: 1
    Last Post: 31st May 2007, 19:59
  5. Replies: 15
    Last Post: 21st April 2007, 18:46

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.