[FFmpeg-trac] #4764(build system:new): Problems when compiling with msvc toolchain and with other libraries.
FFmpeg
trac at avcodec.org
Fri Aug 7 10:00:20 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):
Two things, please:
1. "libmpghip.lib" (-lmpghip). It's definite one.
2. linking x265 (not 264)
Wrong example, sorry.
As you know x265 is C++ project, /MD is default config even if
ENABLE_SHARED is unchecked on CMake dialog.
Its result IS static, except the runtimes parts linked to mscvrt. Here's
the fuzz i've been trying to tell: How do I build /MD linked static
ffmpeg-libs? I can't with currnet configure script. "--disable-shared"
will make /MD disappear.
The other way around is fine. Everything's statically linked? every
library's happy. MD static libraries? ... That's why I wish to have
'runtime spec'.
Does this explain now?
Thanks, by the way, for your replies.
Replying to [comment:4 heleppkes]:
> MT is the default mode, you shouldn't need to specify anything to get a
statically linked dll without vcredist deps.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4764#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list