[FFmpeg-user] Error installing (windows) - cc1: error in backend...
BlueHat
elliotb at sparkol.com
Fri Jun 20 13:00:57 CEST 2014
Hi guys, I'm trying to install ffmpeg with the following commands on windows
using cygwin. I've done it before using a similar set but I'm trying to
enable some more functions for an API.
My config command is as follows:
PATH="/cygdrive/c/Program
Files/Java/jre7/bin:/cygdrive/c/Development/flashcc/sdk/usr/bin:$PATH"
./configure --enable-static --extra-libs=-static \
--disable-network --disable-optimizations --disable-debug --disable-asm
--disable-stripping --disable-mmx --disable-shared \
--disable-avfilter \
--disable-avdevice \
--enable-nonfree --enable-gpl \
--enable-protocols \
--disable-network --disable-optimizations --disable-debug --disable-asm
--disable-stripping \
--prefix=/cygdrive/c/Development/flashcc/sdk/usr \
--enable-encoder=aac \
--enable-encoder=ac3_fixed \
--enable-encoder=flv \
--enable-encoder=libx264 \
--enable-encoder=wmav2 \
--enable-encoder=rawvideo \
--enable-encoder=libfaac \
--enable-encoder=wmv1 \
--enable-encoder=wmv2 \
--enable-encoder=msmpeg4v2 \
--enable-encoder=msmpeg4v3 \
--enable-encoder=mpeg4 \
--prefix="$HOME/ffmpeg_build" --extra-cflags="-I$HOME/ffmpeg_build/include"
\
--extra-cflags="-I$HOME/ffmpeg_build/include --static" \
--extra-ldflags="-L$HOME/ffmpeg_build/lib" --bindir="$HOME/bin" \
--enable-libx264 \
--enable-muxer=asf \
--enable-muxer=avi \
--enable-muxer=flv \
--enable-muxer=h261 \
--enable-muxer=h263 \
--enable-muxer=h264 \
--enable-muxer=mov \
--enable-muxer=mpeg1video \
--enable-muxer=mpeg2dvd \
--enable-muxer=mpeg2svcd \
--enable-muxer=mpeg2video \
--enable-muxer=mpeg2vob \
--enable-muxer=mpegts \
--enable-muxer=flv \
--enable-pthreads
This went through perfectly fine, I then did the follow make command:
PATH=/cygdrive/c/Development/ffmpegbuild/flashcc/sdk/usr/bin:$PATH make
and finally I've just run the install command:
PATH=/cygdrive/c/Development/flashcc/sdk/usr/bin:$PATH make install
I've been fed back what seems to be a java error after a long time of
waiting for things to process:
cc1: error in backend: Failed to run
/cygdrive/c/Development/ffmpegbuild/flashcc
/sdk/usr/bin/../../usr/bin/llc with args: -jvm=C:\Program
Files\Java\jre7\bin\java -filetype=obj
C:\Development\ffmpeg\libavutil\sha512.o -o
C:\Development\ffmpeg\libavutil\sha512.o -jvmopt -Xmx1500M
Error:
This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
make: *** [libavutil/sha512.o] Error 1
I've checked my java is actually inside Program Files/Java/jre7/bin and it's
there as is the flashcc llc application. I'm rather confused as to what else
I should be looking at now.
--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Error-installing-windows-cc1-error-in-backend-tp4665959.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
More information about the ffmpeg-user
mailing list