Hello
--- On Wed, 2012/2/1, Rik wrote:
Octave Maintainer's:
This should be solved before the 3.6.1 release. Does anybody have a good
way to create a throw-away FILE pointer?
The "/dev/null" solution would be fine except I'm not certain it
would work
on MinGW and Cygwin platforms. My little bit of a web search seemed to
indicate that they DO implement this special file.
Otherwise, we could always use fopen with a temporary file name created
through tmpnam and then delete it afterwards but this seems like a
lot of
work for every convhull, voronoi, or delaunay call.
I've attached my test case and Makefile. On my machine I had Qhull2009
installed by the package manager in /usr and Qhull2012 installed by
hand in
/usr/local and used -L options to flip between the two.
--Rik
Hello
I have install qhull-2009 to /home/octaves/qhull-2009 and tried to
build the test executable files.
However,
$ make -i
g++ -o qhulltst2012 -DQ2012 -I/c/Programs/OctaveLibs/include -lqhull
-L/c/Programs/OctaveLibs/lib qhulltst.cc
g++ -o qhulltst2009 -lqhull -I/home/octaves/qhull-2009/include
-L/home/octaves/qhull-2009/lib qhulltst.cc
C:\Users\Tatsu\AppData\Local\Temp\cciYy8su.o:qhulltst.cc:(.text+0x10f):
undefined
reference to `qh_new_qhull'
C:\Users\Tatsu\AppData\Local\Temp\cciYy8su.o:qhulltst.cc:(.text+0x11d):
undefined
reference to `qh_qh'
collect2: ld returned 1 exit status
make: [qhulltst2009] Error 1 (ignored)
g++ -o qhulltst2009FIX -DQ2009FIX -lqhull
-I/home/octaves/qhull-2009/include -L/home/octaves/qhull-2009/lib
qhulltst.cc
C:\Users\Tatsu\AppData\Local\Temp\ccu80uJ3.o:qhulltst.cc:(.text+0x11f):
undefined
reference to `qh_new_qhull'
C:\Users\Tatsu\AppData\Local\Temp\ccu80uJ3.o:qhulltst.cc:(.text+0x12d):
undefined
reference to `qh_qh'
collect2: ld returned 1 exit status
make: [qhulltst2009FIX] Error 1 (ignored)
I could not get executable files linked with qhull-2009.
Am I wrong?
Regards
Tatsuro