Can't build QuantLib 0.9.7 with Boost 1.40

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

Can't build QuantLib 0.9.7 with Boost 1.40

Tactic
Hi there,

I'm trying to build QuantLib 0.9.7 in Visual C++ .Net 2003 following the guide in http://quantlib.org/install/vc9.shtml

I have an C1001 error and several LNK1181 errors, namely:

**************************************************************************
fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 2701)  Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information


CallableBonds fatal error LNK1181: cannot open input file '\.windows_settings\desktop\quantlib\quantlib-0.9.7\lib\QuantLib-vc71-mt-0_9_7.lib'  


CDS fatal error LNK1181: cannot open input file '\.windows_settings\desktop\quantlib\quantlib-0.9.7\lib\QuantLib-vc71-mt-0_9_7.lib'



FittedBondCurve fatal error LNK1181: cannot open input file '\.windows_settings\desktop\quantlib\quantlib-0.9.7\lib\QuantLib-vc71-mt-0_9_7.lib'


Replication fatal error LNK1181: cannot open input file '\.windows_settings\desktop\quantlib\quantlib-0.9.7\lib\QuantLib-vc71-mt-0_9_7.lib'


Repo fatal error LNK1181: cannot open input file '\.windows_settings\desktop\quantlib\quantlib-0.9.7\lib\QuantLib-vc71-mt-0_9_7.lib'


Swap fatal error LNK1181: cannot open input file '\.windows_settings\desktop\quantlib\quantlib-0.9.7\lib\QuantLib-vc71-mt-0_9_7.lib'


EquityOption fatal error LNK1181: cannot open input file '\.windows_settings\desktop\quantlib\quantlib-0.9.7\lib\QuantLib-vc71-mt-0_9_7.lib'



DiscreteHedging fatal error LNK1181: cannot open input file '\.windows_settings\desktop\quantlib\quantlib-0.9.7\lib\QuantLib-vc71-mt-0_9_7.lib'



BermudanSwaption fatal error LNK1181: cannot open input file '\.windows_settings\desktop\quantlib\quantlib-0.9.7\lib\QuantLib-vc71-mt-0_9_7.lib'



ConvertibleBonds fatal error LNK1181: cannot open input file '\.windows_settings\desktop\quantlib\quantlib-0.9.7\lib\QuantLib-vc71-mt-0_9_7.lib'


FRA fatal error LNK1181: cannot open input file '\.windows_settings\desktop\quantlib\quantlib-0.9.7\lib\QuantLib-vc71-mt-0_9_7.lib'


******************************************************************************

Any solutions?

Thank you.


P.S. Boost 1.40 was successfully tested on the testing examples from both Boost and QuantLib websites.  
Reply | Threaded
Open this post in threaded view
|

Re: Can't build QuantLib 0.9.7 with Boost 1.40

Luigi Ballabio
On Tue, 2009-10-06 at 09:34 -0700, Tactic wrote:
> I'm trying to build QuantLib 0.9.7 in Visual C++ .Net 2003 following the
> guide in http://quantlib.org/install/vc9.shtml
>
> I have an C1001 error and several LNK1181 errors, namely:

Yes, we're having quite a few problems with Boost 1.40.
For the time being, I suggest you stick with 1.39.

Luigi


--

Cogito ergo I'm right and you're wrong.
-- Blair Houghton



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Can't build QuantLib 0.9.7 with Boost 1.40

Tactic
Well, I get exactly the same error messages with Boost 1.39



Luigi Ballabio wrote
> I have an C1001 error and several LNK1181 errors, namely:

Yes, we're having quite a few problems with Boost 1.40.
For the time being, I suggest you stick with 1.39.

Luigi
Reply | Threaded
Open this post in threaded view
|

Re: Can't build QuantLib 0.9.7 with Boost 1.40

Kim Kuen Tang
In reply to this post by Tactic

Hi Tactic,

the errors messages dont indicate that this is a problem related to
quantlib.

The first error is a well known problem caused by visual studio and
should be fixed by version >= 4.0. Perhaps you should update your visual
studio.

If you are a student you can download the latest visual studio in
dreamspark.

The others errors message indicate that you didnt set the library path.
Can you check your library path?

Btw. You should not install quantlib on your desktop.

Best regards,
Kim

Tactic schrieb:

