Login  Register

Re: reposit example instructions

Posted by Eric Ehlers-3 on Jun 21, 2016; 7:01pm
URL: http://quantlib.414.s1.nabble.com/reposit-example-instructions-tp17541p17555.html

Hey Pepe,

My pleasure.

> Can I also put forward a request?
> Say I want to use my local installation of QL instead. When I compile
> the AddIn it cant find the library; I can get it by issuing:
>
> export LD_LIBRARY_PATH=$REPOSIT_DIR/install/lib:/usr/local/lib
>
> which is my own case (and QL default install). But could it be done
> through the configuration instead? (or a more standard way to specify
> it if any; I am no expert on compil set ups)

I think that configure should be able to handle this out of the box.

I think you should be able to do something like:

./configure \
    CPPFLAGS="-I/usr/local/include" \
    LDFLAGS="-L/usr/local/lib" \
    ...

If that doesn't work please let me know and I will investigate in more
detail.

Kind Regards,
Eric

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users