#include <dtUtil/export.h>Defines | |
| #define | DELTA3D_VERSION_MAJOR 2 |
| #define | DELTA3D_VERSION_MINOR 0 |
| #define | DELTA3D_VERSION_PATCH 0 |
Functions | |
| DT_UTIL_EXPORT const char * | Delta3DGetVersion () |
| delta3DGetVersion() returns the library version number. | |
| DT_UTIL_EXPORT const char * | Delta3DGetLibraryName () |
| The osgGetLibraryName() method returns the library name in human-friendly form. | |
| #define DELTA3D_VERSION_MAJOR 2 |
| #define DELTA3D_VERSION_MINOR 0 |
| #define DELTA3D_VERSION_PATCH 0 |
| DT_UTIL_EXPORT const char* Delta3DGetLibraryName | ( | ) |
The osgGetLibraryName() method returns the library name in human-friendly form.
| DT_UTIL_EXPORT const char* Delta3DGetVersion | ( | ) |
delta3DGetVersion() returns the library version number.
Numbering convention : Delta3D 1.4.0 will return "1.4.0" from delta3DGetVersion.
This C function can be also used to check for the existence of the Delta3D library using autoconf and its m4 macro AC_CHECK_LIB.
Here is the code to add to your configure.in:
#
# Check for the Delta3D library
#
AC_CHECK_LIB(osg, delta3DGetVersion, ,
[AC_MSG_ERROR(Delta3D library not found. See http://www.delta3d.org)],)