Author Topic: i got the source code now what?  (Read 5278 times)

lizards160

  • Posts: 62
  • Turrets: +1/-5
i got the source code now what?
« 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?

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: i got the source code now what?
« Reply #1 on: February 03, 2008, 01:54:11 am »
type make.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

lizards160

  • Posts: 62
  • Turrets: +1/-5
Re: i got the source code now what?
« Reply #2 on: February 03, 2008, 02:07:41 am »
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?

Rocinante

  • Posts: 642
  • Turrets: +252/-668
    • My Homepage
Re: i got the source code now what?
« Reply #3 on: February 03, 2008, 02:49:06 am »
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 :>
}MG{Mercenaries Guild
"On my ship, the Rocinante, wheeling through the galaxies, headed for the heart of Cygnus, headlong into mystery." -- Rush, "Cygnus X-1"

lizards160

  • Posts: 62
  • Turrets: +1/-5
Re: i got the source code now what?
« Reply #4 on: February 03, 2008, 03:10:23 am »
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)

lizards160

  • Posts: 62
  • Turrets: +1/-5
Re: i got the source code now what?
« Reply #5 on: February 03, 2008, 03:15:41 am »
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

Thorn

  • Guest
Re: i got the source code now what?
« Reply #6 on: February 03, 2008, 03:52:24 am »
use msys?

Rocinante

  • Posts: 642
  • Turrets: +252/-668
    • My Homepage
Re: i got the source code now what?
« Reply #7 on: February 03, 2008, 08:33:21 am »
Looks like Kevlarman already replied 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.
}MG{Mercenaries Guild
"On my ship, the Rocinante, wheeling through the galaxies, headed for the heart of Cygnus, headlong into mystery." -- Rush, "Cygnus X-1"

lizards160

  • Posts: 62
  • Turrets: +1/-5
Re: i got the source code now what?
« Reply #8 on: February 05, 2008, 12:54:04 am »
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