0

Error in Interactive brokers trader workstation - C++ API. I could get it compiled and resolved most of the linking errors. I could get it running in Win32 Configuration. But I was switching over to x64 platform and I am facing below linking errors.

Please help me to resolve these errors.

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
1201ProgramAlarm
  • 31,926
  • 7
  • 42
  • 52
centi
  • 11
  • 2

0 Answers0