Forums › BB Series Discussions › BB60C API library in ELF format
- This topic has 2 replies, 2 voices, and was last updated 6 years, 10 months ago by Andrew.
bbowarParticipantbbowar May 25, 2016 at 12:14 pm
I wrote a 32bit program using your API to communicate with the SA44B unit. I am now trying to write a 64bit application using your API to communicate with the BB60C. My problem is I am getting unresolved external error on ilink64 call. According to the documentation the linker is expecting .o or .a files, not a .lib. I was using the bb_api.lib in the x64 folder. In the 32bit application I had to convert sa_api.lib to sa_apiomf.lib using coff2omf converter. That same converter fails on the 64bit version of the library. Do you supply the library in a .a format (ELF) or is there a converter to convert from .lib to .a?
bbowarParticipantbbowar May 26, 2016 at 6:14 am
I found the Embarcadero C++ compiler had a utility called “mkep” to convert a .dll file to a .a file. Now when I link the .a file, there are no unresolved external errors.
AndrewModeratorAndrew May 26, 2016 at 7:47 am
We distribute a linux build of the BB60 API on the BB60 downloads page. Usually it is a few versions behind the main distribution.
You will find it near the top of the list on this page
You must be logged in to reply to this topic.