Linkage error in building Quantlib in Visual C++ 2005 express

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

Linkage error in building Quantlib in Visual C++ 2005 express

silhouette.n
This post was updated on .
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Linkage error in building Quantlib in Visual C++ 2005 express

silhouette.n
This post was updated on .
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Linkage error in building Quantlib in VisualC++ 2005 express

Li, Peter

Hi, my friend, make sure you open the right VS project (solution) file. For VC 2005 it should be QuantLib_vc8.sln. For VS.net it should be QuantLib.sln

 

Luigi’s VC project configuration has no problem (from my experience) and saves people a lot time.

 

------------------------------------

Peter Li

 


From: [hidden email] [mailto:[hidden email]] On Behalf Of Yulei Gong
Sent: Tuesday, March 06, 2007 3:53 PM
To: [hidden email]; [hidden email]
Subject: Re: [Quantlib-users] Linkage error in building Quantlib in VisualC++ 2005 express

 

  Further more, in QuantLib-0.4.0\lib, there is quantlib-vc71-mt-gd-0_4_0.lib, but no 'QuantLib-vc80-mt-gd-0_4_0.lib', while in the building process, vc80 is what it is looking for, what part has error?


 

On 3/6/07, Yulei Gong <[hidden email]> wrote:

Hi All,

I met with the following error in building the file and would really appreciate any advice on how should I fix it.

LINK : fatal error LNK1104: cannot open file 'QuantLib-vc80-mt-gd-0_4_0.lib'

 

THANK!

 

Yulei

 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Linkage error in building Quantlib in Visual C++ 2005 express

Luigi Ballabio
In reply to this post by silhouette.n
On Tue, 2007-03-06 at 15:43 -0500, Yulei Gong wrote:
> I met with the following error in building the file and would really
> appreciate any advice on how should I fix it.
> LINK : fatal error LNK1104: cannot open file
> 'QuantLib-vc80-mt-gd-0_4_0.lib'

Yulei,
        what file were you trying to build exactly? The test-suite, an example,
or some program of yours using the library? Also, what solution file did
you use?


On Tue, 2007-03-06 at 15:53 -0500, Yulei Gong wrote:
>   Further more, in QuantLib-0.4.0\lib, there is
> quantlib-vc71-mt-gd-0_4_0.lib, but no 'QuantLib-vc80-mt-gd-0_4_0.lib',
> while in the building process, vc80 is what it is looking for, what
> part has error?

It looks like either you compiled the library using VC++7 and later
tried to build your program with VC++8 (the two compilers are not
compatible) or you opened the VC++7 solution file with VC++8. As Peter
Li pointed out, you'll need to use QuantLib_vc8.sln instead.

Later,
        Luigi


----------------------------------------

If I do not want others to quote me, I do not speak.
-- Phil Wayne



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Linkage error in building Quantlib in VisualC++ 2005 express

silhouette.n
This post was updated on .
In reply to this post by Li, Peter
CONTENTS DELETED
The author has deleted this message.