Re: Quantlib, OH, QuantlibAddin environment variables.

Posted by eric ehlers on
URL: http://quantlib.414.s1.nabble.com/Java-wrapper-test-program-using-Eclipse-3-1-1-tp4555p4561.html

Hi Joe,

- Those environment variables are required only at compile time, not at run time
- In particular, QLA requires variables QL_DIR and OBJECT_HANDLER_DIR
when linking (at compile time) to the corresponding libraries.  The
variable QUANTLIBADDIN_DIR is not used at all, unless you have your
own projects which rely on it (sounds like you don't)
- The only run-time requirement regarding environment variables, is
that any required DLLs appear in your PATH.  For example your PATH
variable would usually include the directory C:\WINDOWS\SYSTEM32 and
you could copy the log4cxx DLL to that directory

We'll shortly be releasing QLA version 0.3.12 which will simplify
things further:
- The use of the log4cxx DLL is discontinued
- The release provides a binary installation of the QLA XLL, into
which all prerequisites have been statically linked, the
installation/use of this build doesn't rely on any environment
variables whatsoever

Very interested to hear that you're looking at the OpenOffice Calc
addin.  Please let me know how you get on with that.

Regards,
Eric

On 3/27/06, Joe Byers <[hidden email]> wrote:

> I am working with the QuantlibAddin and I have questions about the
> environment variables that we create.  QL_DIR, QUANTLIBADDIN_DIR, and
> OBJECT_HANDLER_DIR are the variables of interest.  I am working on this on a
> WinXP machine and do not think I will have these questions on my LINUX
> machine because LINUX install everything to /usr/XXX/XXXX.
>
> Can I put all the static libraries in one location like
> \Libraries\QLSTUFF\lib and the addin will work?  For Excel and OO?
>
> Or do I need to have seperate lib directories for each QL module?
>
> I would like to install QL in our Risk Management lab at the University of
> Tulsa.
>
>
> Thank you
> Joe Byers
>
>
>
> A man is not the center of his universe, rather those he loves are. So his
> focus should always be on them for they will provide him with love and
> happiness all of his life - Anonymous
>
>  ________________________________
> Blab-away for as little as 1ยข/min. Make PC-to-Phone Calls using Yahoo!
> Messenger with Voice.
>
>
>