> Hi there,
>
> I'm trying to build QuantLib 0.9.7 in Visual C++ .Net 2003 following the
> guide in http://quantlib.org/install/vc9.shtml
>
> I have an C1001 error and several LNK1181 errors, namely:
>
> **************************************************************************
> fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line
> 2701)  Please choose the Technical Support command on the Visual C++ Help
> menu, or open the Technical Support help file for more information
>
>
> CallableBonds fatal error LNK1181: cannot open input file
> '\.windows_settings\desktop\quantlib\quantlib-0.9.7\lib\QuantLib-vc71-mt-0_9_7.lib'  
>
>
> CDS fatal error LNK1181: cannot open input file
> '\.windows_settings\desktop\quantlib\quantlib-0.9.7\lib\QuantLib-vc71-mt-0_9_7.lib'
>
>
>
> FittedBondCurve fatal error LNK1181: cannot open input file
> '\.windows_settings\desktop\quantlib\quantlib-0.9.7\lib\QuantLib-vc71-mt-0_9_7.lib'
>
>
> Replication fatal error LNK1181: cannot open input file
> '\.windows_settings\desktop\quantlib\quantlib-0.9.7\lib\QuantLib-vc71-mt-0_9_7.lib'
>
>
> Repo fatal error LNK1181: cannot open input file
> '\.windows_settings\desktop\quantlib\quantlib-0.9.7\lib\QuantLib-vc71-mt-0_9_7.lib'
>
>
> Swap fatal error LNK1181: cannot open input file
> '\.windows_settings\desktop\quantlib\quantlib-0.9.7\lib\QuantLib-vc71-mt-0_9_7.lib'
>
>
> EquityOption fatal error LNK1181: cannot open input file
> '\.windows_settings\desktop\quantlib\quantlib-0.9.7\lib\QuantLib-vc71-mt-0_9_7.lib'
>
>
>
> DiscreteHedging fatal error LNK1181: cannot open input file
> '\.windows_settings\desktop\quantlib\quantlib-0.9.7\lib\QuantLib-vc71-mt-0_9_7.lib'
>
>
>
> BermudanSwaption fatal error LNK1181: cannot open input file
> '\.windows_settings\desktop\quantlib\quantlib-0.9.7\lib\QuantLib-vc71-mt-0_9_7.lib'
>
>
>
> ConvertibleBonds fatal error LNK1181: cannot open input file
> '\.windows_settings\desktop\quantlib\quantlib-0.9.7\lib\QuantLib-vc71-mt-0_9_7.lib'
>
>
> FRA fatal error LNK1181: cannot open input file
> '\.windows_settings\desktop\quantlib\quantlib-0.9.7\lib\QuantLib-vc71-mt-0_9_7.lib'
>
>
> ******************************************************************************
>
> Any solutions?
>
> Thank you.
>
>
> P.S. Boost 1.40 was successfully tested on the testing examples from both
> Boost and QuantLib websites.  
>
>  


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Can't build QuantLib 0.9.7 with Boost 1.40

Luigi Ballabio
On Thu, 2009-10-08 at 22:03 +0200, Kim Kuen Tang wrote:
> The others errors message indicate that you didnt set the library path.

No, the other messages are just because, due to the first error, the
library wasn't built.  So of course the linker can't find it.

Luigi


--

Olmstead's Law:
After all is said and done, a hell of a lot more is said
than done.



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Can't build QuantLib 0.9.7 with Boost 1.40

Luigi Ballabio
In reply to this post by Tactic
On Thu, 2009-10-08 at 03:24 -0700, Tactic wrote:
> Well, I get exactly the same error messages with Boost 1.39

Hmm. Then I can't reproduce the error---0.9.7 builds with VC 2003 on my
machine. Did you check that you installed service packs etc.? Or, may
you get the exact version of your compiler so we can compare them?

Luigi


--

Just remember what ol' Jack Burton does when the earth quakes, the
poison arrows fall from the sky, and the pillars of Heaven shake. Yeah,
Jack Burton just looks that big old storm right in the eye and says,
"Give me your best shot. I can take it."
-- Jack Burton, "Big trouble in Little China"



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Can't build QuantLib 0.9.7 with Boost 1.40

Tactic
Luigi Ballabio wrote
 Did you check that you installed service packs etc.? Or, may
you get the exact version of your compiler so we can compare them?

It's a university machine, the software was installed by our IT staff.

Microsoft Development Environment 2003 Version 7.1.3088
Microsoft .NET Framework 1.1 Version 1.1.4322
Microsoft Visual C++ .NET   69462-270-0000007-18211



Reply | Threaded
Open this post in threaded view
|

Re: Can't build QuantLib 0.9.7 with Boost 1.40

Luigi Ballabio
On Fri, 2009-10-09 at 03:40 -0700, Tactic wrote:
> It's a university machine, the software was installed by our IT staff.
>
> Microsoft Development Environment 2003 Version 7.1.3088

This might be it--I have 7.1.6030.  I also have Service Pack 1 in the
list of installed products (under Help/About MVC++.)  Do you?

Luigi


--

Blessed is the man who, having nothing to say, abstains from giving
wordy evidence of the fact.
-- George Eliot



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Can't build QuantLib 0.9.7 with Boost 1.40

Tactic
Luigi Ballabio wrote
This might be it--I have 7.1.6030.  I also have Service Pack 1 in the
list of installed products (under Help/About MVC++.)  Do you?

Luigi


I don't have any mention of Service Packs in the list.

What I have is Microsoft Visual Studio .Net 2003 Hotfix if it's of any relevance.

Product details: This is a hotfix to the Microsoft Visual Studio .NET 2003. When you install a later service pack, this hotfix will uninstall automatically for you. The fix will then be applied by the service pack you are installing.
Reply | Threaded
Open this post in threaded view
|

Re: Can't build QuantLib 0.9.7 with Boost 1.40

Luigi Ballabio
On Mon, 2009-10-12 at 14:12 -0700, Tactic wrote:
> I don't have any mention of Service Packs in the list.
>
> What I have is Microsoft Visual Studio .Net 2003 Hotfix if it's of any
> relevance.

I don't know. Maybe you might ask your lab administrator if he can check
whether he can apply any updates?

Luigi


--

Present to inform, not to impress; if you inform, you will impress.
-- Fred Brooks



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users