[libav-bugs] [Bug 495] New: build static libav with shared runtime libraries

bugzilla-daemon at aruru.libav.org bugzilla-daemon at aruru.libav.org
Tue Apr 16 12:13:20 CEST 2013


https://bugzilla.libav.org/show_bug.cgi?id=495

           Summary: build static libav with shared runtime libraries
           Product: Libav
           Version: 9
          Platform: X86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: general
        AssignedTo: bugzilla at libav.org
        ReportedBy: steffen.roeber at hella.com


I build libav with configure --toolchain=msvc. hat works. But it gives me libs
that depend on static runtime versions. What I want is to have static libav.lib
that depend on msvcrt.lib. 
I added a -MD flag to CPPFLAGS and CFLAGS in the config.mak file. 
After that iI get some linker error:
libavcodec.a(huffyuvenc.o) : error LNK2001: unresolved external symbol
__imp__avpriv_snprintf
1>libavcodec.a(ffv1enc.o) : error LNK2001: unresolved external symbol
__imp__avpriv_snprintf
1>libavcodec.a(ass.o) : error LNK2001: unresolved external symbol
__imp__avpriv_snprintf
1>libavcodec.a(ratecontrol.o) : error LNK2001: unresolved external symbol
__imp__avpriv_snprintf
1>libavcodec.a(srtdec.o) : error LNK2001: unresolved external symbol
__imp__avpriv_snprintf
1>libavcodec.a(xbmenc.o) : error LNK2001: unresolved external symbol
__imp__avpriv_snprintf
1>libavcodec.a(pnmenc.o) : error LNK2001: unresolved external symbol
__imp__avpriv_snprintf
1>libavcodec.a(pamenc.o) : error LNK2001: unresolved external symbol
__imp__avpriv_snprintf
1>libavutil.a(pixdesc.o) : error LNK2001: unresolved external symbol
__imp__avpriv_snprintf
...
Doesn't libav build concept support this?

-- 
Configure bugmail: https://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the libav-bugs mailing list