OpenSceneGraph/doc/doc++/osg/osgGetVersion.html

35 lines
1.2 KiB
HTML
Raw Normal View History

2001-09-20 05:19:47 +08:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>extern SG_EXPORT const char* osgGetVersion</TITLE>
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.8">
</HEAD>
<BODY BGCOLOR="#ffffff">
2002-04-25 04:13:50 +08:00
<H2>extern SG_EXPORT const char* <A HREF="#DOC.DOCU">osgGetVersion</A></H2><H2>()</H2><BLOCKQUOTE> osgGetVersion() returns the library version number.</BLOCKQUOTE>
2001-09-20 05:19:47 +08:00
<A NAME="DOC.DOCU"></A>
<HR>
<H2>Documentation</H2>
<BLOCKQUOTE>
2002-04-25 04:13:50 +08:00
osgGetVersion() returns the library version number.
Numbering convention : OpenSceneGraph-0.8-31 will return 0.8.31 from osgGetVersion.
2001-09-20 05:19:47 +08:00
2001-12-25 05:56:22 +08:00
<P>This C function can be also used to check for the existence of the OpenSceneGraph
2001-09-20 05:19:47 +08:00
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) library
#
AC_CHECK_LIB(osg, osgGetVersion, ,
[AC_MSG_ERROR(OpenSceneGraph 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>