List Info

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




Linkage error in building Quantlib in Visual C++ 2005 express
user name
2007-03-06 14:43:30
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
Re: Linkage error in building Quantlib in Visual C++ 2005 express
user name
2007-03-06 14:53:25
  Further more, in QuantLib-0.4.0lib, 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 < quantlibsub.gonggmail.com">quantlibsub.gonggmail.com> 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

Re: Linkage error in building Quantlib in Visual C++ 2005 express
user name
2007-03-07 03:48:48
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.0lib, 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
QuantLib-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/quantlib
-users

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )