Error 1 fatal error LNK1104: cannot open file 'QuantLib-vc90-mt-sgd.lib'

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

Error 1 fatal error LNK1104: cannot open file 'QuantLib-vc90-mt-sgd.lib'

jojogh
Hi Guys,
Any one met this error before. When I followed the instruction to install boost, and compile QuantLib 1.2.1. After I configured the example case QuantLib-1.2.1\Examples\Swap, I tried to debug the example, it showed the following error info:
1>------ Build started: Project: Swap, Configuration: Debug (static runtime) Win32 ------
1>Linking...
1>LINK : fatal error LNK1104: cannot open file 'QuantLib-vc90-mt-sgd.lib'
1>Build log was saved at "file://e:\programming\QuantLib\QuantLib-1.2.1\Examples\Swap\build\vc90\Win32\Debug (static runtime)\BuildLog.htm"
1>Swap - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

But, the first time, i did not compile the quantlib lib file, the swap cased can be debugged, and run in the console.
How did it happen, and how i can solve it. 
BTW, I used VS 2008.

I am looking forward to your reply.

regards

Alex Zhang

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Error 1 fatal error LNK1104: cannot open file 'QuantLib-vc90-mt-sgd.lib'

Theologis Chapsalis-2

You get a linker error. Pls make sure you have exactly the same configuration ( win32 static runtime debug) in both projects. This error occurs to me if I have a mismatch between the two configs.

Best regards
Theo Chapsalis

On Oct 9, 2012 9:59 AM, "Yuanhao Zhang" <[hidden email]> wrote:
Hi Guys,
Any one met this error before. When I followed the instruction to install boost, and compile QuantLib 1.2.1. After I configured the example case QuantLib-1.2.1\Examples\Swap, I tried to debug the example, it showed the following error info:
1>------ Build started: Project: Swap, Configuration: Debug (static runtime) Win32 ------
1>Linking...
1>LINK : fatal error LNK1104: cannot open file 'QuantLib-vc90-mt-sgd.lib'
1>Build log was saved at "file://e:\programming\QuantLib\QuantLib-1.2.1\Examples\Swap\build\vc90\Win32\Debug (static runtime)\BuildLog.htm"
1>Swap - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

But, the first time, i did not compile the quantlib lib file, the swap cased can be debugged, and run in the console.
How did it happen, and how i can solve it. 
BTW, I used VS 2008.

I am looking forward to your reply.

regards

Alex Zhang

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Error 1 fatal error LNK1104: cannot open file 'QuantLib-vc90-mt-sgd.lib'

jojogh
Thx, Theo, I would double check, and re debug it, and see what would happen.

regards

Alex

2012/10/9 Theologis Chapsalis <[hidden email]>

You get a linker error. Pls make sure you have exactly the same configuration ( win32 static runtime debug) in both projects. This error occurs to me if I have a mismatch between the two configs.

Best regards
Theo Chapsalis

On Oct 9, 2012 9:59 AM, "Yuanhao Zhang" <[hidden email]> wrote:
Hi Guys,
Any one met this error before. When I followed the instruction to install boost, and compile QuantLib 1.2.1. After I configured the example case QuantLib-1.2.1\Examples\Swap, I tried to debug the example, it showed the following error info:
1>------ Build started: Project: Swap, Configuration: Debug (static runtime) Win32 ------
1>Linking...
1>LINK : fatal error LNK1104: cannot open file 'QuantLib-vc90-mt-sgd.lib'
1>Build log was saved at "file://e:\programming\QuantLib\QuantLib-1.2.1\Examples\Swap\build\vc90\Win32\Debug (static runtime)\BuildLog.htm"
1>Swap - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

But, the first time, i did not compile the quantlib lib file, the swap cased can be debugged, and run in the console.
How did it happen, and how i can solve it. 
BTW, I used VS 2008.

I am looking forward to your reply.

regards

Alex Zhang

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users



------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users