OpenSceneGraph/doc/doc++/osgUtil/osgUtilGetVersion.html
2001-12-24 21:56:22 +00:00

35 lines
1.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>extern OSGUTIL_EXPORT const char* osgUtilGetVersion</TITLE>
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.8">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H2>extern OSGUTIL_EXPORT const char* <A HREF="#DOC.DOCU">osgUtilGetVersion</A></H2><H2>()</H2><BLOCKQUOTE> getVersion_osgUtil() returns the library version number.</BLOCKQUOTE>
<A NAME="DOC.DOCU"></A>
<HR>
<H2>Documentation</H2>
<BLOCKQUOTE>
getVersion_osgUtil() returns the library version number.
Numbering convention : osg_src-0.8-31 will return 0.8.31 from getVersion_osgUtil.
<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) utility library
#
AC_CHECK_LIB(osg, osgUtilGetVersion, ,
[AC_MSG_ERROR(OpenSceneGraph utility library not found. See http://www.openscenegraph.org)],)
\endverbatim</BLOCKQUOTE>
<DL><DT><DD></DL><P><P><I><A HREF="index.html">Alphabetic index</A></I> <I><A HREF="HIER.html">HTML hierarchy of classes</A> or <A HREF="HIERjava.html">Java</A></I></P><HR>
<BR>
This page was generated with the help of <A HREF="http://docpp.sourceforge.net">DOC++</A>.
</BODY>
</HTML>