devernay / ffplay

ffplay from ffmpeg, with compile-time options to disable features
GNU Lesser General Public License v2.1
10 stars 4 forks source link

Makefile:86: recipe for target 'ffplay.o' failed #1

Open velmyshanovnyi opened 7 years ago

velmyshanovnyi commented 7 years ago

root@raspberrypi:/usr/src# sudo git clone https://github.com/devernay/ffplay.git ffplay-git-2 Cloning into 'ffplay-git-2'... remote: Counting objects: 115, done. remote: Compressing objects: 100% (17/17), done. remote: Total 115 (delta 9), reused 0 (delta 0), pack-reused 98 Receiving objects: 100% (115/115), 218.65 KiB | 0 bytes/s, done. Resolving deltas: 100% (62/62), done. Checking connectivity... done. root@raspberrypi:/usr/src# cd /usr/src/ffplay-git-2

root@raspberrypi:/usr/src/ffplay-git-2# sudo make -j4 make: sdl2-config: Command not found gcc -c -Wall -Wmissing-declarations -I/usr/local/include -MD -o ffplay.o ffplay.c make: sdl2-config: Command not found gcc -c -Wall -Wmissing-declarations -I/usr/local/include -MD -o cmdutils.o cmdutils.c cmdutils.c:51:38: fatal error: libavresample/avresample.h: No such file or directory

include "libavresample/avresample.h"

                                  ^

compilation terminated. ffplay.c:63:17: fatal error: SDL.h: No such file or directory

include

             ^

compilation terminated. Makefile:86: recipe for target 'cmdutils.o' failed make: [cmdutils.o] Error 1 make: Waiting for unfinished jobs.... Makefile:86: recipe for target 'ffplay.o' failed make: *** [ffplay.o] Error 1

velmyshanovnyi commented 7 years ago

// ----- // FFPLAY cd /usr/src sudo git clone https://github.com/cus/ffplay.git ffplay-git // collection "github" (cus) cd /usr/src/ffplay-git // collection "github" (cus) //sudo git clone https://github.com/devernay/ffplay.git ffplay-git-2 // collection "github" (devernay) ERROR! //cd /usr/src/ffplay-git-2 // collection "github" (devernay) ERROR! sudo ./configure --enable-ffplay // (http://stackoverflow.com/questions/20422051/ffmpeg-ffplay-binary-not-getting-generated-on-compilation) sudo make -j4 // use 4-core (for RPI-3++)... sudo make install // -----