![]() |
MAK Data Logger API Documentation for DIS
|
This section lists the settings you need to use to compile and link with the Logger API under Linux and Windows.
The Logger includes dynamic libraries. On Windows, it includes release and debug (d) libraries. The set of libraries that you link against depends on how you plan to use the Logger. In all cases, link against lgrUtil and lgrCore. If you are rebuilding the Logger application or embedding it in another application, link against lgrApp, lgrSim, and appEnv. If you are using the Qt GUI for the Logger, link against lgrGui and lgrSimGui. You can link to the lgrAnnotations and stateObserver plug-ins or load them through the plug-in interface.
To compile against the Logger API in Linux, you must add the following include directive to your compile line:
where loggerDir is the path to the root of your Logger installation and the environment variable MAK_VRLDIR is set to the path to the root of your VR-Link installation. When building for HLA 1.3, HLA 1516, or HLA Evolved, also use:
where the environment variable MAK_RTIDIR points to the root of your RTI installation.
Libraries that are not prefaced with “lib” (lgrSim, lgrSimGui, lgrAnnotations, and stateObserver) must use their absolute pathname in the link line.
For HLA 1.3, link against
For HLA 1516, link against:
For HLA Evolved, link against:
For DIS, link against:
Each example in ./examples has an example makefile.
Follow the directions in the VR-Link documentation for compiling and linking with VR-Link. The Logger library link flag (and the enumeration of the Logger libraries) must come before the VR-Link linking flag.
On Windows you must add the paths to the Logger’s include and lib directories to the include and lib paths in your project file. We distribute both debug and release versions of the Logger DLLs. The example link lines in this section are for the release libraries. To build for debug, use the d versions of the libraries.
For HLA 13, release configuration, link against:
For HLA 1516, release configuration, link against:
For HLA Evolved, release configuration, link against:
For DIS, release configuration, link against:
The Logger includes several examples. Each example has project files that you can use to build it.
[<< Logger Libraries] [Home] [Top of Page]