[Ffmpeg-devel] Compilation for Windows under Cygwin
Vincent Honnet
vhonnet
Thu Aug 4 16:21:26 CEST 2005
Hi,
I have a Problem:
I need to develop an application using FFMpeg which must compile with
Microsoft Visual Studio .Net 2003. My first problem is to get FFMpeg
compiled under Cygwin. What I did:
./configure --enable-mingw32 --enable-shared --enable-memalign-hac
make lib
libavcodec compiles but I can't get any dll
error:
w32thread.o(.text+0x25c): In function `avcodec_thread_init':
/cygdrive/f/Programme/ffmpeg-0.4.9-pre1/libavcodec/w32thread.c:123:
undefined reference to `__beginthreadex'
collect2: ld returned 1 exit status
make: *** [avcodec.dll] Error 1
libavformat does not compile:
gcc -O3 -g -Wall -I.. -I/cygdrive/f/Programme/ffmpeg-0.4.9-pre1
-I/cygdrive/f/Programme/ffmpeg-0.4.9-pre1/libavcodec -D
HAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_GNU_SOURCE -c -o ffm.o ffm.c
In file included from /usr/include/unistd.h:4,
from ffm.c:20:
/usr/include/sys/unistd.h:202: error: parse error before '(' token
ffm.c:736: warning: initialization from incompatible pointer type
make: *** [ffm.o] Error 1
I need help. I tried nearly everything: with the ffmpeg-0.4.8 t and with
the 0.9-pre1.
Thanks a lot in advance
Vincent
More information about the ffmpeg-devel
mailing list