开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

C++ IBKR API implementation and biddll.lib Intel Math Library


 

Hi,
After I failed with the Purebasic network functions (could not go farther than connecting and getting current date/time...) I decided to use the C++ IBKR API implementation.
I am now stuck with things that are probably very simple for most of you ?;-(
?
Steps I made:
- Operating system: Windows 10 64-bit.
- Installed Microsoft Visual Studio 2022 for C++
- Reinstalled TWS API 10.30.01
- It appeared that "biddll.lib" the Intel "Decimal Floating-Point Math Library" was not found anywhere on my hard disk or anywhere else on the net.
- As I found out that I had to recompile that library, I installed "mingw64"
- After having waisted a lot of time with makes, nmakes, environment paths and many other things, no way to get past several errors (make mostly).
?
Do you know where I can find that "biddll.lib" (precompiled for Windows 64 bits preferably) ?
Or suggest simple steps in order to compile that damn library. Or find a work around.
I still do not understand why things have become so complicated since the past 20/25 years where dropping and OCX control on a VB6 form was so simple !
?
Thanking you in advance for your help
?


 

Have you try the instructions from file "Intel_lib_build.txt" in the TWS API source tree at source/CppClient?
?
On Mon, Jan 20, 2025 at 11:26 AM, Tradiator wrote:

Hi,
After I failed with the Purebasic network functions (could not go farther than connecting and getting current date/time...) I decided to use the C++ IBKR API implementation.
I am now stuck with things that are probably very simple for most of you ?;-(
?
Steps I made:
- Operating system: Windows 10 64-bit.
- Installed Microsoft Visual Studio 2022 for C++
- Reinstalled TWS API 10.30.01
- It appeared that "biddll.lib" the Intel "Decimal Floating-Point Math Library" was not found anywhere on my hard disk or anywhere else on the net.
- As I found out that I had to recompile that library, I installed "mingw64"
- After having waisted a lot of time with makes, nmakes, environment paths and many other things, no way to get past several errors (make mostly).
?
Do you know where I can find that "biddll.lib" (precompiled for Windows 64 bits preferably) ?
Or suggest simple steps in order to compile that damn library. Or find a work around.
I still do not understand why things have become so complicated since the past 20/25 years where dropping and OCX control on a VB6 form was so simple !
?
Thanking you in advance for your help
?


 

I use VCPKG and install the intelrdfpmathlib package.?

This is the simplest way if you are using Windows and Visual Studio.


 

@Jürgen Reinold
?
Yes, following the instructions of "Intel_lib_build.txt" was one of the first things that I did.
They say:
In IntelRDFPMathLib20U2/LIBRARY directory execute the following commands:
nmake -fmakefile.mak CC=cl CALL_BY_REF=0 GLOBAL_RND=0 GLOBAL_FLAGS=0 UNCHANGED_BINARY_FLAGS=0
But this shows the following error:
NMAKE : fatal error U1052: file 'makefile.mak' not found
?
Therefore I renamed "makefile" to "makefile.bak", but this only generated the following error:
makefile.mak(36) : fatal error U1033: syntax error : '=' expected
?
There are also several batch files on that same directory (such as windowsbuild.bat or windowsbuild_nmake.bat) that brought me nowhere.
?
@David Armour
I am having a look at VCPKG and let you know
?


 

Just some follow up:
?
The problems I had were with the 20U2 version of the Intel Decimal Math Library (I thought that was the latest one...).
I found the 20U3 version on Intel site and then, with this version the "biddll.lib" file was generated. Lets see if it works...
?
Thats a lot of mystery for me. By the way why is a precompiled version of this library not available anywhere.
?


 

On Mon, Feb 3, 2025 at 10:20 AM, Tradiator wrote:

By the way why is a precompiled version of this library not available anywhere.

It is:

Maybe not for your platform though. Cross platform software development and distribution can be a pain so vendors often try to avoid it.