Answer the question
In order to leave comments, you need to log in
Can't compile C++ FFMPEG project?
Hello everyone, I'm having a problem compiling FFMPEG.
I'm trying to compile via MSYS.
I pass cd to the working folder.
-- cd /c/ffmpeg
trying to compile
./configure --enable-memalign-hack --arch=x86 --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --pkg-config= pkg-config
even
configure --enable-memalign-hack --arch=x86 --target-os=mingw32 --pkg-config=pkg-config
In response I get
Only do this if you know what cross compiling means.
C compiler test failed.
How to be in this situation?
I've already tried MinGW and C-99 this way and that, and all through the ass.
Answer the question
In order to leave comments, you need to log in
I've never built FFmpeg under Windows from under Windows, but try removing --target-os=XXX altogether - you're building native, so it should figure it out on its own.
Definitely a working option is to figure out what ./configure does. Or write to the developers if the readme and their counterparts have already been read.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question