[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-dev] Gnash-ffmpeg and boost-foreach.hpp

From: Jun Ma
Subject: [Gnash-dev] Gnash-ffmpeg and boost-foreach.hpp
Date: Wed, 19 Mar 2008 14:54:18 +0800

when I configure gnash as follows,
./configure    --enable-gui=FB \
               --enable-renderer=Agg \
               --disable-plugins \
               --enable-jpeg \
               --disable-glext \
               --enable-gstreamer=no \
               --enable-media=ffmpeg \
               --with-x=no  \

gnumake indicates:

make[2]: Entering directory `/root/tmp/gnash-0.8.2/libmedia'
/bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I..  -I.. -I. -I.. -I../libamf -I../backend -I../libbase -I../server
-I../server/vm -I../server/parser -I../libgeometry -pthread
-I/usr/include/libxml2      -I/usr/include -I../libltdl
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT   -g -O2 -pthread
-pthread     -W     -Wall     -Wcast-align     -Wcast-qual
-Wpointer-arith     -Wreturn-type      -fvisibility-inlines-hidden -MT
libgnashmedia_la-VideoDecoderFfmpeg.lo -MD -MP -MF
.deps/libgnashmedia_la-VideoDecoderFfmpeg.Tpo -c -o
libgnashmedia_la-VideoDecoderFfmpeg.lo `test -f
'ffmpeg/VideoDecoderFfmpeg.cpp' || echo
 g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I.. -I../libamf -I../backend
-I../libbase -I../server -I../server/vm -I../server/parser
-I../libgeometry -pthread -I/usr/include/libxml2 -I/usr/include
-I../libltdl -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2
-pthread -pthread -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith
-Wreturn-type -fvisibility-inlines-hidden -MT
libgnashmedia_la-VideoDecoderFfmpeg.lo -MD -MP -MF
.deps/libgnashmedia_la-VideoDecoderFfmpeg.Tpo -c
ffmpeg/VideoDecoderFfmpeg.cpp  -fPIC -DPIC -o
ffmpeg/VideoDecoderFfmpeg.cpp:30:29: error: boost/foreach.hpp: No such
file or directory
ffmpeg/VideoDecoderFfmpeg.cpp: In member function 'virtual
std::auto_ptr<image::rgb> gnash::media::VideoDecoderFfmpeg::pop()':
ffmpeg/VideoDecoderFfmpeg.cpp:195: error: expected primary-expression
before 'const'
ffmpeg/VideoDecoderFfmpeg.cpp:195: error: 'BOOST_FOREACH' was not
declared in this scope
ffmpeg/VideoDecoderFfmpeg.cpp:195: error: expected `;' before '{' token

Here is my boost information about foreach.hpp:

address@hidden ~]# rpm -ql boost-devel | grep foreach

address@hidden ~]# rpm -qa | grep boost

Shoud autoconfig do any checking on this case?

FIXME if it is wrong.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]