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

Reply via email to