Page 1 of 1

Finding link-time CEGUI version

Posted: Sun Jun 12, 2011 19:09
by wondersye
Hi,

I have seen that System::initialiseVersionString() updates d_strVersion, which apparently is private and has no public accessor.
It would be nice if a user program could retrieve easily the version of the CEGUI library it has been dynamically linked to, either as three numbers or as a string (ex: "0.7.5"). That way some checking could be done, and more generally this information could be useful for user-level code.

Unless there is another way of retrieving that version number?

(as for the compile-time version, it seems to be available from include/CEGUIVersion.h (#define CEGUI_VERSION_MINOR and al))

Thanks,

Olivier Boudeville.

Re: Finding link-time CEGUI version

Posted: Mon Jun 13, 2011 07:31
by CrazyEddie
I had a quick look and it seems that unfortunately this information is not currently available at runtime. Please add a request on the mantis tracker to see the added :)

CE.

Re: Finding link-time CEGUI version

Posted: Tue Jun 14, 2011 14:36
by wondersye
CrazyEddie wrote:I had a quick look and it seems that unfortunately this information is not currently available at runtime. Please add a request on the mantis tracker to see the added :)

CE.


Done! (http://www.cegui.org.uk/mantis/view.php?id=459)