Re: QuantLibXL and ObjectHandler-error-further help!

Posted by javit on
URL: http://quantlib.414.s1.nabble.com/QuantLibXL-and-ObjectHandler-help-please-tp7540p7544.html

The LNK1104 errors may be due to a missing/wrong reference to the boost directories.
For LNK1181 errors, http://support.microsoft.com/kb/815645 may be helpful.

The website says that Python is required for the ObjectHandler installation, sorry.

nneslihan wrote
Hello,

I have been using the precompiled version actually,QuantLibXL..I dont have any problems with it..but i guess it doesnt have its own repository(version 0-9-7).Since somewhere i have read that QuantLibXL-vc90-mt-s_0_9_7.xll has its own respository,but mine is QuantLibXL-vc80-mt-s_0_9_7.xll  ,so i believe that i have to install ObjectHandler..

I just cannot build Objecthandler in Visual  Studio 2005..And the errors I get are:

Error 1 fatal error U1073: don't know how to make 'auto.pages\*.docs' NMAKE
Error 2 error PRJ0019: A tool returned an error code from "Performing Makefile project actions" docs
Error 30 fatal error LNK1104: cannot open file 'libboost_serialization-vc80-mt-1_36.lib' ExampleCpp
Error 31 fatal error LNK1104: cannot open file 'libboost_serialization-vc80-mt-1_36.lib' ohxll
Error 32 fatal error LNK1104: cannot open file 'libboost_serialization-vc80-mt-1_36.lib' ExampleXllStatic
Error 33 fatal error LNK1181: cannot open input file '..\..\lib\objecthandler-xll-vc80-mt-0_9_7.lib' ExampleXllDynamic1
Error 34 fatal error LNK1181: cannot open input file '..\..\lib\objecthandler-xll-vc80-mt-0_9_7.lib' ExampleXllDynamic2

I think the 2. error is because i have no python installed. And i cannot do it,since i dont have the admin rights to install it onto the computer.
under the boost folder there doesnt exist the file written above...I have no idea why..I tried with another versions of boost,1_36 gives  less errors:)
and under ObjectHandler there is the subdirectory XLL but it is empty...

So ,what should i do right now?I really caanot find a solution...

Thanks for your help!

have a nice day!

Neslihan








javit wrote
There are precompiled versions of QuantLib Excel. http://quantlib.org/quantlibaddin/

I believe that you will need the Object handler to store the objects created by QuantLib. You're having problems with the objecthandler when you/quantlibxl try to access to a previously created object.

Somebody may help you find solution to your problem if you post the commands and the errors you got step by step.

nneslihan wrote
Hello everyone,

I`d like to introduce myself before asking my question.
My name is Neslihan Hacioglu and i am a masters student in financial mathematics in Germany.I have a job as asisstant student in an institute and now a work to complete.

My supervisor asked me to find out how the thigs with quantlib works..and I´ve been trying for couple of days to build ObjectHandler, QuantLib XL and the rest,following the steps in the documentations..then i came up with a lot of errors when i tried to build ObjectHandler in Visual Studio 2005...
.Sorry for this question,but I am really new in programming things and QuantLib,and really cannot understand that..Does QuantLibXL work without ObjectHandler??What is ObjectHandler actually doing??
Somewhere I have read that it is necessary if you need to use an object in one XLS file ,in another one...
and that it is a repository you can store the data,share it,and destroy if you like..
Is that what it does??
Sometimes some errors concerning ObjectHandler are appearing on the XLS files of QuantlibXL,but sometimes they disappear..I don`t really understand that..
I really appreciate any kind of help..

Thank you all in advance!
Have a nice day!

Neslihan