MFM library
|
legeard @ ganil.fr
This package MFMlib is a complete C++ library to decode or encode MFM frame.
It generates a libMFM.a which can be linked to your own code.
A usefull executable "MFMtest.exe" can tests you MFM run files or generate MFM frames in a file with random data.
cd build ( if build isn't created , make it! (in this case, beside source directory))
cmake -DCMAKE_INSTALL_PREFIX=../ ../sources/ [-DDEBUG=YES] [-DNO_MFMNXML=YES] [-DMYTINYXMLDIR=/the/directory/where/libtinyxml.so/is/]
make
make install-DDEBUG=YES
Rules for compiling source files to object files :
to
Rules for compiling source files to object files
compile with a "make lib" tynixml
to produce tynixml.so
The new cmake command become cmake -DMYTINYXMLDIR=/the/directory/where/libtinyxml.so/is/ -DCMAKE_INSTALL_PREFIX=../ ../sources/
MFMtest.exe –help
In a tuto directory, you have a example of MFMlib usage for you own C++ code
For code documentation , browse https://ganil-acq.pages.in2p3.fr/Analysis/MFMlib/