Technical support > Feature Requests
Linux SVN compilation
(1/1)
erzapito:
I'm trying to compile the SVN version on linux and I get this error:
* [UFO] src/qcommon/common.c
src/qcommon/common.c:38:31: error: ../../svnversion.h: No existe el fichero ó directorio <-- "File not found"
src/qcommon/common.c: In function ‘Mem_TagMalloc’:
src/qcommon/common.c:1253: warning: format ‘%i’ expects type ‘int’, but argument 3 has type ‘size_t’
make: *** [debug-linux-gnu-x86_64/client/qcommon/common.o] Error 1
Any idea why this happens?
ubequitz:
erzapito,
It looks like the build system might not be creating this file at the moment even though it is needed for compilation. As a work-around, create a file svnversion.h in your root trunk directory with a single line as the content:
--- Code: ---#define SVN "4557+"
--- End code ---
You can safely ignore any warnings generated during compile.
PS: feel free to drop by on our IRC chat channel: #ufo:ai on server freenode if you run into more issues, there is quite often someone there who can help (or failing that stick to these forums).
ubequitz:
Our build system expert has now fixed it so svnversion.h is no longer required to compile the game. So ignore the above workaround, SVN up and try again :)
Navigation
[0] Message Index
Go to full version