N
N
Nikolai Petrenko2015-12-04 16:18:30
C++ / C#
Nikolai Petrenko, 2015-12-04 16:18:30

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

2 answer(s)
M
monah_tuk, 2015-12-04
@monah_tuk

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.

V
Vladimir Martyanov, 2015-12-05
@vilgeforce

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 question

Ask a Question

731 491 924 answers to any question