Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Linux build rev 0

(1/2) > >>

tigerbeard:
When I am building trunc from source the splash screen and the start here page both show svn build rev0.

What file do I have to edit (or create) to get another build number displayed there? 
I am compiling a copy of the source tree with the "C::B by C::B" method in Linux (would expect its not a Linux issue, however).

AndrewCot:
The src/include/autorevision.h is the file you want to hack.

tigerbeard:
Thanks for the pointer.

The raw sources do not have that file, only /src/include/autorevision.h.in. After changing that file without effect I found that somehow during compilation the file autorevision.h got generated. This had the excplicit "rev0" in there. I am rebuilding again to see if it works now.

Miguel Gimenez:
For the revision to appear you must get the source using svn checkout, not using the zip.

tigerbeard:
Thanks for your help, now it worked.

So the procedure to solve "rev0" issues for builds in Linux is:

* comile the C::B workspace. This creates the file src/include/autorevision.h
* edit the file src/include/autorevision.h as follows, example for "rev12765". Do not include the file into the workspace 
--- Code: --- const unsinged int svn_revision = 0;               //remove
 const wxString svnRevision(_T"0"));                //remove
 const unsinged int svn_revision = 12765;       
 const wxString svnRevision(_T"12765"));             
--- End code ---

* rebuild C:B workspace [/i]
* run update30 script to generate the start scripts. [/i]Now the splash screen and start screen should read "rev 12765"

Navigation

[0] Message Index

[#] Next page

Go to full version