Author Topic: autorevision.h  (Read 7901 times)

grv575

  • Guest
autorevision.h
« on: December 15, 2005, 11:38:22 pm »
Is the HEAD branch complete?

I'm getting:
sdk\configmanager.cpp:19:26: autorevision.h: No such file or directory

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: autorevision.h
« Reply #1 on: December 15, 2005, 11:39:21 pm »
autorevision.h is not under version control, but is generated during the build.

There is a target autorevision which builds an executable that generates this file during the pre-build steps of sdk (always execute).


EDIT:

Make sure you really have HEAD on your PC. The files were all updated several times this evening, and we had  a period of about 40 minutes during which the build was not good.

EDIT 2:
Also make sure you reload the project. If you update and had the project open, it is not reloaded (as you probably know).
« Last Edit: December 15, 2005, 11:44:35 pm by thomas »
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

grv575

  • Guest
Re: autorevision.h
« Reply #2 on: December 16, 2005, 12:04:22 am »
I don't see an autorevision target:



[attachment deleted by admin]

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: autorevision.h
« Reply #3 on: December 16, 2005, 12:10:49 am »
I have just checked out a fresh copy from HEAD to verify that, and I have it. It is the first target on top.

Are you really sure you have HEAD and are you really sure the project in RAM is the project on the hard disk?
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

grv575

  • Guest
Re: autorevision.h
« Reply #4 on: December 16, 2005, 12:12:07 am »
Tortoise svn checkout:
http://svn.berlios.de/svnroot/repos/codeblocks/trunk

Revision: HEAD

Not sure what I'm doing wrong.

Edit:

----------------------------------------
Find 'autorevision' in 'C:\2\src\CodeBlocks-NewBuild.cbp' :
C:\2\src\CodeBlocks-NewBuild.cbp(11):             <Target title="AutoRevision">
C:\2\src\CodeBlocks-NewBuild.cbp(12):                 <Option output="tools\AutoRevision\autorevision.exe" />
C:\2\src\CodeBlocks-NewBuild.cbp(115):                     <Add before="tools/autorevision/autorevision +wx +int +t . sdk/autorevision.h" />
C:\2\src\CodeBlocks-NewBuild.cbp(4578):         <Unit filename="tools\autorevision\autorevision.cpp">
C:\2\src\CodeBlocks-NewBuild.cbp(4580):             <Option target="AutoRevision" />
Found 'autorevision' 9 time(s).
Search complete, found 'autorevision' 9 time(s). (1 files.)
------------------------------------------

Looks like it's only in the newbuild cbp
« Last Edit: December 16, 2005, 12:14:31 am by grv575 »

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: autorevision.h
« Reply #5 on: December 16, 2005, 12:19:13 am »
Humm... I get this on using http://

D:\Desktop\testing>svn co http://svn.berlios.de/svnroot/repos/codeblocks/trunk
svn: REPORT request failed on '/svnroot/repos/codeblocks/!svn/vcc/default'
svn: REPORT of '/svnroot/repos/codeblocks/!svn/vcc/default': 400 Bad Request (http://svn.berlios.de)


Maybe you want to use svn://svn.berlios.de/codeblocks/trunk. It looks like http:// access has a problem at the present time.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: autorevision.h
« Reply #6 on: December 16, 2005, 12:20:54 am »
Looks like it's only in the newbuild cbp

Oh wait.... do you mean to say you are using a different project? None of the other projects is up to date... they have not been updated for like 6 weeks.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

grv575

  • Guest
Re: autorevision.h
« Reply #7 on: December 16, 2005, 12:22:54 am »
Oh...

So how do I bootstrap if rc2 is the latest I have?

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: autorevision.h
« Reply #8 on: December 16, 2005, 12:24:35 am »
Get a revision that is newer than November 3rd (that is the first to support global user vars), but older than today's version.
I would recommend..... revision 1510 should do you fine.

You can then compile HEAD using that one and trash 1510 afterwards. :)
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

grv575

  • Guest
Re: autorevision.h
« Reply #9 on: December 16, 2005, 02:01:32 am »
OK I just grabbed one of the recent svn binaries and compiled with that.  Looks like things compile twice as fast as they used to now that it uses pch by default.  Tons of changes from when I last looked at this.  Keep up the good work!