I decided to use json to format the presets data to store. I have some experience using jansson c library for managing json files, so I decided to use the same here. Since jansson does not seem to be available in raspbian packages, I followed these steps to install it:
git clone git://github.com/akheron/jansson.git
cd jansson
sudo apt-get install autoconf
sudo apt-get install libtool
autoreconf -i
./configure
make
sudo make install
sudo ldconfig
Instructions coming from here.
No comments:
Post a Comment