------ Build started: Project: AddinExcelStatic, Configuration: Debug Win32 ------
Linking...
Creating library .\buildStatic\vc80\Debug/QuantLibAddinStatic-vc80-mt-sgd-0_3_12.lib and object .\buildStatic\vc80\Debug/QuantLibAddinStatic-vc80-mt-sgd-0_3_12.exp
log4cxxs-vc80-mt-sgd.lib(msxml.obj) : error LNK2019: unresolved external symbol "wchar_t * __stdcall _com_util::ConvertStringToBSTR(char const *)" (?ConvertStringToBSTR@_com_util@@YGPA_WPBD@Z) referenced in function "public: __thiscall _variant_t::_variant_t(char const *)" (??0_variant_t@@ QAE@PBD@Z)
log4cxxs-vc80-mt-sgd.lib(msxml.obj) : error LNK2019: unresolved external symbol "char * __stdcall _com_util::ConvertBSTRToString(wchar_t *)" (?ConvertBSTRToString@_com_util@@YGPADPA_W@Z) referenced in function "public: char const * __thiscall _bstr_t::Data_t::GetString(void)const " (?GetString@Data_t@_bstr_t@@QBEPBDXZ)
xll\QuantLibAddinStatic-vc80-mt-sgd-0_3_12.xll : fatal error LNK1120: 2 unresolved externals
Build log was saved at "<a href="file://c:\QuantLibAddin-0.3.12_SRC\Addins\Excel\buildStatic\vc80\Debug\BuildLog.htm">file://c:\QuantLibAddin-0.3.12_SRC\Addins\Excel\buildStatic\vc80\Debug\BuildLog.htm"
AddinExcelStatic - 3 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
it just looks like I have some problems with the linker. Having a look around on internet I found out it might be related to a problem importing a c function in a c++ project without using the 'extern "C" ' statement ( http://blogs.msdn.com/vsdteam/archive/2005/11/20/495123.aspx). Is it correct? if it is so, where do I have to modify the code?
Free forum by Nabble | Disable Popup Ads | Edit this page |