Tremulous Forum
Mods => Modding Center => Topic started by: lizards160 on February 03, 2008, 01:22:06 am
-
Ok i got the source code and modded it to what i like now how do i make it into a game?
-
type make.
-
k now i get a bunch or errors
i got tortiosesvn and cygwin.
I got it to start the make process.
It goes through it,
$ make
make -C
yadda yadda
errors like these
operating system not supported(im on windows XP)
architecture not supported(what does this mean?)
ID_INLINE not defined
PATH_SEP not defined
DLL_EXT not defined
endianness not defined
PATH_SEP undeclared
then at the end
make: *** [tools] error 2
how do i fix these?
-
Unfortunately, saying "errors like not supported" means very little to many who may be able to help you figure out what you're missing. Perhaps someone with experience building on Windows will know offhand what the problem is, but for a greater chance of someone being able to help you should post the full and complete errors.
You didn't mention mingw, and I believe that's a build requirement, so if you don't have that installed you might try that first; but if that fails, or you have it already, then post the full errors and those of us who can actually read errors from 'make' will have a better time figuring out what's wrong :>
-
k i have those but they dont work im using cygwin for the make function
line by line errors
(i called my folder i kept tremulous in trem)
$ make
make -C src/tools/lcc install
make[1] Entering directoryy '/cygdrive/c/trem/trem/src/tools/lcc'
gcc -02 -Wall -fmo-strict-aliasing -MMD -DTEMPDIR=\"/tmp\" -Dsystem=\"\" -c -lsr
c -o build-cygwin-x86/exc/bytecome.o exc/bytecode.c
In file included from exc/bytecode.c:5:
../../qcommoon/p_platform.h267:2: #error "Operating system not supported"
../../qcommoon/p_platform.h271:2: #error "Architecture not supported"
../../qcommoon/p_platform.h275:2: #error "ID_INLINE not defined"
../../qcommoon/p_platform.h279:2: #error "PATH_SEP not defined"
../../qcommoon/p_platform.h283:2: #error "DLL_EXT not defined"
../../qcommoon/p_platform.h222:2: #error "Endianness not defined"
exc/bytecode.c: In function 'UpdatePaths'
exc/bytecode.c:39: error: 'PATH_SEP' undeclared <first use of this function>
exc/bytecode.c:39: error: <Each undeclared identifier is reported only once
exc/bytecode.c:39: error: for each function it appears in.>
make[1]: ***[build-cygwin-c86/exc/bytecode.o] Error 1
make[1]: Leaving directory 'cygwin/c/trem/trem/src/tools/lcc'
make: *** [tools] Error 2
there it is word for word
(or symbol by symbol)
-
and in my makefile.locals it is
BUILD_CLIENT = 1
BUILD_CLIENT_SMP = 1
BUILD_SERVER = 1
BUILD_GAME_SO = 1
BUILD_GAME_QVM = 1
-
use msys?
-
Looks like Kevlarman already replied (http://tremulous.net/forum/index.php?topic=3408.msg109681#msg109681) to the other thread where you posted this question, and having not compiled it myself on Windows I won't be of much more use than this :P But since you mentioned that mingw doesn't work, I'd suggest figuring out why that is rather than trying to fix it in cygwin. If you look through the file src/qcommon/q_platform.h, which is where those errors came from, you can see that the precompiler checks for various settings which your compiler should set, and if none of them match it gets to the point where it says "Operating system not supported". There's checks for msvc, mingw, macosx, linux, free/open/netbsd, solaris and q3vm but nothing for cygwin (or whatever cygwin's GCC might set). So it sounds like you're not going to be able to do it with cygwin, but that's just a guess based on the errors and reading the source.
-
well i downloaded minGW and msys and installed from a remote computer onto a flashdrive and it works (B.T.W. the space in the name A.K.A removable diskE: dont apply on msys)now so im trying it out
THANKS