Errors after adding OpenCV Package to Octave

View: New views
1 Messages — Rating Filter:   Alert me  

Errors after adding OpenCV Package to Octave

by phen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello everybody,

my name is Kai and I am quite new to Octave. I want to use it with OpenCV. It works good, but I get errors on every startup of octave. I am using Octave from the ubuntu-repos and opencv latest stable version.

Maybe I am doing something wrong, but it can also be a bug:

TYA

Kai

The errors are as follows:

GNU Octave, version 3.0.1
Copyright (C) 2008 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTIBILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type `warranty'.

Octave was configured for "i486-pc-linux-gnu".

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html

Report bugs to <bug@octave.org> (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).

For information about changes from previous versions, type `news'.

error: `CV_SEQ_POLYGON' undefined near line 11 column 16
error: evaluating assignment expression near line 11, column 15
error: near line 11 of file `/home/kai/octave/opencv-1.0.0/i486-pc-linux-gnu-api-v32/PKG_ADD'
error: source: error sourcing file `/home/kai/octave/opencv-1.0.0/i486-pc-linux-gnu-api-v32/PKG_ADD'
error: addpath: expecting all args to be character strings
error: addpath: expecting all args to be character strings
error: addpath: expecting all args to be character strings
error: addpath: expecting all args to be character strings
error: addpath: expecting all args to be character strings
error: addpath: expecting all args to be character strings
error: addpath: expecting all args to be character strings
error: addpath: expecting all args to be character strings
error: addpath: expecting all args to be character strings
error: addpath: expecting all args to be character strings
error: addpath: expecting all args to be character strings
error: addpath: expecting all args to be character strings
error: addpath: expecting all args to be character strings
error: addpath: expecting all args to be character strings
error: evaluating if command near line 2231, column 3
error: called from `pkg:load_packages_and_dependencies' in file `/usr/share/octave/3.0.1/m/pkg/pkg.m'
error: called from `pkg:load_packages' in file `/usr/share/octave/3.0.1/m/pkg/pkg.m'
error: evaluating switch command near line 269, column 3
error: called from `pkg' in file `/usr/share/octave/3.0.1/m/pkg/pkg.m'
error: near line 27 of file `/usr/share/octave/3.0.1/m/startup/octaverc'