From help-octave-request at bevo dot che dot wisc dot edu Fri Jan 23 16:38:57 2004 Subject: DLD compilation errors From: Glenn Golden To: help-octave at bevo dot che dot wisc dot edu Date: Fri, 23 Jan 2004 15:37:43 -0700 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 -------------------------------------------------------------