How to build ffmpeg lib for android on windows with cygwin

1,396 views
Skip to first unread message

Sanandiya Rajesh

unread,
Jun 27, 2014, 6:46:29 AM6/27/14
to andro...@googlegroups.com
Hello Friends,

I have Develop Android Application that convert list of images to video with sound.
I search in Google and i found to use ff-mpeg for convert images to video.but i have problem to build ff mpeg .so file for android.when i try to build ff-mpeg lib i get error into cygwin below:

arm-linux-androideabi-gcc is unable to create an executable file.
C compiler test failed.

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpe...@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solving the problem.
Makefile:2: config.mak: No such file or directory
Makefile:47: /common.mak: No such file or directory
Makefile:89: /libavutil/Makefile: No such file or directory
Makefile:89: /library.mak: No such file or directory
Makefile:169: /doc/Makefile: No such file or directory
Makefile:170: /tests/Makefile: No such file or directory
make: *** No rule to make target '/tests/Makefile'.  Stop.
Makefile:2: config.mak: No such file or directory
Makefile:47: /common.mak: No such file or directory
Makefile:89: /libavutil/Makefile: No such file or directory
Makefile:89: /library.mak: No such file or directory
Makefile:169: /doc/Makefile: No such file or directory
Makefile:170: /tests/Makefile: No such file or directory
make: *** No rule to make target '/tests/Makefile'.  Stop.

Alex Cohn

unread,
Jun 30, 2014, 2:37:40 PM6/30/14
to andro...@googlegroups.com
See http://stackoverflow.com/a/24309519/192373.

tl;nr: always use d:/dir notation, and patch library.mak file to keep command length below the Windows limit.

basanth alluri

unread,
Apr 6, 2015, 1:11:23 AM4/6/15
to andro...@googlegroups.com
Hi Rajesh,

Did the issue got resolved? Can you provide me the link you are using to compile ffmpeg in android using cygwin?
Reply all
Reply to author
Forward
0 new messages