The Official ANT Linux SDK (From https://www.thisisant.com) with some modifications so it compiles successfully in Linux.
I have removed the libusb and libudev included libraries and the compilation only depends on those existing in the Linux system being compiled on to. I have also removed all references to MacOS as this is the linux SDK and a separate SDK for MacOS exists.
The following libraries are needed: libusb-1.0
Debian: libusb-1.0-0-dev
The compilation needs to be made in 3 steps.
make ANT_LIB
First the ANT_LIB low level ANT static library needs to be compiledmake
Then the higher level shared library (ANT_DLL)make install
Installation
The dynamic library is called libANT.dylib
and it is being installed in /usr/lib
along with its header file ant.h
in /usr/include/ant