From help-request at octave dot org Tue Feb 8 09:13:04 2005 Subject: Error with including Array3.h From: To: Date: Tue, 8 Feb 2005 16:17:50 +0100 Hi, I want to create an .oct-file with including , but there are the following curious errors: $ mkoctfile -I../../../include/octave-2.1.49 -L../../../bin oregonator.cc ../../../include/octave-2.1.49/octave/Array3.h: In constructor ` Array3::Array3(int, int, int, const T&) [with T =3D octave_value (*)(const octave_value&, const octave_value&)]': ../../../include/octave-2.1.49/octave/ov-typeinfo.h:129: instantiated from her e ../../../include/octave-2.1.49/octave/Array3.h:74: error: `d2' is not a member of type `Array2' ../../../include/octave-2.1.49/octave/Array3.h:76: error: `set_max_indices' undeclared (first use this function) ../../../include/octave-2.1.49/octave/Array3.h:76: error: (Each undeclared identifier is reported only once for each function it appears in.) ../../../include/octave-2.1.49/octave/Array3.h: In constructor ` Array3::Array3(int, int, int, const T&) [with T =3D octave_value (*)(octave_value&, const octave_value_list&, const octave_value&)]': ../../../include/octave-2.1.49/octave/ov-typeinfo.h:129: instantiated from her e ../../../include/octave-2.1.49/octave/Array3.h:74: error: `d2' is not a member of type `Array2' ../../../include/octave-2.1.49/octave/Array3.h:76: error: `set_max_indices' undeclared (first use this function) (I want to create oregonator.oct and I have the Octave-Cygwin Version 2.1.49. Moreover, when I don't include the oct.h the errors come not.) What's with the Array3.h ??? Kind regards Stefan ------------------------------------------------------------- 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 -------------------------------------------------------------