Linking problems

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Linking problems

marco.tarenghi@libero.it
Hi all,
I have created a Visual C++ solution including both the QuantLib project and a personal project based on QuantLib code.
When updating QuantLib version (from 3.12 to 3.13) I experience linking problems.
I have no problem in compiling the solution, but when it tries to build the DLL of my project, it returns out a lot of errors: for example if I just instantiate a Date object it returns

"error LNK2019: unresolved external symbol "public: __thiscall QuantLib::Date::Date(long)" (??0Date@QuantLib@@QAE@J@Z) referenced in function ..."

Since I just run the same procedures as for version 3.12, I cannot see where is the problem.
In which way I have to compile QuantLib? I compiled it in CRTDLL as for the 3.12. Is it correct?

Thank you for any answer!

Marco