I'm currently working on a Streaming framework, and decided to use ffmpeg to encode and or decode my Video and or Audio.
So i clicked through https://ffmpeg.org for the api files, and downloaded the statically linked version only to find out it actually contained a .exe (I use Windows in development, but plan on using Linux in production) instead of one or more dll's and header informations.
Since i don't think i can use the 'exe' as replacement for an dll, i cloned the git source, and tried to compile it myself.
Then, while compiling i run into this error:
CC libavutil/random_seed.o
libavutil/random_seed.c: In function 'av_get_random_seed':
libavutil/random_seed.c:130:12: error: implicit declaration of function 'arc4random' [-Werror=implicit-function-declaration]
return arc4random();
^
cc1: some warnings being treated as errors
common.mak:60: recipe for target 'libavutil/random_seed.o' failed
make: *** [libavutil/random_seed.o] Error 1
As far as I can tell, this means that I'm missing the library arc4random, so I started searching for this lib, and found absolutly nothing, besides the fact that this library is somehow Apple related..., but no dll's and stuff or sources to compile it myself.
I use cygwin and its GCC to compile on 64-Bit windows 7 Machine.
Can anyone hint me to some location where I can get this missing library, or some other possibility to get ffmpeg as library into my project? (I would prefer something I can link statically , since this project is meant to be a lib by itself)
Maybe is there a way I can make use of that downloaded exe of ffmpeg, since i can borrow its headers from the source I cloned from Git?
Any Hint appreciated.
Best Regards,
Jannik Adam