1st Time User: My Code Never Works

Posted by james shaw-7 on
URL: http://quantlib.414.s1.nabble.com/1st-Time-User-My-Code-Never-Works-tp7557.html

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