[Pkg-octave-devel] video pkg fails to compile

Saso Musevic musevic at gmail.com
Wed Nov 5 23:29:17 UTC 2008


Hello!

I have a similar problem:

octave:31> pkg install video-1.0.1.tar.gz
AVHandler.cc: In destructor 'AVHandler::~AVHandler()':
AVHandler.cc:53: error: base operand of '->' has non-pointer type
'ByteIOContext'
AVHandler.cc:56: error: cannot convert 'ByteIOContext' to 'ByteIOContext*'
for argument '1' to 'int url_fclose(ByteIOContext*)'
AVHandler.cc: In member function 'int AVHandler::write_frame()':
AVHandler.cc:229: warning: 'img_convert' is deprecated (declared at
/usr/include/ffmpeg/avcodec.h:2575)
AVHandler.cc:231: warning: 'img_convert' is deprecated (declared at
/usr/include/ffmpeg/avcodec.h:2575)
AVHandler.cc: In member function 'int AVHandler::read_frame(unsigned int)':
AVHandler.cc:317: error: cannot convert 'ByteIOContext' to 'ByteIOContext*'
for argument '1' to 'int url_feof(ByteIOContext*)'
AVHandler.cc:337: warning: 'img_convert' is deprecated (declared at
/usr/include/ffmpeg/avcodec.h:2575)
AVHandler.cc:339: warning: 'img_convert' is deprecated (declared at
/usr/include/ffmpeg/avcodec.h:2575)
make: *** [AVHandler.o] Error 1
error: 'make' returned the following error: make: Entering directory
`/tmp/oct-0CQzFd/video-1.0.1/src'
mkoctfile -v -c -DHAVE_FFMPEG_AVFORMAT_H -DHAVE_FFMPEG_AVCODEC_H
-I/usr/include/ffmpeg   AVHandler.cc -o AVHandler.o
g++ -c -fPIC -I/usr/include/octave-3.0.0 -I/usr/include/octave-3.0.0/octave
-mieee-fp -O2 -I/usr/include/ffmpeg -DHAVE_FFMPEG_AVFORMAT_H
-DHAVE_FFMPEG_AVCODEC_H AVHandler.cc -o AVHandler.o
make: Leaving directory `/tmp/oct-0CQzFd/video-1.0.1/src'
error: called from `pkg:configure_make' in file
/usr/share/octave/3.0.0/m/pkg/pkg.m near line 1058, column 2
octave:31>

Have you solved yours? It might help me...
Thank you,
   Sash
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/pkg-octave-devel/attachments/20081106/ecfaf8d3/attachment.htm 


More information about the Pkg-octave-devel mailing list