Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

OSX Demo Application Build

Rank

Total Posts: 9

Joined 2010-12-08

PM

I'm trying to build the command line demo application using Xcode on Mountain Lion. I know that Mountain Lion is still not tested nor currently supported. However my expectation is to load the application into Xcode and issue a "build" command and have other than syntax errors describing embedded comments causing problems.

Would it be unreasonable to request a Makefile for the demo application allowing me to build the application from the command line?      
Avatar
RankRankRankRank

Total Posts: 662

Joined 2012-10-09

PM

Once the application has been loaded into Xcode, you need to build all targets. You will get build errors related to entering the network key; once you enter the required network key and removed the error line, you should be good to go. When testing the package on Lion prior to this latest release, this was the only build error we saw.

Once you have build all targets, you can then select to run either the demo_lib (which uses the static library), or the demo_dylib (which uses the dynamic library). Both demos do the same thing: connect to a USB stick and setup an ANT channel.

We used to provide a makefile when the libraries were much simpler, but once we moved to using IOKit for the USB access, we have not been able to generate a working makefile that handles these dependencies correctly.