Re: QuantLibXL Linking Problems

Posted by Rahul Gupta on
URL: http://quantlib.414.s1.nabble.com/QuantLibXL-Linking-Problems-tp6080p6082.html

Hi Eric,

You are correct with regards to the build option, by static I was referring to Release rather than Release DLL.

I can assure you that the very first thing I did was read the tutorial, and nevertheless I was having some major problems with the aforementioned error.  Strangely enough, after I did a full rebuild (starting from the QL base library itself), the error somehow fixed itself.  I can only guess at this point, that errors were due to some 'dirty' object files being mis-linked somehow.

Best wishes,

Rahul

Eric Ehlers-2 wrote
Hello,

On Wed, June 4, 2008 10:18, Rahul Gupta wrote:
> Hi all,
>
> I've been trying to build QuantLibXL for the last couple of
> days, but
> although I can build it dynamically (Release CRTDLL), whatever
> I do, I
> can't get the static DLL to compile.

When you say static DLL, I think you mean that you want to
compile QuantLibXL with configuration Release, i.e. you want an
XLL into which the Microsoft runtime libraries are statically
linked?

Instructions for doing exactly that can be found here:

    http://quantlib.org/quantlibaddin/build_tutorial.html

> I have tried
> to compile using various projects - QuantLibXL (the normal and
> all
> static solution), QuantLibAddin, and the individual QLXL
> solution.

If you follow the tutorial mentioned above, then you only need
to use one solution, QuantLibAllStatic_vc8.sln.

> My only thought is that I have been passing custom flags to
> gensrc, as I
> do not have doxygen installed.

If you follow the tutorial, there is no need for you to have
doxygen installed on your machine, and no need to make any
changes to the gensrc settings.

Regards,
Eric

-------------------------
Eric Ehlers
nazcatech sprl | Brussels | http://www.nazcatech.be
Distributed computing for pricing analytics - Use Microsoft
Excel as a client to the Grid


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
QuantLib-users mailing list
QuantLib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/quantlib-users