help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DLD compilation errors


From: Paul Kienzle
Subject: Re: DLD compilation errors
Date: Fri, 23 Jan 2004 19:26:32 -0500

Is octave/config.h being included?

Paul Kienzle
address@hidden

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
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]