From: Kyle <ksh...@gm...> - 2012-05-21 06:28:31
|
Hi, I just updated my MinGW-w64 tool chain and am having issues compiling FFmpeg now. I'm getting: /home/kyle/software/ffmpeg/source/ffmpeg-git/libavdevice/dshow.h:35:1: error: unknown type name 'VIDEO_STREAM_CONFIG_CAPS' /home/kyle/software/ffmpeg/source/ffmpeg-git/libavdevice/dshow.h:36:1: error: unknown type name 'AUDIO_STREAM_CONFIG_CAPS' /home/kyle/software/ffmpeg/source/ffmpeg-git/libavdevice/dshow.c: In function 'dshow_cycle_formats': /home/kyle/software/ffmpeg/source/ffmpeg-git/libavdevice/dshow.c:355:13: error: unknown type name 'VIDEO_STREAM_CONFIG_CAPS' /home/kyle/software/ffmpeg/source/ffmpeg-git/libavdevice/dshow.c:374:29: error: request for member 'MinOutputSize' in something not a structure or union /home/kyle/software/ffmpeg/source/ffmpeg-git/libavdevice/dshow.c:374:54: error: request for member 'MinOutputSize' in something not a structure or union /home/kyle/software/ffmpeg/source/ffmpeg-git/libavdevice/dshow.c:375:35: error: request for member 'MaxFrameInterval' in something not a structure or union /home/kyle/software/ffmpeg/source/ffmpeg-git/libavdevice/dshow.c:376:29: error: request for member 'MaxOutputSize' in something not a structure or union /home/kyle/software/ffmpeg/source/ffmpeg-git/libavdevice/dshow.c:376:54: error: request for member 'MaxOutputSize' in something not a structure or union /home/kyle/software/ffmpeg/source/ffmpeg-git/libavdevice/dshow.c:377:35: error: request for member 'MinFrameInterval' in something not a structure or union /home/kyle/software/ffmpeg/source/ffmpeg-git/libavdevice/dshow.c:383:38: error: request for member 'MaxFrameInterval' in something not a structure or union /home/kyle/software/ffmpeg/source/ffmpeg-git/libavdevice/dshow.c:384:38: error: request for member 'MinFrameInterval' in something not a structure or union /home/kyle/software/ffmpeg/source/ffmpeg-git/libavdevice/dshow.c:389:50: error: request for member 'MaxOutputSize' in something not a structure or union /home/kyle/software/ffmpeg/source/ffmpeg-git/libavdevice/dshow.c:390:50: error: request for member 'MinOutputSize' in something not a structure or union /home/kyle/software/ffmpeg/source/ffmpeg-git/libavdevice/dshow.c:391:50: error: request for member 'MaxOutputSize' in something not a structure or union /home/kyle/software/ffmpeg/source/ffmpeg-git/libavdevice/dshow.c:392:50: error: request for member 'MinOutputSize' in something not a structure or union /home/kyle/software/ffmpeg/source/ffmpeg-git/libavdevice/dshow.c:398:13: error: unknown type name 'AUDIO_STREAM_CONFIG_CAPS' /home/kyle/software/ffmpeg/source/ffmpeg-git/libavdevice/dshow.c:410:29: error: request for member 'MinimumChannels' in something not a structure or union /home/kyle/software/ffmpeg/source/ffmpeg-git/libavdevice/dshow.c:410:53: error: request for member 'MinimumBitsPerSample' in something not a structure or union /home/kyle/software/ffmpeg/source/ffmpeg-git/libavdevice/dshow.c:410:82: error: request for member 'MinimumSampleFrequency' in something not a structure or union /home/kyle/software/ffmpeg/source/ffmpeg-git/libavdevice/dshow.c:411:29: error: request for member 'MaximumChannels' in something not a structure or union /home/kyle/software/ffmpeg/source/ffmpeg-git/libavdevice/dshow.c:411:53: error: request for member 'MaximumBitsPerSample' in something not a structure or union /home/kyle/software/ffmpeg/source/ffmpeg-git/libavdevice/dshow.c:411:82: error: request for member 'MaximumSampleFrequency' in something not a structure or union /home/kyle/software/ffmpeg/source/ffmpeg-git/libavdevice/dshow.c:415:45: error: request for member 'MaximumSampleFrequency' in something not a structure or union /home/kyle/software/ffmpeg/source/ffmpeg-git/libavdevice/dshow.c:416:45: error: request for member 'MinimumSampleFrequency' in something not a structure or union /home/kyle/software/ffmpeg/source/ffmpeg-git/libavdevice/dshow.c:421:45: error: request for member 'MaximumBitsPerSample' in something not a structure or union /home/kyle/software/ffmpeg/source/ffmpeg-git/libavdevice/dshow.c:422:45: error: request for member 'MinimumBitsPerSample' in something not a structure or union /home/kyle/software/ffmpeg/source/ffmpeg-git/libavdevice/dshow.c:427:42: error: request for member 'MaximumChannels' in something not a structure or union /home/kyle/software/ffmpeg/source/ffmpeg-git/libavdevice/dshow.c:428:42: error: request for member 'MinimumChannels' in something not a structure or union make: *** [libavdevice/dshow.o] Error 1 Make V=1 shows that this command is trying to run: i686-w64-mingw32-gcc -I. -I/home/kyle/software/ffmpeg/source/ffmpeg-git/ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -U__STRICT_ANSI__ -DHAVE_AV_CONFIG_H -std=c99 -fno-common -fomit-frame-pointer -D_GNU_SOURCE=1 -Dmain=SDL_main -g -Wdeclaration-after-statement -Wall -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -Werror=implicit-function-declaration -Werror=missing-prototypes -MMD -MF libavdevice/dshow.d -MT libavdevice/dshow.o -c -o libavdevice/dshow.o /home/kyle/software/ffmpeg/source/ffmpeg-git/libavdevice/dshow.c I believe this is the result of the MinGW-w64 tool chain update. I can compile fine with the older tool chain. Any ideas? Best regards, Kyle Schwarz |