octave-maintainers
[Top][All Lists]
Advanced

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

Re: Release candidate for Qhull 2012.1


From: Ben Abbott
Subject: Re: Release candidate for Qhull 2012.1
Date: Sun, 29 Jan 2012 23:23:52 -0500

On Jan 29, 2012, at 11:04 PM, Tatsuro MATSUOKA wrote:

> --- On Sun, 2012/1/29, Brad Barber wrote:
> 
>> Hi all,
>> 
>> See below for the Qhull 2012.1 release candidate.  It is not deployed to 
>> qhull.org, because I need feedback on the changes.   The goal of this 
>> release is to clean up the builds and make them suitable to Octave, R, and 
>> other users. 
>> 
>> If something is broken for you in Qhull 2012.1, please let me know. 
>> 
>> Qhull 2012.1 adds libqhull.so for Octave and other users.  This shared 
>> library uses a static global data structure .   It is the same as the debian 
>> build, Qhull 2009.1.  To help avoid confusion, libqhull6_p.so is the new 
>> name for qhull with a dynamic global data structure (-Dqh_QHpointer).
>> 
>> Qhull 2012.1 fixes strict aliasing in qset.c and adds a qset test program.
>> 
>> Qhull 2012.1 includes a draft debian build in the 'config/' directory.  
>> Someone will need to verify that it works.   As before, it produces 
>> libqhull.so and the qhull executables.  It could be updated to match the 
>> other builds.
>> 
>> A later version of Qhull may include a third interface to get rid of global 
>> variables.  It would pass qh_qhT as a parameter to each function call.  
>> There would be a single source tree using a macro to enable the extra 
>> parameter.  There would be a third shared library, tentatively named 
>> libqhull7_t.so for "threading".   If so, the C++ interface will probably 
>> switch to this library.   
>> 
>>    http://gitorious.org/qhull/
>>    http://gitorious.org/qhull/qhull/blobs/master/src/Changes.txt
>>    http://www.qhull.org/download/qhull-2012.1-src-tgz.md5sum
>>    http://www.qhull.org/download/qhull-2012.1-src.tgz
>>    http://www.qhull.org/download/qhull-2012.1-zip.md5sum
>>    http://www.qhull.org/download/qhull-2012.1.md5sum
>>    http://www.qhull.org/download/qhull-2012.1.zip
>> 
>> Many thanks for helping with qhull.
>> 
>>                     --Brad
> 
> Hello
> 
> I have built Qhull 2012.1 on MinGW and built octave with it.
> However, fntests results
>  src\DLD-FUNCTIONS\convhulln.cc .........................panic: Segmentation 
> violation -- stopping myself...
> 
> So I execute ./run-octave
> 
> octave:1> cube = [0 0 0;1 0 0;1 1 0;0 1 0;0 0 1;1 0 1;1 1 1;0 1 1];
> octave:2> [h, v] = convhulln (cube);
> panic: Segmentation violation -- stopping myself...
> 
> I have attached Ben's patch ( qhull.diff )
> http://octave.1599824.n4.nabble.com/Compiling-with-Qhull-tp4205738p4293994.html
> 
> The below exe files created in bin directory produced in the make process.
> qconvex.exe, qdelaunay.exe, qhalf.exe, qhull.exe, qvoronoi.exe and rbox.exe 
> 
> Can I execute some test using these files ?
> 
> Regards
> 
> Tatsuro

If I understand correctly the qhull.diff I posted is only needed for the 2011 
version.

Did you apply it to the 2012 version? When I did that (by accident) I 
encountered a core dump.

Ben






reply via email to

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