Mastodon
Go back

Getting Fit2Tcx Working on Mac OS X (10.9.x)

Andreas Diesner’s #spiffy Fit2Tcx command-line utility is a lightweight way to convert Garmin/ANT FIT files to TCX for further processing.

On a linux system, installing it is as simple as:

sudo add-apt-repository ppa:andreas-diesner/garminplugin
sudo apt-get update
sudo apt-get install fit2tcx

On a Mac OS X system, you’ll need to first grab the tinyxml package from homebrew:

brew install tinyxml

to install the necessary support library.

After a git clone of the Fit2Tcx repository, change the

DFLAGS +=  -s  $(CREATE_LIB) $(CREATE_DEF)

line in Makefile.in to

DFLAGS +=  $(CREATE_LIB) $(CREATE_DEF)

and then do the typical ./configure && make (there is no test target).

You’ll now have a relatively small fit2tcx binary that you can move to /usr/local/bin or wherever you like command-line utilities to be put.

You can also grab the pre-compiled binary (built on OS X 10.9.2 with “latest” Xcode).


Join the conversation:follow@hrbrmstr@rud.ison the fediverse to read and reply to this post from your own instance.

No comments yet.


Previous Post
Moving From system() calls to Rcpp Interfaces
Next Post
Mapping the March 2014 California Earthquake with ggmap