octave-maintainers
[Top][All Lists]
Advanced

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

Re: Compiling with Qhull


From: John W. Eaton
Subject: Re: Compiling with Qhull
Date: Sat, 17 Dec 2011 13:09:03 -0500

On 17-Dec-2011, Ben Abbott wrote:

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

What exactly did you do?  Did you remove the old version?

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

What do you mean by standard?  If macports already renamed libqhull.h
to qhull.h, then I think you are OK, except that you probably need to
modify the src/DLD-FUNCTIONS to have

  #define qh_QHpointer 1

before including any Qhull header files.  I don't know how to write a
configure test so that this can happen automatically.

Or is the qhull.h file that you have from some earlier release?  I
don't think we can hope to handle the situation of multiple versions
of qhull installed at once.

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

I don't see any point in bothering with qhull.h-deprecated.  All it
does is include libqhull.h, which Octave's configure script already
checks for.

jwe


reply via email to

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