[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
errors with "mkoctfile convhulln.cc" in MSVC-Octave 3.0.3
From: |
John W. Eaton |
Subject: |
errors with "mkoctfile convhulln.cc" in MSVC-Octave 3.0.3 |
Date: |
Fri, 20 Feb 2009 10:23:25 -0500 |
On 20-Feb-2009, Fred Touwslager wrote:
| 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@@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