Did you set the Additional Library Directories in the project properties? You could also try including ql/auto_link.hpp.
From: james shaw <[hidden email]>
To: [hidden email]
Sent: Fri, July 30, 2010 11:12:09 AM
Subject: [Quantlib-users] 1st Time User: My Code Never Works
It is my 1st time working on Quantlib. I created a very simple program as below. I used MS Visual Stutio C++. The program dosen't work. Can anyone help?Many thanks.Ming************************************************************************************************************#include
<ql/quantlib.hpp>#include
<boost/timer.hpp>#include
<iostream>#include
<iomanip>using
namespace QuantLib;
#if
defined(QL_ENABLE_SESSIONS)namespace QuantLib {
Integer sessionId() { return 0; }
}
#endif
int
main(int, char* []){
Calendar celendar = TARGET() ;
Date todaysDate(26, July, 2010) ;
return 0;}
***********************************************************************************************
Error is
**********************************************************************************************
Error 1 fatal error LNK1104: cannot open file 'QuantLib-vc80-mt-gd.lib' QLibTest01
***********************************************************************************************
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
| Free forum by Nabble | Edit this page |