Re: storing the data once it has been parsed (Peter Caspers)

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

Re: storing the data once it has been parsed (Peter Caspers)

tallent_e
Hello Pavan,

Happy new year.

In my opinion, your problem doesn't come from the lines of code you showed.

This is a linker problem, if I understand well.

It seems your project isn't correctly set up.

 Please, check you build your project in the same mode as you built QL.

(You may well have built QL in release mode, and are trying to build your project in debug mode, [or the other way around])

Best
Édouard
--
http://quantcorner.wordpress.com

------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: storing the data once it has been parsed (Peter Caspers)

Pavan Shah-2
that was exactly the problem
I basically ported my code so that it remains in the same project as the quantlib one (where I was able to successfully test examples shown in the Dimitri Reiswich's PDF notes).
It seems to be fine now

thanks
Pavan


On Tue, Jan 1, 2013 at 4:34 AM, Edouard Tallent <[hidden email]> wrote:
Hello Pavan,

Happy new year.

In my opinion, your problem doesn't come from the lines of code you showed.

This is a linker problem, if I understand well.

It seems your project isn't correctly set up.

 Please, check you build your project in the same mode as you built QL.

(You may well have built QL in release mode, and are trying to build your project in debug mode, [or the other way around])

Best
Édouard
--
http://quantcorner.wordpress.com

I made the correction. But
the compiler gives me this error:

Error 29 error LNK1104: cannot
open file 'QuantLib-vc100-mt-gd.lib'

I am using Visual Studio 2010 to compile.
Two questions:

1)is there anything wrong with my code above?
2)do i need to change something in my project
properties? 

thanks
pavan


------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users



------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users