The first step that should be performed is the initialization of LibTMCG.
That can be done very simply by calling the function init_libTMCG
and
evaluating the return code.
if (!init_libTMCG()) std::cerr << "Initialization of LibTMCG failed!" << std::endl; |