0

Interactive Brokers 交易者工作站中的错误 - C++ API。我可以编译并解决大部分链接错误。我可以让它在 Win32 配置中运行。但我正在切换到 x64 平台,我面临以下链接错误。

请帮助我解决这些错误。

Severity    Code    Description Project File    Line    Suppression State
Error   LNK2019 unresolved external symbol __bid64_to_string referenced in function "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl decimalToString(unsigned __int64)" (?decimalToString@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@_K@Z)  TwsSocketClient C:\L\TestCppClient\TwsSocketClient\EClient.obj  1   
Error   LNK2019 unresolved external symbol __bid64_from_string referenced in function "unsigned __int64 __cdecl stringToDecimal(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?stringToDecimal@@YA_KV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)  TwsSocketClient C:\L\TestCppClient\TwsSocketClient\EDecoder.obj 1   
Error   LNK1120 2 unresolved externals  TwsSocketClient C:\L\TestCppClient\x64\Debug\TwsSocketClient.dll    1   
Error   LNK2019 unresolved external symbol __bid64_from_string referenced in function "unsigned __int64 __cdecl stringToDecimal(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?stringToDecimal@@YA_KV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)  TestCppClient   C:\L\TestCppClient\TestCppClient\TestCppClient.obj  1   
Error   LNK2019 unresolved external symbol __bid64_to_string referenced in function "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl decimalToString(unsigned __int64)" (?decimalToString@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@_K@Z)  TestCppClient   C:\L\TestCppClient\TestCppClient\TestCppClient.obj  1   
Error   LNK1120 2 unresolved externals  TestCppClient   C:\L\TestCppClient\x64\Debug\TestCppClient.exe  1
4

0 回答 0