[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
errors with "mkoctfile convhulln.cc" in MSVC-Octave 3.0.3
From: |
Fred Touwslager |
Subject: |
errors with "mkoctfile convhulln.cc" in MSVC-Octave 3.0.3 |
Date: |
Fri, 20 Feb 2009 23:06:29 +0100 |
As convhulln.cc was complaining about the presence of a number of files
of the qhull package, I just downloaded them and did put them at the
location where convhulln.cc was expecting them. So, no, I did not
compile the package. Do I have to, and if so, how does that work?
Kind regards,
Fred J. Touwslager
-----Original Message-----
From: John W. Eaton [mailto:address@hidden
Sent: Friday 20 February 2009 16:23
To: Fred Touwslager
Cc: address@hidden
Subject: errors with "mkoctfile convhulln.cc" in MSVC-Octave 3.0.3
On 20-Feb-2009, Fred Touwslager wrote:
| Recently a change has been made in the convhulln 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@@address@hidden@Z)
|
| The last error is:
|
| convhulln.oct : fatal error LNK1120: 9 unresolved externals
|
| Anybody any idea about what to do to solve this issue?
Did you compile the qhull package, or just download it?
jwe