help-octave
[Top][All Lists]
Advanced

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

Re: Octave-forge-video-1.0.1 installation problem


From: Xavier Delacour
Subject: Re: Octave-forge-video-1.0.1 installation problem
Date: Wed, 19 Nov 2008 13:10:57 -0500

On Wed, Nov 19, 2008 at 1:21 AM, lengoanhcat <address@hidden> wrote:
>
> octave> pkg install -verbose /home/catle/Tempfiles/video-1.0.1.tar.gz
>
> mkdir (/tmp/oct-YB4rSJ)
> untar (/home/catle/Tempfiles/video-1.0.1.tar.gz, /tmp/oct-YB4rSJ)
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking for mkoctfile... mkoctfile
> retrieving compile and link flags from mkoctfile
> checking for F77_FUNC... yes
> checking for SLList.h... no
> checking for lo_ieee_nan_value... yes
> checking for octave_idx_type... yes
> checking for quit.h... yes
> checking for octave... octave
> checking for OCTAVE_VERSION in Octave... 3.0.0
> checking for octave_config_info('canonical_host_type') in Octave...
> i486-pc-linux-gnu
> checking for octave_config_info('SHLEXT') in Octave... so
> checking whether ln -s works... yes
> checking for ranlib... ranlib
> checking for strip... strip
> checking for pkg-config... pkg-config
> checking for av_write_frame in -lavformat... yes
> checking for av_malloc in -lavcodec... yes
> checking how to run the C preprocessor... gcc -E
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... 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
> configure: creating ./config.status
> config.status: creating Makefile
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating Makeconf
>
>  "$prefix" is /home/catle/octave/video-1.0.1
>  "$exec_prefix" is ${prefix}
>
> octave commands will install into the following directories:
>   m-files:   /usr/share/octave/3.0.0/site/m/octave-forge
>   oct-files: /usr/lib/octave/3.0.0/site/oct/i486-pc-linux-gnu/octave-forge
>   binaries:  /usr/lib/octave/3.0.0/site/exec/i486-pc-linux-gnu
> alternatives:
>   m-files:   /usr/share/octave/3.0.0/site/octave-forge-alternatives/m
>   oct-files:
> /usr/lib/octave/3.0.0/site/octave-forge-alternatives/oct/i486-pc-linux-gnu
>
> shell commands will install into the following directories:
>   binaries:  ${exec_prefix}/bin
>   man pages: ${datarootdir}/man
>   libraries: ${exec_prefix}/lib
>   headers:   ${prefix}/include
>
> octave-forge is configured with
>   octave:      octave (version 3.0.0)
>   mkoctfile:   mkoctfile for Octave 0
>
> find . -name NOINSTALL -print    # shows which toolboxes won't be installed
>
> Error
>
> 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-YB4rSJ/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-YB4rSJ/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
>
> I am trying to install the video package for octave 3.0.1, but I got a lot
> of error messages. Can you give me a hint how to solve this problem ?

Due to ffmpeg not exporting a consistent API, we only support the
latest (svn-wise) version of ffmpeg, built with swscale enabled. Can
you try building with latest svn of both ffmpeg and the video package?

Xavier

>
> --
> View this message in context: 
> http://www.nabble.com/Octave-forge-video-1.0.1-installation-problem-tp20574357p20574357.html
> Sent from the Octave - General mailing list archive at Nabble.com.
>
>
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>


reply via email to

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