<H2>extern OSGPRODUCER_EXPORT const char* <AHREF="#DOC.DOCU">osgProducerGetVersion</A></H2><H2>()</H2><BLOCKQUOTE> osgProducerGetVersion() returns the library version number.</BLOCKQUOTE>
<ANAME="DOC.DOCU"></A>
<HR>
<H2>Documentation</H2>
<BLOCKQUOTE>
osgProducerGetVersion() returns the library version number.
Numbering convention : osg_src-0.8.31 will return 0.8.31.
<P>This C function can be also used to check for the existence of the OpenSceneGraph
library using autoconf and its m4 macro AC_CHECK_LIB.
<P>Here is the code to add to your configure.in:
\verbatim
#
# Check for the OpenSceneGraph (OSG) GLUT library
#
AC_CHECK_LIB(osg, osgProducerGetVersion, ,
[AC_MSG_ERROR(OpenSceneGraph GLUT library not found. See http://www.openscenegraph.org)],)
\endverbatim</BLOCKQUOTE>
<DL><DT><DD></DL><P><P><I><AHREF="index.html">Alphabetic index</A></I><I><AHREF="HIER.html">HTML hierarchy of classes</A> or <AHREF="HIERjava.html">Java</A></I></P><HR>