Hi,
following defines are defined in OSGConfig.h.
Andreas
#define OSG_VERSION_STRING "1.8.1Alpha"
/*! The numeric full version, with two digits per major/minor/release, e.g.
010300
*/
#define OSG_VERSION 0x010801
/*! The numeric major version number, e.g. 1
*/
#define OSG_MAJOR_VERSION 1
/*! The numeric minor version number, e.g. 4
*/
#define OSG_MINOR_VERSION 8
/*! The numeric release version number, e.g. 0
*/
#define OSG_RELEASE_VERSION 1
> Hello,
>
> I would like to get the version information at runtime within the code
> snippet.
>
> In the design document it says that i can get that by GetMajorVersion()
> and GetMinorVersion()
>
> But when i write down as follows :
>
> cout << GetMajorVersion() << endl;
>
> i get the following error:
>
> firstOSG.cpp: In function 'int main(int, char**)':
> firstOSG.cpp:168: error: 'GetVersion' was not declared in this scope
>
> what does that function returns ?
>
> Regards,
>
> Sajjad
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Opensg-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensg-users
--
VREC
Robert-Bosch-Straße 7
D-64293 Darmstadt
Tel. 06151-4921035
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users