Okay I followed the TEXT document (NOT FOUND IN THE BETA DONWLOAD) .
?
I was able to use NMAKE and compile the floating point library called (libbid.lib)
?
I then placed the libbid.lib in my TestCppClientStatic folder and hit rebuild.
?
Now the error message is different:
?
?
Build started at 10:19 PM...
1>------ Build started: Project: TestCppClientStatic, Configuration: Debug x64 ------
1>TwsSocketClientStatic.lib(Decimal.obj) : error LNK2019: unresolved external symbol __bid64_add referenced in function "public: static unsigned __int64 __cdecl DecimalFunctions::add(unsigned __int64,unsigned __int64)" (?add@DecimalFunctions@@SA_K_K0@Z)
1>TwsSocketClientStatic.lib(Decimal.obj) : error LNK2019: unresolved external symbol __bid64_sub referenced in function "public: static unsigned __int64 __cdecl DecimalFunctions::sub(unsigned __int64,unsigned __int64)" (?sub@DecimalFunctions@@SA_K_K0@Z)
1>TwsSocketClientStatic.lib(Decimal.obj) : error LNK2019: unresolved external symbol __bid64_mul referenced in function "public: static unsigned __int64 __cdecl DecimalFunctions::mul(unsigned __int64,unsigned __int64)" (?mul@DecimalFunctions@@SA_K_K0@Z)
1>TwsSocketClientStatic.lib(Decimal.obj) : error LNK2019: unresolved external symbol __bid64_div referenced in function "public: static unsigned __int64 __cdecl DecimalFunctions::div(unsigned __int64,unsigned __int64)" (?div@DecimalFunctions@@SA_K_K0@Z)
1>TwsSocketClientStatic.lib(Decimal.obj) : error LNK2019: unresolved external symbol __bid64_from_string referenced in function "public: static unsigned __int64 __cdecl DecimalFunctions::stringToDecimal(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?stringToDecimal@DecimalFunctions@@SA_KV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
1>TwsSocketClientStatic.lib(Decimal.obj) : error LNK2019: unresolved external symbol __bid64_to_string referenced in function "public: static class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl DecimalFunctions::decimalToString(unsigned __int64)" (?decimalToString@DecimalFunctions@@SA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@_K@Z)
1>TwsSocketClientStatic.lib(Decimal.obj) : error LNK2019: unresolved external symbol __bid64_to_binary64 referenced in function "public: static double __cdecl DecimalFunctions::decimalToDouble(unsigned __int64)" (?decimalToDouble@DecimalFunctions@@SAN_K@Z)
1>TwsSocketClientStatic.lib(Decimal.obj) : error LNK2019: unresolved external symbol __binary64_to_bid64 referenced in function "public: static unsigned __int64 __cdecl DecimalFunctions::doubleToDecimal(double)" (?doubleToDecimal@DecimalFunctions@@SA_KN@Z)
1>libbid.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
1>E:\Creation\TWS_API\samples\Cpp\TestCppClient\x64\Debug\TestCppClientStatic.exe : fatal error LNK1120: 8 unresolved externals
1>Done building project "TestCppClientStatic.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
========== Build completed at 10:19 PM and took 00.673 seconds ==========
?
?
?
?
The compiler finds the library but a few methods are missing from the library
?
Where did I go wrong?
?
?