[libav-bugs] [Bug 864] vs2015 build issue: vnsprintf macro conflict with microsoft's libraries

bugzilla at libav.org bugzilla at libav.org
Fri Jun 5 17:29:43 CEST 2015


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

--- Comment #7 from ray <ray at oneunified.net> ---
I took the new configure file, didn't get a good completion -- (havn't quite
figured out if it is a cut and paste error on my part, or something else):

me at Ray MSYS ~/libav
$ ./configure --toolchain=msvc
install prefix            /usr/local
source path               .
C compiler                cl
C library                 msvcrt
ARCH                      x86 (generic)
big-endian                no
runtime cpu detection     no
yasm                      yes
MMX enabled               yes
MMXEXT enabled            yes
3DNow! enabled            yes
3DNow! extended enabled   yes
SSE enabled               yes
SSSE3 enabled             yes
AVX enabled               yes
XOP enabled               yes
FMA3 enabled              yes
FMA4 enabled              yes
i686 features enabled     yes
CMOV is fast              no
EBX available             no
EBP available             no
debug symbols             yes
optimize for size         no
optimizations             yes
static                    yes
shared                    no
new filter support        yes
network support           yes
threading support         w32threads
safe bitstream reader     yes
SDL support               no

External libraries:

Enabled decoders:
aac                     cdxl                    kgv1
aac_latm                cinepak                 kmvc


yada yada yada 


Enabled bsfs:
aac_adtstoasc           imx_dump_header         noise
chomp                   mjpeg2jpeg              remove_extradata
dump_extradata          mjpega_dump_header      text2movsub
h264_mp4toannexb        mov2textsub

Enabled indevs:
vfwcap

Enabled outdevs:

License: LGPL version 2.1 or later
Creating config.mak and config.h...
./configure: line 1122: cmp: command not found
./configure: line 1122: cmp: command not found
./configure: line 1122: cmp: command not found

WARNING: pkg-config not found, library detection may fail.

me at Ray MSYS ~/libav
$ make V=1
touch .version
cl -nologo -I. -I. -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_WIN32_WINNT=0x0502 -DHAVE_AV_CONFIG_H -I. -I. -D_ISOC99_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_WIN32_WINNT=0x0502
-DHAVE_AV_CONFIG_H -nologo -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS
-Dinline=__inline -FIstdlib.h -Dstrtoll=_strtoi64    -Z7 -W4 -wd4244 -wd4127
-wd4018 -wd4389 -wd4146 -wd4057 -wd4204 -wd4706 -wd4305 -wd4152 -wd4324 -we4013
-wd4100 -wd4214 -wd4273 -wd4554 -wd4701 -O2   -Oy-  -showIncludes -Zs
libavdevice/alldevices.c 2>&1 | awk '/including/ { sub(/^.*file: */, "");
gsub(/\\/, "/"); if (!match($0, / /)) print "libavdevice/alldevices.o:", $0 }'
>
/bin/sh: -c: line 0: syntax error near unexpected token `newline'
/bin/sh: -c: line 0: `cl -nologo -I. -I. -D_ISOC99_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_WIN32_WINNT=0x0502
-DHAVE_AV_CONFIG_H -I. -I. -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -D_WIN32_WINNT=0x0502 -DHAVE_AV_CONFIG_H -nologo
-D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -Dinline=__inline -FIstdlib.h
-Dstrtoll=_strtoi64    -Z7 -W4 -wd4244 -wd4127 -wd4018 -wd4389 -wd4146 -wd4057
-wd4204 -wd4706 -wd4305 -wd4152 -wd4324 -we4013 -wd4100 -wd4214 -wd4273 -wd4554
-wd4701 -O2   -Oy-  -showIncludes -Zs libavdevice/alldevices.c 2>&1 | awk
'/including/ { sub(/^.*file: */, ""); gsub(/\\/, "/"); if (!match($0, / /))
print "libavdevice/alldevices.o:", $0 }' > '
Makefile:44: recipe for target 'libavdevice/alldevices.o' failed
make: *** [libavdevice/alldevices.o] Error 1

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libav.org/pipermail/libav-bugs/attachments/20150605/ed836f56/attachment.html>


More information about the libav-bugs mailing list