Issue with release compilation

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

Issue with release compilation

Ian Menezes
Hi

I'm able to compile and run the examples with no problems in VC 2008 Express in
the debug mode, but when I switch to release mode, I get the following error.


1>LINK : fatal error LNK1104: cannot open file 'QuantLib-vc90-mt-0_9_6.lib'


I tried #include <ql/auto_link.hpp> but that doesn't seem to help the problem.


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Issue with release compilation

Luigi Ballabio
On Thu, 2009-01-29 at 12:30 +0000, Ian Menezes wrote:
> I'm able to compile and run the examples with no problems in VC 2008 Express in
> the debug mode, but when I switch to release mode, I get the following error.
>
> 1>LINK : fatal error LNK1104: cannot open file 'QuantLib-vc90-mt-0_9_6.lib'

Do you have QuantLib-vc90-mt-0_9_6.lib anywhere?

Luigi


--

The first rule of intelligent tinkering is to save all the parts.
-- Paul Erlich



------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Issue with release compilation

Ian Menezes


2009/1/29 Luigi Ballabio <[hidden email]>
On Thu, 2009-01-29 at 12:30 +0000, Ian Menezes wrote:
> I'm able to compile and run the examples with no problems in VC 2008 Express in
> the debug mode, but when I switch to release mode, I get the following error.
>
> 1>LINK : fatal error LNK1104: cannot open file 'QuantLib-vc90-mt-0_9_6.lib'

Do you have QuantLib-vc90-mt-0_9_6.lib anywhere?

Luigi


Thanks for the prompt response Luigi!

I recompiled Quantlib using the Release CRTDLL option in VC9. Now there's a
copy of that file in the lib folder, and I can now build and run release version
of the examples.

Guess that what was causing the problem. 

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users