http://quantlib.414.s1.nabble.com/ClientCppInstrumentIn-Link-Error-with-VC10-tp13738p13766.html
You are only adding the paths. Are you telling the linker that it
> Hi Luigi,
>
> Unfortunately this does not help.
> I have compiled everything (I have AddinCpp-vc100-mt-1_2_0.lib and/or
> AddinCpp-vc100-mt-s-1_2_0.lib) and the path in the lib path but nothing
> seems to work...
>
> The problem is located with the QuantLibAddinCpp name space and its related
> lib.
> I have built the simpliest example possible:
>
> /#include <qlo/auto_link.hpp>
> #include <qlo/qladdin.hpp>
> #include <iostream>
> #include <Addins/Cpp/addincpp.hpp>
>
> using namespace QuantLibAddinCpp;
>
> int main()
> {
> QuantLibAddinCpp::initializeAddin();
> }
> /
>
> If I remove the initializeAddin() everything works fine (well it does
> nothing but it compiles though).
> If you add it, there is a link problem as if it cannot find the function
> definition.
>
> *error LNK2001: unresolved external symbol "void __cdecl
> QuantLibAddinCpp::initializeAddin(void)"*
>
> I have added everything taht seems needed for it to compile in the *Linker:
> additional librairy directories*
>
> C:\build_ql_1_2_0\QuantLibAddin\Addins\Cpp\lib
> C:\build_ql_1_2_0\QuantLibAddin\lib
> C:\build_ql_1_2_0\QuantLib\lib
> C:\build_ql_1_2_0\ObjectHandler\lib
> C:\build_ql_1_2_0\log4cxx\msvc\lib
>
> Thanks
>
>
>
>
> --
> View this message in context:
http://quantlib.10058.n7.nabble.com/ClientCppInstrumentIn-Link-Error-with-VC10-tp13738p13763.html> Sent from the quantlib-users mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Keep yourself connected to Go Parallel:
> TUNE You got it built. Now make it sing. Tune shows you how.
>
http://goparallel.sourceforge.net> _______________________________________________
> QuantLib-users mailing list
>
[hidden email]
>
https://lists.sourceforge.net/lists/listinfo/quantlib-usersTUNE You got it built. Now make it sing. Tune shows you how.