Build QuantLib: Issue

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

Build QuantLib: Issue

james shaw-7
Hi
 
I tried to build my quantlib based on the instruction (http://quantlib.org/install/vc9.shtml).
 
It failed. I got this message
 
**********************************************************************************************************************************************

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

Linking...

LINK : fatal error LNK1104: cannot open file 'QuantLib-vc90-mt.lib'

Build log was saved at "file://c:\FinProgram\QuantLib-1.0.1\QuantLib-1.0.1\Examples\BermudanSwaption\build\vc80\Release\BuildLog.htm"

BermudanSwaption - 1 error(s), 0 warning(s)

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

There is no file "QuantLib-vc90-mt.lib" in my directory.

I used Visual C++ 2008 Express Edition and QuantLib_vc8. I am looking forward to your help.

Thanks

James


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Build QuantLib: Issue

Luigi Ballabio

On Jul 4, 2010, at 12:29 AM, james shaw wrote:

> I tried to build my quantlib based on the instruction (http://quantlib.org/install/vc9.shtml 
> ).
>
> It failed. I got this message
>
> **********************************************************************************************************************************************
> ------ Build started: Project: BermudanSwaption, Configuration:  
> Release Win32 ------
>
> Linking...
>
> LINK : fatal error LNK1104: cannot open file 'QuantLib-vc90-mt.lib'
>
> Build log was saved at "file://c:\FinProgram
> \QuantLib-1.0.1\QuantLib-1.0.1\Examples\BermudanSwaption\build
> \vc80\Release\BuildLog.htm"
>
> BermudanSwaption - 1 error(s), 0 warning(s)
>
> **********************************************************************************************************************************************************************************
>
> There is no file "QuantLib-vc90-mt.lib" in my directory.
>

You probably opened the BermudanSwaption project directly.  Open the  
QuantLib_vc9.sln solution instead (as suggested in the instruction) so  
you get the correct dependencies.

Luigi



------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Build QuantLib: Issue

Guanghua Lian

You need to set up the path for the library. I once got the same problem. After setting the path, it going to be fine.


> From: [hidden email]
> To: [hidden email]
> Date: Sun, 4 Jul 2010 18:23:11 +0200
> CC: [hidden email]
> Subject: Re: [Quantlib-users] Build QuantLib: Issue
>
>
> On Jul 4, 2010, at 12:29 AM, james shaw wrote:
> > I tried to build my quantlib based on the instruction (http://quantlib.org/install/vc9.shtml
> > ).
> >
> > It failed. I got this message
> >
> > **********************************************************************************************************************************************
> > ------ Build started: Project: BermudanSwaption, Configuration:
> > Release Win32 ------
> >
> > Linking...
> >
> > LINK : fatal error LNK1104: cannot open file 'QuantLib-vc90-mt.lib'
> >
> > Build log was saved at "file://c:\FinProgram
> > \QuantLib-1.0.1\QuantLib-1.0.1\Examples\BermudanSwaption\build
> > \vc80\Release\BuildLog.htm"
> >
> > BermudanSwaption - 1 error(s), 0 warning(s)
> >
> > **********************************************************************************************************************************************************************************
> >
> > There is no file "QuantLib-vc90-mt.lib" in my directory.
> >
>
> You probably opened the BermudanSwaption project directly. Open the
> QuantLib_vc9.sln solution instead (as suggested in the instruction) so
> you get the correct dependencies.
>
> Luigi
>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> QuantLib-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-users


Find it at CarPoint.com.au New, Used, Demo, Dealer or Private?
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users