The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
SDL2.0.3 building,but I have error,help me!!!
goxl


Joined: 23 Jan 2014
Posts: 17
run ./configure


configure: error:
*** When building from Mercurial you should configure and build in a
separate directory so you don't clobber SDL_config.h, SDL_revision.h
SDL2.0.3 building,but I have error,help me!!!
Daniel Gibson
Guest

Am 21.08.2014 04:28, schrieb goxl:
Quote:
run ./configure


configure: error:
*** When building from Mercurial you should configure and build in a
separate directory so you don't clobber SDL_config.h, SDL_revision.h


Did you actually read the error message? Razz

$ mkdir build
$ cd build
$ ../configure

Cheers,
Daniel
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SDL2.0.3 building,but I have error,help me!!!
Sik


Joined: 26 Nov 2011
Posts: 905
To be fair that error message is pretty non-intuitive (building in a
separate directory is the norm for CMake, but you practically never do
it with configure). I've seen the suggestion of removing the Mercurial
specific files instead of building in a separate directory.

I think the only purpose of this error message is to prevent you from
screwing up the build scripts if you plan to push back the changes
into the repo (since configure will generate build data specific to
your system and you don't want that in such a case).
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org