help-octave
[Top][All Lists]
Advanced

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

Undefined c++ function delaunayn


From: Tom G. Smith (Smitty)
Subject: Undefined c++ function delaunayn
Date: Wed, 26 May 2004 13:16:01 -0500 (CDT)

We have this same problem also, in 2.1.40 of Octave:

>From address@hidden Wed May 26 13:01:15 2004
Date: Wed, 26 May 2004 13:00:25 -0500 (CDT)
From: "Tom G. Smith (Smitty)" <address@hidden>
To: "Tower, Ted" <address@hidden>
Subject: Re: More octave functions

Ted,

I found this at
http://www.octave.org/octave-lists/archive/bug-octave.2004/msg00270.html:

        Re: Undefined c++ function delaunayn in Octave 2.1.50
          * To: Lukas Nespurek <lukasnes at iol dot cz>
          * Subject: Re: Undefined c++ function delaunayn in Octave 2.1.50
          * From: David Bateman <David dot Bateman at motorola dot com>
          * Date: Wed, 21 Apr 2004 16:41:12 +0200
          * Cc: bug-octave at bevo dot che dot wisc dot edu
        Do you have the qhull library installed? If not then delaunayn.cc can
        not be built..

        Regards David

        According to Lukas Nespurek <lukasnes at iol dot cz> (on 04/21/04):
        > Dear Octave team,
        >
        > I was unable to use delaunay.m in Octave 2.1.50. The error message 
was:
        >
        > error: `delaunayn' undefined near line 51 column 13
        > error: called from `delaunay' in file
        > 
`/opt/octave/share/octave/2.1.50/site/m/octave-forge/geometry/delaunay.m'
        >
        > Sincerely, Lukas Nespurek

        --
        David Bateman                                David dot Bateman at 
motorola
dot com
        Motorola CRM                                 +33 1 69 35 48 04 (Ph)
        Parc Les Algorithmes, Commune de St Aubin    +33 1 69 35 77 01 (Fax)
        91193 Gif-Sur-Yvette FRANCE

So I downloaded qhull (see uswew004:/contrib/qhull.log) and re-installed
Octave
afterwards:

        tar xzvf qhull-2003.1.tar.gz
        cd qhull-2003.1
        ./configure
        make
        make install
        cd ..
        rm -Rf octave-forge-2003.06.02
        tar xzf octave-forge-2003.06.02.tar.gz
        cd octave-forge-2003.06.02
        ./configure
        make
        make install

This did not help; I still can't find delaunayn.m:

        bash-2.05b$ find /usr/share/octave -name 'delaunay*'
        /usr/share/octave/2.1.40/site/m/octave-forge/geometry/delaunay3.m
        /usr/share/octave/2.1.40/site/m/octave-forge/geometry/delaunay.m

I'll keep looking.

On Wed, 26 May 2004, Tower, Ted wrote:
> Tom,
> As I'm tweaking my code to run in Octave (trying to make it backwards
> compatible with Matlab), I've discovered that there are some functions
> missing.  Given what's there, I'm not sure *how* they could be missing,
> but I was wondering if you could download and install some of the
> following functions (there may be more in the future).
>
> In Octave I got the following error:
> octave:76> gdxf=griddata(cp0(:,1),cp0(:,2),gd0(:,1),xi,yi);
> error: `delaunayn' undefined near line 51 column 13
> error: evaluating assignment expression near line 51, column 11
> error: evaluating if command near line 50, column 5
> error: evaluating if command near line 49, column 3
> error: called from `delaunay' in file
> `/usr/share/octave/2.1.40/site/m/octave-forge/geometry/delaunay.m'
> error: evaluating assignment expression near line 52, column 6
> error: called from `griddata' in file
> `/usr/share/octave/2.1.40/site/m/octave-forge/geometry/griddata.m'
> error: evaluating assignment expression near line 76, column 5
> octave:76>
>
> Griddata.m and delaunay.m are in /usr/share/octave/, but delaunay.m uses
> delaunayN.m (or .cc) which doesn't appear to be in /usr/share/octave/.
> Very odd.
>
> It appears the GNU repository has this (http://octave.sourceforge.net/)
> and others.  If you look under the alphabetical list they have delaunayn
> and conv2 implmented, but I can't find them on /usr/share/octave/ and
> see no mention of this gap in bug reports.  I don't know if going to a
> more recent version will have these added or if the individual functions
> have to be loaded.  I've only used sourceforge once or twice before, so
> I'm not sure how to go about posting (and where).
>
> I'm kind of stuck until I have a way to get access to some of these
> functions.  And there will be more as I go through, but I'm not sure of
> a good way to troubleshoot all of these upfront without going to you
> with each function I discover I need (after checking that an
> implementation exists).  Any ideas?
>
> Thanks!
>
> Ted



------------------------------------------------------------------------------
This e-mail is intended for the use of the addressee(s) only and may contain
privileged, confidential, or proprietary information that is exempt from
disclosure under law.  If you have received this message in error, please
inform us promptly by reply e-mail, then delete the e-mail and destroy any
printed copy.   Thank you.
==============================================================================



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