[FFmpeg-trac] #2049(build system:open): msvc: --extra-cflags="-MD" leads to unresolved externals
FFmpeg
trac at avcodec.org
Sun Dec 23 17:49:49 CET 2012
#2049: msvc: --extra-cflags="-MD" leads to unresolved externals
-------------------------------------+-------------------------------------
Reporter: Piroxiljin | Owner:
Type: defect | Status: open
Priority: normal | Component: build
Version: git-master | system
Keywords: msvc | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by Piroxiljin):
In this way, you need to compile manualy every file which uses redefined
functions.
Also, this page (http://ffmpeg.org/platform.html#Linking-to-FFmpeg-with-
Microsoft-Visual-C_002b_002b) notifies that one must link project with
static runtime (/MT option).
Right now, I just compile shared library with static runtime.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2049#comment:8>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list