From help-octave-request at bevo dot che dot wisc dot edu Fri Jan 23 18:28:52 2004 Subject: Re: DLD compilation errors From: Paul Kienzle To: gdg at zplane dot com Cc: help-octave at bevo dot che dot wisc dot edu Date: Fri, 23 Jan 2004 19:26:32 -0500 Is octave/config.h being included? Paul Kienzle pkienzle at users dot sf dot net On Jan 23, 2004, at 5:37 PM, Glenn Golden wrote: > I'm using Octave's filter.cc as a template for a DLD, but when I > mkoctfile it in my own directory, I get errors like > > tpad$> mkoctfile myfilter.cc > In file included from > /usr/local/include/octave-2.1.50/octave/dMatrix.h:36, > from /usr/local/include/octave-2.1.50/octave/mx-base.h:30, > from /usr/local/include/octave-2.1.50/octave/ov-base.h:35, > from /usr/local/include/octave-2.1.50/octave/ov-fcn.h:36, > from /usr/local/include/octave-2.1.50/octave/ov-builtin.h:32, > from /usr/local/include/octave-2.1.50/octave/defun-int.h:28, > from /usr/local/include/octave-2.1.50/octave/defun-dld.h:30, > from myfilter.cc:37: > /usr/local/include/octave-2.1.50/octave/data-conv.h:41:2: > #error "No 2 byte integer type found!" > /usr/local/include/octave-2.1.50/octave/data-conv.h:49:2: > #error "No 4 byte integer type found! > > despite the fact that it compiles fine in the build environment. > > Is there a simple workaround for this? I'd really like to be able > to use filter.cc as the template, because the function I need to > implement is nearly identical to filter(). > > Thanks, > > Glenn Golden > > > > ------------------------------------------------------------- > 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 > ------------------------------------------------------------- > ------------------------------------------------------------- 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 -------------------------------------------------------------