reposit example instructions

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

reposit example instructions

japari
Hi, I just started to play with this and following the instructions in:

http://quantlib.org/reposit/docs/latest/build_git_swig_linux.html

everything goes fine till I try to compile the examples; where I need to modify those to the ones below for it to work; sure it might be my set up but I dont see how, so just in case:

--------------------------------------------------------
cd $REPOSIT_DIR/swig/Examples/reposit/simple
export LD_LIBRARY_PATH=$REPOSIT_DIR/install/lib:$REPOSIT_DIR/swig/Examples/reposit/simple/lib
export INSTALL_DIR=$REPOSIT_DIR/install
make SWIG
make
cd $REPOSIT_DIR/swig/Examples/reposit/simple/Main
./mainSimpleLibAddin
--------------------------------------------------------

Best
pp

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://sdm.link/zohomanageengine
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: reposit example instructions

Eric Ehlers-3
Hey Pepe,

Many thanks for taking a look, and for sending over those corrections.
It is not your setup, it was an oversight on my part, I have just
updated the docs for the next release.

Kind Regards,
Eric

On Sat, 18 Jun 2016 17:12:10 +0200 (CEST)
[hidden email] wrote:

> Hi, I just started to play with this and following the instructions
> in:
>
> http://quantlib.org/reposit/docs/latest/build_git_swig_linux.html
>
> everything goes fine till I try to compile the examples; where I need
> to modify those to the ones below for it to work; sure it might be my
> set up but I dont see how, so just in case:
>
> --------------------------------------------------------
> cd $REPOSIT_DIR/swig/Examples/reposit/simple
> export
> LD_LIBRARY_PATH=$REPOSIT_DIR/install/lib:$REPOSIT_DIR/swig/Examples/reposit/simple/lib
> export INSTALL_DIR=$REPOSIT_DIR/install make SWIG
> make
> cd $REPOSIT_DIR/swig/Examples/reposit/simple/Main
> ./mainSimpleLibAddin
> --------------------------------------------------------
>
> Best
> pp


------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://sdm.link/zohomanageengine
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: reposit example instructions

japari
Hi Eric, thank you.

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)

Best
pp


----- Original Message -----

> Hey Pepe,
>
> Many thanks for taking a look, and for sending over those
> corrections.
> It is not your setup, it was an oversight on my part, I have just
> updated the docs for the next release.
>
> Kind Regards,
> Eric
>
> On Sat, 18 Jun 2016 17:12:10 +0200 (CEST)
> [hidden email] wrote:
>
> > Hi, I just started to play with this and following the instructions
> > in:
> >
> > http://quantlib.org/reposit/docs/latest/build_git_swig_linux.html
> >
> > everything goes fine till I try to compile the examples; where I
> > need
> > to modify those to the ones below for it to work; sure it might be
> > my
> > set up but I dont see how, so just in case:
> >
> > --------------------------------------------------------
> > cd $REPOSIT_DIR/swig/Examples/reposit/simple
> > export
> > LD_LIBRARY_PATH=$REPOSIT_DIR/install/lib:$REPOSIT_DIR/swig/Examples/reposit/simple/lib
> > export INSTALL_DIR=$REPOSIT_DIR/install make SWIG
> > make
> > cd $REPOSIT_DIR/swig/Examples/reposit/simple/Main
> > ./mainSimpleLibAddin
> > --------------------------------------------------------
> >
> > Best
> > pp
>
>

------------------------------------------------------------------------------
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
Reply | Threaded
Open this post in threaded view
|

Re: reposit example instructions

Eric Ehlers-3
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