swscale.h: No such file or directory when running make for ffmpeg-php

288 views
Skip to first unread message

Tom

unread,
Oct 22, 2009, 4:38:25 PM10/22/09
to ffmpeg-php
I'm getting the following errors when I run make for ffmpeg-php

libtool: compile: gcc -I. -I/home/tom/Desktop/ffmpeg-php-0.6.0 -
DPHP_ATOM_INC -I/home/tom/Desktop/ffmpeg-php-0.6.0/include -I/home/tom/
Desktop/ffmpeg-php-0.6.0/main -I/home/tom/Desktop/ffmpeg-php-0.6.0 -I/
usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/
usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/
date/lib -I/usr/local/include/ffmpeg -DHAVE_CONFIG_H -g -O2 -Wall -fno-
strict-aliasing -c /home/tom/Desktop/ffmpeg-php-0.6.0/ffmpeg-php.c -
fPIC -DPIC -o .libs/ffmpeg-php.o
/home/tom/Desktop/ffmpeg-php-0.6.0/ffmpeg-php.c:46:21: error:
swscale.h: No such file or directory
/home/tom/Desktop/ffmpeg-php-0.6.0/ffmpeg-php.c: In function
‘zm_info_ffmpeg’:
/home/tom/Desktop/ffmpeg-php-0.6.0/ffmpeg-php.c:156: error:
‘LIBSWSCALE_IDENT’ undeclared (first use in this function)
/home/tom/Desktop/ffmpeg-php-0.6.0/ffmpeg-php.c:156: error: (Each
undeclared identifier is reported only once
/home/tom/Desktop/ffmpeg-php-0.6.0/ffmpeg-php.c:156: error: for each
function it appears in.)
make: *** [ffmpeg-php.lo] Error 1


Can anyone help with this? Where can I get swscale.h?

Thanks

s0ma

unread,
Oct 24, 2009, 1:47:09 AM10/24/09
to ffmpeg-php
Can you list the output of running the ffmpeg command on the command
line without any flags please?

Tom

unread,
Oct 27, 2009, 2:00:03 PM10/27/09
to ffmpeg-php
Hi s0ma

Output is:

tom@osiris:~$ ffmpeg
FFmpeg version SVN-r20348, Copyright (c) 2000-2009 Fabrice Bellard, et
al.
built on Oct 22 2009 20:35:47 with gcc 4.3.3
configuration: --disable-static --enable-shared
libavutil 50. 3. 0 / 50. 3. 0
libavcodec 52.37. 0 / 52.37. 0
libavformat 52.39. 2 / 52.39. 2
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0. 7. 1 / 0. 7. 1
At least one output file must be specified
Reply all
Reply to author
Forward
0 new messages