[Libav-user] Compiling under windows...

Eric Trousset etrousset at awox.com
Fri Mar 7 16:46:20 CET 2014


Hi,
I m quitte new to ffmpeg.
I m trying to build it under windows using MSVC toolchain, but need to diable encoders and decoders.
So I use the following configure param :

./configure --toolchain=msvc --prefix=/usr/local/ffmpeg-2.1.4-nocodecs-vs2013 --disable-decoders -disable-encoders --enable-shared

I installed VS2013 express, and added the inttypes.h in the paths in INCLUDE.

I was able to build a full featured version. But when using the previous options I get errors :

$ make V=1
makedef libswresample/libswresample.ver libswresample/audioconvert.o libswresample/dither.o libswresample/log2_tab.o libswresample/rematrix.o libswresample/resample.o libswresample/swresample.o libswresample/x86/audio_convert.o libswresample/x86/rematrix.o libswresample/x86/swresample_x86.o > libswresample/swresample-0.def
c99wrap link -dll -def:libswresample/swresample-0.def -implib:libswresample/swresample.lib -libpath:libavcodec -libpath:libavdevice -libpath:libavfilter -libpath:libavformat -libpath:libavresample -libpath:libavutil -libpath:libpostproc -libpath:libswscale -libpath:libswresample -nologo -debug -out libswresample/swresample-0.dll libswresample/audioconvert.o libswresample/dither.o libswresample/log2_tab.o libswresample/rematrix.o libswresample/resample.o libswresample/swresample.o libswresample/x86/audio_convert.o libswresample/x86/rematrix.o libswresample/x86/swresample_x86.o avutil.lib vfw32.lib user32.lib psapi.lib ole32.lib strmiids.lib uuid.lib ws2_32.lib psapi.lib advapi32.lib shell32.lib
   Creating library libswresample/swresample.lib and object libswresample/swresample.exp
LINK : fatal error LNK1207: incompatible PDB format in 'c:\source_ext\ffmpeg-2.1.4\libswresample\swresample-0.pdb'; delete and rebuild
make: *** [libswresample/swresample-0.dll] Error 1

etrousset at Madagascar /c/source_ext/ffmpeg-2.1.4
$ which link.exe
/c/Program Files (x86)/Microsoft Visual Studio 12.0/VC/BIN/link.exe


Any idea on how to fix this?

Regards,
Eric T.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20140307/2582c12e/attachment.html>


More information about the Libav-user mailing list