Previous: Building Sources, Up: Introduction
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.
The function checks whether the installed third-party libraries match their required versions. Further it initializes them and returns
true, if everything was sound. Otherwisefalseis returned and an appropriate error message is sent tostd::cerr.
Additionally, the function version_libTMCG returns a string
containing the version number of the library in a common format. It
is strongly recommended to check, whether the installed version
matches your requirements.