Hello 

I cannot build video-1.0.0 on octave-3.0.1 on cygwin.
So  I extracted the package and ./configure and make.

I used ffmpeg-checkout-2008-05-05.

The configure went well. (After some trouble)

However at make

AVHandler.cc:47: error: request for member `buf_ptr' in
`((AVHandler*)this)->AVHandler::av_output-AVFormatContext::pb', which is of 
non-class type
`ByteIOContext*'
AVHandler.cc:50: error: cannot convert `ByteIOContext**' to `ByteIOContext*' 
for argument `1' to `int
url_fclose(ByteIOContext*)'
AVHandler.cc:311: error: cannot convert `ByteIOContext**' to `ByteIOContext*' 
for argument `1' to `int
url_feof(ByteIOContext*)'

How can I overcome the errors?

Regards

Tatsuro

***********
$ ./configure
checking for gcc... /opt/octave/gcc-3.4.4dw2/bin/gcc
  :
checking for av_write_frame in -lavformat... yes
checking for av_malloc in -lavcodec... yes
checking ffmpeg/avformat.h usability... yes
 :
checking ffmpeg/avformat.h presence... yes
checking for ffmpeg/avformat.h... yes
checking ffmpeg/avcodec.h usability... yes
checking ffmpeg/avcodec.h presence... yes
checking for ffmpeg/avcodec.h... yes
checking whether AVSEEK_FLAG_BACKWARD is declared... yes




************** make
make[1]: Entering directory 
`/opt/octave/octave-forge-bundle-20080429/main/video-1.0.0/src'
mkoctfile -v -c -I$(PREFIX)/include   AVHandler.cc -o AVHandler.o
/bin/sh: PREFIX: command not found
/opt/octave/gcc-3.4.4dw2/bin/g++ -c -I/opt/octave/gcc-3.4.4dw2/include
-I/opt/octave/octave-3.0.1/include 
-I/opt/octave/octave-3.0.1/include/octave-3.0.1
-I/opt/octave/octave-3.0.1/include/octave-3.0.1/octave 
-I/opt/octave/octave-3.0.1/include -mieee-fp -g
-O2 -I/include AVHandler.cc -o AVHandler.o
In file included from /opt/octave/octave-3.0.1/include/ffmpeg/avformat.h:40,
                 from AVHandler.h:33,
                 from AVHandler.cc:25:
/opt/octave/octave-3.0.1/include/libavcodec/avcodec.h:2329: warning: 
`ImgReSampleContext' is
deprecated (declared at 
/opt/octave/octave-3.0.1/include/libavcodec/avcodec.h:2323)
/opt/octave/octave-3.0.1/include/libavcodec/avcodec.h:2339: warning: 
`ImgReSampleContext' is
deprecated (declared at 
/opt/octave/octave-3.0.1/include/libavcodec/avcodec.h:2323)
AVHandler.cc: In destructor `AVHandler::~AVHandler()':
AVHandler.cc:47: error: request for member `buf_ptr' in
`((AVHandler*)this)->AVHandler::av_output->AVFormatContext::pb', which is of 
non-class type
`ByteIOContext*'
AVHandler.cc:50: 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:223: warning: `img_convert' is deprecated (declared at
/opt/octave/octave-3.0.1/include/libavcodec/avcodec.h:2491)
AVHandler.cc:225: warning: `img_convert' is deprecated (declared at
/opt/octave/octave-3.0.1/include/libavcodec/avcodec.h:2491)
AVHandler.cc: In member function `int AVHandler::read_frame(unsigned int)':
AVHandler.cc:311: error: cannot convert `ByteIOContext**' to `ByteIOContext*' 
for argument `1' to `int
url_feof(ByteIOContext*)'
AVHandler.cc:331: warning: `img_convert' is deprecated (declared at
/opt/octave/octave-3.0.1/include/libavcodec/avcodec.h:2491)
AVHandler.cc:333: warning: `img_convert' is deprecated (declared at
/opt/octave/octave-3.0.1/include/libavcodec/avcodec.h:2491)
make[1]: *** [AVHandler.o] Error 1
make[1]: Leaving directory 
`/opt/octave/octave-forge-bundle-20080429/main/video-1.0.0/src'
make: *** [build] Error 2 


--------------------------------------
GANBARE! NIPPON! Win your ticket to Olympic Games 2008.
http://pr.mail.yahoo.co.jp/ganbare-nippon/

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to