Re: some Big Picture issues and "cannot open file 'QuantLib-vc90-mt-gd.lib'"

Posted by Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/some-Big-Picture-issues-and-cannot-open-file-QuantLib-vc90-mt-gd-lib-tp8441p8442.html


On Jul 13, 2010, at 9:56 PM, sameer walawalkar wrote:

> I have installed VC++ 2008 (2010 was giving too many problems),  
> QuantLib and Boost and have gone through the steps of building the  
> complete quantlib project, and run EquityOption succesfully. But  
> now, in order to understand various aspects of Quantlib etc, I  
> started a new project called MyProject and am trying to write a  
> simple Option Pricing code again to implement just one engine. I  
> have added all the link directories to this project and the  
> additional directories etc. Yet, when I try to build "MySolution", I  
> get the following error
>
> LINK : fatal error LNK1104: cannot open file 'QuantLib-vc90-mt-gd.lib'
>


The fact that the linker looks for the mt-gd flavor of the library  
means that you're compiling your project in Debug mode.  You probably  
compiled QuantLib in Release mode instead, which resulted in a library  
with another name.  Synchronize he two and you should be ok.

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