Re: QuantlibXl

Posted by Marwan-2 on
URL: http://quantlib.414.s1.nabble.com/QuantlibXl-tp4980p4986.html

Hi everybody,

I tried the different hints you have provided. Unfortunately, it didn't worked.

Actually the qladdin.obj is always empty (0 Ko).

You may find below the output of VC8.

After the last message" Generating Code ..."

the compilator runs for hours. When i cancel the project and build it again, it says .\buildStatic\vc80\Release\qladdin.obj : fatal error>> LNK1136: invalid or

corrupt file

thank you for your help

 

 ------ Skipped Build: Project: gensrc, Configuration: All Win32 ------

Project not selected to build for this solution configuration

------ Skipped Build: Project: QuantLibObjects, Configuration: Release Win32 ------

Project not selected to build for this solution configuration

------ Build started: Project: QuantLibXL, Configuration: Release Win32 ------

Compiling...

volatilities.cpp

vanillaswap.cpp

utilities.cpp

termstructures.cpp

swaptionvolstructure.cpp

swaption.cpp

swap.cpp

shortratemodels.cpp

session.cpp

schedule.cpp

ratehelpers.cpp

randomsequencegenerator.cpp

qladdin.cpp

Linking to lib file: QuantLibObjects-vc80-mt-s-0_3_13.lib

Linking to lib file: ObjectHandler-xllib-vc80-mt-s-0_1_4.lib

XLL_STATIC is defined

COMPILING_XLL is defined

processes.cpp

pricingengines.cpp

prices.cpp

payoffs.cpp

options.cpp

optimization.cpp

mathf.cpp

Generating Code...

----- Original Message -----
From: "eric ehlers" <[hidden email]>
To: "Marwan" <[hidden email]>
Cc: <[hidden email]>
Sent: Friday, August 25, 2006 3:58 PM
Subject: Re: [Quantlib-users] QuantlibXl

> Hi Marwan,

>
> On 8/25/06, Marwan <
[hidden email]> wrote:
>>
>> Hi,
>>
>> while compiling the QuantlibXl project, i get this message
>>
>> .\buildStatic\vc80\Release\qladdin.obj : fatal error
>> LNK1136: invalid or corrupt file
>>
>> Is this familiar to anyone ?
>
> Please try either 1) deleting qladdin.obj and rebuilding or 2) a full rebuild.
>
> I have seen the same error a couple of times.  IIRC some condition
> isn't met - e.g. missing header file - and after fixing the problem
> and resuming the build it appears that VC8 has produced an invalid
> object file.
>
> Regards,
> Eric
>
>