[FFmpeg-trac] #2049(build system:new): msvc: --extra-cflags="-MD" leads to unresolved externals

FFmpeg trac at avcodec.org
Fri Dec 21 05:18:41 CET 2012

#2049: msvc: --extra-cflags="-MD" leads to unresolved externals
             Reporter:  Piroxiljin   |                    Owner:
                 Type:  defect       |                   Status:  new
             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):

 Replying to [comment:3 cehoyos]:
 > Replying to [comment:2 Piroxiljin]:
 > > Replying to [comment:1 cehoyos]:
 > > > Why do you want to add -MD to the compiler flags?
 > > MSDN: /MD, /MT, /LD (Use Run-Time Library) (http://msdn.microsoft.com
 > >   -MD Causes your application to use the multithread- and DLL-specific
 version of the run-time library.
 > I had also read that page today and please excuse my ignorance but are
 you sure that "/MD" is the same as "-MD"?

 Compiler Command-Line Syntax (http://msdn.microsoft.com/en-
   {{{CL [option...] file... [option | file]... [lib...] [@command-file]
 [/link link-opt...]}}}
   {{{option}}} - One or more CL options. Note that all options apply to
 all specified source files. Options are specified by either a forward
 slash (/) or a dash (–). If an option takes an argument, the option's
 description documents whether a space is allowed between the option and
 the arguments. Option names (except for the /HELP option) are case
 sensitive. See Order of CL Options for more information.

 Yes, I am.

Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2049#comment:4>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list