octave-maintainers
[Top][All Lists]
Advanced

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

Re: Compiling with Qhull


From: Ben Abbott
Subject: Re: Compiling with Qhull
Date: Sat, 17 Dec 2011 12:46:25 -0500

On Dec 17, 2011, at 12:10 AM, Rik wrote:

> On 12/16/2011 05:40 PM, Ben Abbott wrote:
>> On Dec 16, 2011, at 1:24 PM, Rik wrote:
>> 
>>> 12/16/11
>>> 
>>> With a recent tip on stable (14059:6c72c3bda888) I can compile successfully
>>> against Qhull 2009.1 and Qhull 2011.2.  Note that this tip is after JWE's
>>> first 3.6.0 release candidate and includes changes from  December 13th
>>> (14059:6c72c3bda888) which make compiling with new versions of Qhull
>>> possible.  I'm not able to compile Qhull 2010.1, but that would be the
>>> third major Qhull release to check against before releasing Octave 3.6.0.
>>> 
>>> Cheers,
>>> Rik
>> 
>> Rik,
>> 
>> Did you build the docs with Qhull 2011.2 ?
>> 
>> I tried that version on MacOS 10.7.2 with gcc 4.5, but encountered an error 
>> with the "voronoi" diagram ...
>> 
>>      ../../run-octave -f -q -H -p . --eval "geometryimages ('voronoi', 
>> 'eps');"
>> 
>> Unfortunately, I didn't make note of the error, and reverted to a 2010 
>> version.
>> 
>> Ben
> I went back and tried the documentation, as well as 'make check', and it
> does work.  However, I am using gcc 4.4.3.
> 
> --Rik

After building with gcc 4.5, I deactivated qhull 2010.1 and activated 2011.2. 
Then I ran "make check". I encountered 13 failures related to qhull.

  src/DLD-FUNCTIONS/convhulln.cc ......................... PASS    0/3    FAIL 3

  scripts/geometry/convhull.m ............................ PASS    0/1    FAIL 1
  scripts/geometry/delaunay.m ............................ PASS    0/2    FAIL 2
  scripts/geometry/delaunay3.m ........................... PASS    0/1    FAIL 1
  scripts/geometry/dsearch.m ............................. PASS    2/2   
  scripts/geometry/dsearchn.m ............................ PASS    6/6   
  scripts/geometry/griddata.m ............................ PASS    0/1    FAIL 1
  scripts/geometry/griddata3.m ........................... PASS    0/2    FAIL 2
  scripts/geometry/griddatan.m ........................... PASS    0/2    FAIL 2
  scripts/geometry/inpolygon.m ........................... PASS    6/6   
  scripts/geometry/rectint.m ............................. PASS    9/9   
  scripts/geometry/tsearchn.m ............................ PASS    5/5   
  scripts/geometry/voronoi.m ............................. PASS    0/1    FAIL 1

With gcc 4.4 and qhull 2012.2, my build ends with ...

../../run-octave -f -q -H -p . --eval "geometryimages ('voronoi', 'eps');"
error: subscript indices must be either positive integers or logicals
error: evaluating argument list element number 1
error: called from:
error:   
/Users/bpabbott/Development/mercurial/experimental/scripts/geometry/voronoi.m 
at line 140, column 9
error:   
/Users/bpabbott/Development/mercurial/experimental/doc/interpreter/geometryimages.m
 at line 44, column 15

Running the tests, I see 9 failures due to qhull

  src/DLD-FUNCTIONS/convhulln.cc ......................... PASS    0/3    FAIL 3

  scripts/geometry/convhull.m ............................ PASS    0/1    FAIL 1
  scripts/geometry/delaunay.m ............................ PASS    0/2    FAIL 2
  scripts/geometry/delaunay3.m ........................... PASS    0/1    FAIL 1
  scripts/geometry/dsearch.m ............................. PASS    2/2   
  scripts/geometry/dsearchn.m ............................ PASS    6/6   
  scripts/geometry/griddata.m ............................ PASS    1/1   
  scripts/geometry/griddata3.m ........................... PASS    0/2    FAIL 2
  scripts/geometry/griddatan.m ........................... PASS    2/2   
  scripts/geometry/inpolygon.m ........................... PASS    6/6   
  scripts/geometry/rectint.m ............................. PASS    9/9   
  scripts/geometry/tsearchn.m ............................ PASS    5/5   
  scripts/geometry/voronoi.m ............................. PASS    0/1    FAIL 1

Looking at the Macports port-file for qhull ...

        https://trac.macports.org/browser/trunk/dports/math/qhull/Portfile

... I see that the standard "qhull.h" is being used (not qhull.h-deprecated) by 
macports.

Rik, I don't recall which package management system you are using. Do you know 
if your qhull 2011 uses the standard qhull.h or the deprecated version?

Ben



reply via email to

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