Previous: Building Sources, Up: Introduction



1.7 Initializing the Library

The first step is the initialization of LibTMCG. The following function must be invoked early in your program, i.e., before you make use of any other capability of LibTMCG.

— Function: bool init_libTMCG ()

The function checks whether the installed third-party libraries match their required versions. Further it initializes them and returns true, if everything was sound. Otherwise false is returned and an appropriate error message is sent to std::cerr.