Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

SDK For Mac

Rank

Total Posts: 2

Joined 2019-01-31

PM

Hi, I downloaded the Mac SDK, and the project does not even compile. It is looking for a file #include "dsi_ant_device_polling.hpp" with is not even provided in the sample.

Is there something I am missing ? Also, There is right away a warning about the libs being 32 bits. This needs to be 64 bits. Will this project be updated to work with current Macs?

Thanks
     
Rank

Total Posts: 2

Joined 2019-05-13

PM

I have the same exact problem. The .hpp file is missing.

Did you figure this out?      
Rank

Total Posts: 2

Joined 2019-01-31

PM

I did not find a solution. This is very amateur by ant since this is their own SDK that does not work. I have stopped wanting to develop this platform.
     
Rank

Total Posts: 2

Joined 2019-05-13

PM

Hi,

I managed to get it to compile.

I added the following to "User header search paths": $(SRCROOT)/ANT_LIB/software/serial/device_management/

So it compiled. And made basically the libraries and command line tools that is already present in the Bin folder, so you could try those, by chmod +x to demo_lib and/or demo_dylib. (statically and dynamically linked example-command-line tools)      
Rank

Total Posts: 1

Joined 2013-02-12

PM

I realize this is a very old thread but if anyone is trying to implement ANT+ on a Mac at this late date, I want to add my findings. As with others, I could not get the demo projects to compile because of missing files: dsi_ant_device_polling.cpp & dsi_ant_device_polling.hpp. However, the files are in the .zip that was dowloaded for the SDK. You just need to "add files" to the project in the ANT_LIB/software/serial/device_management group folder then both demos will compile properly. (I tried the suggestion in the previous post of adding their location to "user headers search paths" but apparently this option has been deprecated in current version of Xcode).