From help-octave-request at bevo dot che dot wisc dot edu Tue Dec 19 02:12:15 2000 Subject: Debugging oregonator.oct From: Thomas Hoffmann To: help-octave at bevo dot che dot wisc dot edu Date: Tue, 19 Dec 2000 09:11:31 +0100 (MET) > | Do I need to rebuild Octave with shared libs now? > > Yes, probably, and if you are going to do that, you should at least > start using 2.0.16. I did just this and went to 2.1.30. Big success: "hallo.cc" works perfectly. But the oregonator does not want to become an oct-file on my computer: bash-2.01$ mkoctfile -v oregonator.cc c++ -c -fPIC -I/usr/local/include/octave-2.1.30 -I/usr/local/include/octave-2.1. 30/octave -I/usr/local/include -fno-rtti -fno-exceptions -fno-implicit-templates -g -O2 -Wall oregonator.cc -o oregonator.o oregonator.cc: In function `class octave_value_list Foregonator(const octave_value_list &, int)': oregonator.cc:15: conversion from `Array' to non-scalar type `ColumnVector' requested bash-2.01$ The offending line is ColumnVector x = args(0).vector_value (); Can anybody explain what this means? Thomas Hoffmann. ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------