errors with "mkoctfile convhulln.cc" in MSVC-Octave 3.0.3
Fred Touwslager
Fred.Touwslager at PolymerVision.com
Fri Feb 20 07:01:23 CST 2009
Recently a change has been made in the convhuln function to include
calculation of the convex hull volume. Since I don't want to wait on a
new MSVC-Octave release I have been trying to compile the function.
However, without succes.
What I have done is following the instructions to make an .oct file in
Octave as in this link:
http://www.tatsuromatsuoka.com/octave/Eng/Win/msvcoct.html
I can run the oregonator.cc test as given in the web-page mentioned.
However, if I try to use the same procedure to make an .oct file from
the convhulln.cc file I do get errors.
Convhulln.cc expects the presence of qhull/ghull_a.h. So I downloaded
the qhull source package (from www.qhull.org) and placed it in a
sub-directory of the directory in which convhulln.cc is present. Then
all the files from qhull can be found.
However, mkoctfile then complains about 9 "unresolved external symbols",
error LNK2019 e.g.:
convhulln.o : error LNK2019: unresolved external symbol _qh_memfreeshort
referenced in function "class octave_value_list __cdecl FConvhulln(class
octave_value_list const &,int)"
(?Fconvhulln@@YA?AVoctave_value_list@@ABV1 at H@Z)
The last error is:
convhulln.oct : fatal error LNK1120: 9 unresolved externals
Anybody any idea about what to do to solve this issue?
Fred J. Touwslager
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www-old.cae.wisc.edu/pipermail/help-octave/attachments/20090220/b02a6804/attachment-0001.html
More information about the Help-octave
mailing list