Compiling FFMpeg with CYGWIN

Questions that occur when trying to compile FFmpeg.
Post Reply
JesperBlom
Posts: 1
Joined: Mon Jun 11, 2018 8:47 pm

Compiling FFMpeg with CYGWIN

Post by JesperBlom » Mon Jun 11, 2018 9:01 pm

Hi

I am trying to build a ffmpeg static lib as a part of a project I am doing.
Using Cygwin, but target is a Linux running on a 32bit ARM.
Basically I only need the "libswresample" as I just need to convert sample rate on PCM from 16bit 16khz stereo to 16 bit 8000hz Mono.
Anyway as a start i just wanted it to be able to compile as a executable.
I have followed the https://ffmpeg.org/platform.html#Compil ... der-Cygwin however is was not able to install "libxvidcore-devel"

When I try to do make i get:

D:\SDK1_10\modules\ffmpeg-4.0>make
D:\SDK1_10\modules\ffmpeg-3.4.2/ffbuild/library.mak:102: warning: overriding recipe for target 'libavutil/'
D:\SDK1_10\modules\ffmpeg-3.4.2/ffbuild/library.mak:21: warning: ignoring old recipe for target 'libavutil/'
D:\SDK1_10\modules\ffmpeg-3.4.2/ffbuild/library.mak:102: warning: overriding recipe for target 'libavutil/'
D:\SDK1_10\modules\ffmpeg-3.4.2/ffbuild/library.mak:102: warning: ignoring old recipe for target 'libavutil/'
Makefile:162: warning: overriding recipe for target 'libavutil/'
D:\SDK1_10\modules\ffmpeg-3.4.2/ffbuild/library.mak:102: warning: ignoring old recipe for target 'libavutil/'
make: Circular libavutil/adler32.o <- libavutil/ dependency dropped.
CC libavutil/adler32.o
libavutil/adler32.c:33:10: fatal error: config.h: No such file or directory
#include "config.h"
^~~~~~~~~~
compilation terminated.
Makefile:2: ffbuild/config.mak: No such file or directory
make: *** No rule to make target 'ffbuild/config.mak', needed by '.version'. Stop.

I am not able to find the config.h file. Is that supposed to be a part of the FFMPEG?
If I remove the include from adler32.c I just get a new headerfile missing:
avconfig.h
Any hints and help would be very much appreciated.
You have to bare with me, as I am a NewBie on make :)

Post Reply