ivan_alias
27th March 2005, 23:48
Hi
Does anyone have ffmpeg cross compliing for windows on linux?
Im trying to do this in fedora core 3. I can do xvid and x264, but ffmpeg is failing on me.
I've tried following the man page:
You must use the MinGW cross compilation tools available at http://www.mingw.org/.
Then configure ffmpeg with the following options:
./configure --enable-mingw32 --cross-prefix=i386-mingw32msvc-
(you can change the cross-prefix according to the prefix choosen for the MinGW tools).
http://ffmpeg.sourceforge.net/fbfmpeg-doc.html#SEC26
This is my command line: ./configure --enable-mingw32 --cross-prefix=i386-mingw32- --disable-ffplay --disable--ffserver --enable-memalign-hack --disable-faac
But it doesnt seem to work. I get this at the bottom of the output after running make, configure works ok:
./libavformat/avformat.lib(asf-enc.o)(.text+0x1ded):/root/ffmpeg/libavformat/asf-enc.c:822: undefined reference to `_av_free'
collect2: ld returned 1 exit status
make: *** [ffmpeg_g.exe] Error 1
and no ffmpeg.exe anywhere :(
The linux version seems to compile no problem.
Can anyone help?
Does anyone have ffmpeg cross compliing for windows on linux?
Im trying to do this in fedora core 3. I can do xvid and x264, but ffmpeg is failing on me.
I've tried following the man page:
You must use the MinGW cross compilation tools available at http://www.mingw.org/.
Then configure ffmpeg with the following options:
./configure --enable-mingw32 --cross-prefix=i386-mingw32msvc-
(you can change the cross-prefix according to the prefix choosen for the MinGW tools).
http://ffmpeg.sourceforge.net/fbfmpeg-doc.html#SEC26
This is my command line: ./configure --enable-mingw32 --cross-prefix=i386-mingw32- --disable-ffplay --disable--ffserver --enable-memalign-hack --disable-faac
But it doesnt seem to work. I get this at the bottom of the output after running make, configure works ok:
./libavformat/avformat.lib(asf-enc.o)(.text+0x1ded):/root/ffmpeg/libavformat/asf-enc.c:822: undefined reference to `_av_free'
collect2: ld returned 1 exit status
make: *** [ffmpeg_g.exe] Error 1
and no ffmpeg.exe anywhere :(
The linux version seems to compile no problem.
Can anyone help?