[FFmpeg-trac] #4764(build system:new): Problems when compiling with msvc toolchain and with other libraries.

FFmpeg trac at avcodec.org
Fri Aug 7 09:22:33 CEST 2015


#4764: Problems when compiling with msvc toolchain and with other libraries.
-------------------------------------+-------------------------------------
             Reporter:               |                    Owner:
  ashegoulding                       |                   Status:  new
                 Type:  defect       |                Component:  build
             Priority:  wish         |  system
              Version:  git-master   |               Resolution:
             Keywords:  MSVC         |               Blocked By:
  toolchain                          |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by ashegoulding):

 Yees. But still, "libmpghip.lib" is missing which comes with libmp3lame
 static build. I compiled Lame with VC, and libmpghip.lib is needed to work
 with libmp3lame.lib.
 Those '--extra-libs' options were merely for my convenience.

 And for rumtimes, I wish there could be "--msvc-runtime=msvcrt" and
 "--msvc-runtime=libcmt". I didn't mean to "mix" them. As I mentioned, you
 can't link MD linked libraries into MT linked program or DLL. The
 libraries will conflict(msvcrt.lib and libcmt.lib). I just wanted a
 ffmpeg.exe that doesn't require VC++ redist to run. With /MD switch on,
 you can't build one.


 Should I make another ticket?

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4764#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list