../include/SDL_version.h:33:26: fatal error: SDL_revision.h: No such file or directory

In latest hg.

Hi,

Can we just include this file in hg?

It seems to catch most people trying to build from hg - and a message
appears on the mailing list about it every few days.

cu.On Sun, Jan 23, 2011 at 5:13 PM, Michael Menegakis wrote:

In latest hg.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

No, it’s the chicken and the egg. It contains the current hg revision, and
checking it in changes the current hg revision. :)On Mon, Jan 24, 2011 at 10:27 AM, Ren? Dudfield wrote:

Hi,

Can we just include this file in hg?

It seems to catch most people trying to build from hg - and a message
appears on the mailing list about it every few days.

cu.

On Sun, Jan 23, 2011 at 5:13 PM, Michael Menegakis wrote:

In latest hg.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


-Sam Lantinga, Founder and President, Galaxy Gameworks LLC

Hi,

An alternative might be to have the file in there with a static prerelease
version rather than that hg branch’s version.

That way it doesn’t break builds for people checking it out of the vcs, and
the only problem is they don’t have the actual version built in.

cheers,On Mon, Jan 24, 2011 at 7:14 PM, Sam Lantinga wrote:

No, it’s the chicken and the egg. It contains the current hg revision, and
checking it in changes the current hg revision. :slight_smile:

On Mon, Jan 24, 2011 at 10:27 AM, Ren? Dudfield <@Rene_Dudfield> wrote:

Hi,

Can we just include this file in hg?

It seems to catch most people trying to build from hg - and a message
appears on the mailing list about it every few days.

cu.

On Sun, Jan 23, 2011 at 5:13 PM, Michael Menegakis wrote:

In latest hg.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


-Sam Lantinga, Founder and President, Galaxy Gameworks LLC


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

If you do that, then every change to SDL_revision.h gets marked as a
revision by Mercurial.On Tue, Jan 25, 2011 at 8:55 AM, Ren? Dudfield wrote:

Hi,

An alternative might be to have the file in there with a static prerelease
version rather than that hg branch’s version.

That way it doesn’t break builds for people checking it out of the vcs, and
the only problem is they don’t have the actual version built in.

cheers,

On Mon, Jan 24, 2011 at 7:14 PM, Sam Lantinga <@slouken> wrote:

No, it’s the chicken and the egg. It contains the current hg revision,
and checking it in changes the current hg revision. :slight_smile:

On Mon, Jan 24, 2011 at 10:27 AM, Ren? Dudfield wrote:

Hi,

Can we just include this file in hg?

It seems to catch most people trying to build from hg - and a message
appears on the mailing list about it every few days.

cu.

On Sun, Jan 23, 2011 at 5:13 PM, Michael Menegakis wrote:

In latest hg.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


-Sam Lantinga, Founder and President, Galaxy Gameworks LLC


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


-Sam Lantinga, Founder and President, Galaxy Gameworks LLC

Mercurial must have a way to script it with a ‘virtual’ file so it is
autogenerated. Or at least I guess it has ;-)On Mon, Jan 24, 2011 at 9:14 PM, Sam Lantinga wrote:

No, it’s the chicken and the egg.? It contains the current hg revision, and
checking it in changes the current hg revision. :slight_smile:

My the way. It should be much better to have a .template file in there
(with a comment) so it’s easily noticeable, if the 'autogenerated’
idea doesn’t do it.On Tue, Jan 25, 2011 at 10:17 PM, Michael Menegakis <@Michael_Menegakis> wrote:

On Mon, Jan 24, 2011 at 9:14 PM, Sam Lantinga wrote:

No, it’s the chicken and the egg.? It contains the current hg revision, and
checking it in changes the current hg revision. :slight_smile:

Mercurial must have a way to script it with a ‘virtual’ file so it is
autogenerated. Or at least I guess it has :wink: