Thread: [Quickfix-users] Build issues on Visual C++ Express (error LNK2019)
Brought to you by:
orenmnero
From: <web...@sa...> - 2005-11-19 22:07:28
|
Hi, I'm just trying to do a quick build on unmodified code before really playing with anything and I can't get Visual C++ to do it. I've done some google searches and have found a number of reasons for the LNK2019, but none of them helped me. Anyone have any clues? Thanks, Howard ------ Build started: Project: at, Configuration: Debug Win32 ------ Linking... quickfix.lib(MSXML_DOMDocument.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 _bstr_t::Data_t::Data_t(char const *)" (??0Data_t@_bstr_t@@QAE@PBD@Z) quickfix.lib(MSXML_DOMDocument.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) bin\debug\at.exe : fatal error LNK1120: 2 unresolved externals Build log was saved at "file://c:\Documents and Settings\Compaq_Owner\Desktop\quickfix-1.10.2\quickfix\Debug\BuildLog.htm" at - 3 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ========== |
From: Oren M. <or...@qu...> - 2005-11-20 00:03:01
|
Not sure what comes included in Visual Studio Express, but those methods (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclang/html/vclrfconvertbstrtostring.asp), are in the comsupp.lib Does VSE not come with this library? Or is it for some reason not being linked? --oren web...@sa... wrote: >QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html >QuickFIX Support: http://www.quickfixengine.org/services.html > >Hi, > >I'm just trying to do a quick build on unmodified code before really playing >with anything and I can't get Visual C++ to do it. > >I've done some google searches and have found a number of reasons for the >LNK2019, but none of them helped me. > >Anyone have any clues? > >Thanks, > >Howard > >------ Build started: Project: at, Configuration: Debug Win32 ------ >Linking... >quickfix.lib(MSXML_DOMDocument.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 _bstr_t::Data_t::Data_t(char const *)" >(??0Data_t@_bstr_t@@QAE@PBD@Z) >quickfix.lib(MSXML_DOMDocument.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) >bin\debug\at.exe : fatal error LNK1120: 2 unresolved externals >Build log was saved at "file://c:\Documents and >Settings\Compaq_Owner\Desktop\quickfix-1.10.2\quickfix\Debug\BuildLog.htm" >at - 3 error(s), 0 warning(s) >========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ========== > > > >------------------------------------------------------- >This SF.Net email is sponsored by the JBoss Inc. Get Certified Today >Register for a JBoss Training Course. Free Certification Exam >for All Training Attendees Through End of 2005. For more info visit: >http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click >_______________________________________________ >Quickfix-users mailing list >Qui...@li... >https://lists.sourceforge.net/lists/listinfo/quickfix-users > > > > |
From: <web...@sa...> - 2005-11-22 03:44:30
|
I had to manually link a bunch of stuff that were in the Platform SDK but not included with Express and even modify a .h file because the way MS shipped it, it wouldn't work on a non-64-bit compile, but comsupp.lib is included and linked. I haven't given up yet. For what it's worth, I can get "quickfix" and "atrun" to compile but not at, pt or ut. All end with the same errors Any suggestions? Quoting Oren Miller <or...@qu...>: > Not sure what comes included in Visual Studio Express, but those > methods > (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclang/html/vclrfconvertbstrtostring.asp), are in the > comsupp.lib > > Does VSE not come with this library? Or is it for some reason not > being linked? > > --oren > > web...@sa... wrote: > >> QuickFIX Documentation: >> http://www.quickfixengine.org/quickfix/doc/html/index.html >> QuickFIX Support: http://www.quickfixengine.org/services.html >> >> Hi, >> >> I'm just trying to do a quick build on unmodified code before really playing >> with anything and I can't get Visual C++ to do it. >> >> I've done some google searches and have found a number of reasons for the >> LNK2019, but none of them helped me. >> >> Anyone have any clues? >> >> Thanks, >> >> Howard >> >> ------ Build started: Project: at, Configuration: Debug Win32 ------ >> Linking... >> quickfix.lib(MSXML_DOMDocument.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 _bstr_t::Data_t::Data_t(char const *)" >> (??0Data_t@_bstr_t@@QAE@PBD@Z) >> quickfix.lib(MSXML_DOMDocument.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) >> bin\debug\at.exe : fatal error LNK1120: 2 unresolved externals >> Build log was saved at "file://c:\Documents and >> Settings\Compaq_Owner\Desktop\quickfix-1.10.2\quickfix\Debug\BuildLog.htm" >> at - 3 error(s), 0 warning(s) >> ========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ========== >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by the JBoss Inc. Get Certified Today >> Register for a JBoss Training Course. Free Certification Exam >> for All Training Attendees Through End of 2005. For more info visit: >> http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click >> _______________________________________________ >> Quickfix-users mailing list >> Qui...@li... >> https://lists.sourceforge.net/lists/listinfo/quickfix-users >> >> >> > |