Re: MSVC Unresolved externals
Posted by Ferdinando M. Ametrano-2 on May 29, 2002; 4:26pm
URL: http://quantlib.414.s1.nabble.com/MSVC-Unresolved-externals-tp10096p10097.html
At 08:20 AM 5/28/2002 +0200, Andre Louw wrote:
>I have a funny when building the SWIG wrapper on Win32 using the
>straightforward 'python setup.py build':
>
>The compile step goes well. When linking it gets a bunch (15) of unresolved
>externals:
My guess is that you're compiling the current CVS version of
QuantLib-Python while linking an older QuantLib library.
Try to update your installed QuantLib version with the current CVS version.
Under Windows you might consider using the QuantLib-Python MS Visual Studio
project, instead of the standard 'setup.py build'. The Visual Studio
project has a few "OnTheEdgeXXX" build configurations that link the
QuantLib version they find in a relative ..\QuantLib path instead of the
installed one.
I use this trick to have a "stable" version of QuantLib installed, while
hacking on the CVS trunk head. The only requirement is to check out all the
CVS modules in the same folder as in:
Projects\QuantLib
Projects\QuantLib-Python
Projects\QuantLib-SWIG
Projects\QuantLibXL
Projects\xlw
Let me know if this solve your problem
ciao -- Nando