Author Topic: The Newbie's Guide to Tremulous Development  (Read 20507 times)

Syntac

  • Posts: 841
  • Turrets: +118/-104
    • Syntac's Stuff
Re: The Newbie's Guide to Tremulous Development
« Reply #30 on: October 28, 2008, 09:59:52 pm »
Read plz syntac.

make[2]: Entering directory `/home/stephan/tremulous-svn'
DED_CC src/server/sv_client.c
make[2]: i586-mingw32msvc-gcc: Command not found
make[2]: *** [build/release-mingw32-x86/ded/sv_client.o] Error 127
make[2]: Leaving directory `/home/stephan/tremulous-svn'
make[1]: *** [targets] Error 2
make[1]: Leaving directory `/home/stephan/tremulous-svn'
make: *** [release] Error 2
"Unknown command" error, no? Next time follow your own advice.

The patch error is because you aren't in the right directory.
« Last Edit: October 28, 2008, 10:05:29 pm by Syntac »

Drakotsu

  • Posts: 110
  • Turrets: +2/-1
Re: The Newbie's Guide to Tremulous Development
« Reply #31 on: October 28, 2008, 10:20:39 pm »
Follow my own advice?
I copy and pasted that error from another persons post because it was similar.
I think i read what I typed  ::).

Well its building just fine now no help from PATHING. My paths were correct.
But now, when i make, the only qvm files it makes are cgame.qvm, any idea why? i need it to make a game.qvm.

Its (mingw) giving me a bunch of errors about g_main.c about expressions with no effect, saying that 1.1.0 is a preprocessing number and not a valid  floating constant. Then error 1 and error 2.

Tried again,
Now its giving me a bunch of errors with the g_admin_admins and g_admin_levels and stuff =S
« Last Edit: October 28, 2008, 10:35:10 pm by Drakotsu »

Syntac

  • Posts: 841
  • Turrets: +118/-104
    • Syntac's Stuff
Re: The Newbie's Guide to Tremulous Development
« Reply #32 on: October 28, 2008, 10:28:43 pm »
Follow my own advice?
I copy and pasted that error from another persons post because it was similar.
I think i fucking read what I typed  ::).
Someone who doesn't read what they type is a defective person. What I meant is that you should have read what I posted, which would have revealed that I was in fact answering a different post than the one you assumed I was answering. Clear?

Drakotsu

  • Posts: 110
  • Turrets: +2/-1
Re: The Newbie's Guide to Tremulous Development
« Reply #33 on: October 28, 2008, 10:42:42 pm »
Still not compiling right..telling me a whole bunch of symbols are undefined, saying g_admin_bans, and just about all the other commands are undefined..
HELP

Syntac

  • Posts: 841
  • Turrets: +118/-104
    • Syntac's Stuff
Re: The Newbie's Guide to Tremulous Development
« Reply #34 on: October 28, 2008, 11:06:41 pm »
Did you modify the code before trying to compile it?

TheLuciferSausage

  • Posts: 54
  • Turrets: +2/-3
    • Tremulous Game Spanish Community
Re: The Newbie's Guide to Tremulous Development
« Reply #35 on: November 03, 2008, 11:34:49 pm »
Hi Drakotsu,

I may have a solution for you. I am also in Windows XP SP3, using MSys and MinGW. Followed Risujin's sweet guide.

I was also experiencing this error:
Code: [Select]
make[2]: Entering directory `/home/stephan/tremulous-svn'
DED_CC src/server/sv_client.c
make[2]: i586-mingw32msvc-gcc: Command not found
make[2]: *** [build/release-mingw32-x86/ded/sv_client.o] Error 127
make[2]: Leaving directory `/home/stephan/tremulous-svn'
make[1]: *** [targets] Error 2
make[1]: Leaving directory `/home/stephan/tremulous-svn'
make: *** [release] Error 2

After searching and so, I realized that:
- MSys was installed in c:\msys\1.0
- MinGW should be installed in c:\msys\1.0\mingw
and not what I thought: c:\msys\mingw

So I moved the MinGW to the correct place, then did a make in Tremulous directory and it compiled smoothly (and faster than I expected :P).

Hope this helps!

Drakotsu

  • Posts: 110
  • Turrets: +2/-1
Re: The Newbie's Guide to Tremulous Development
« Reply #36 on: November 08, 2008, 01:14:09 am »
Did you move everything to /1.0/ or did you only move the mingw folder to /1.0? Im getting another error..Here it is..

Output:
/bin/sh.exe -c: line1: syntax error near unexpected token `;'
/bin/sh.exe: -c: line 1: `for i in ;  do echo "    $i";  done'
make[1]: *** [targets] Error 2
make[1]: Leaving directory `/home/user/tremulous'
make: *** [release] Error 2

Thats the exact error, any idea whats wrong? :s
Im guessing that it has to do with the file sh.exe in the /bin/ folder..but I dont know what the problem it xP.
« Last Edit: November 08, 2008, 01:18:22 am by Drakotsu »

Syntac

  • Posts: 841
  • Turrets: +118/-104
    • Syntac's Stuff
Re: The Newbie's Guide to Tremulous Development
« Reply #37 on: November 08, 2008, 03:10:31 am »
Stop spammin' mah guide. >:(

TheLuciferSausage

  • Posts: 54
  • Turrets: +2/-3
    • Tremulous Game Spanish Community
Re: The Newbie's Guide to Tremulous Development
« Reply #38 on: November 08, 2008, 03:38:11 am »
Stop spammin' mah guide. >:(

Sorry Syntac, can a moderator please split all these troubleshooting posts to keep the guide clean?


Drakotsu,

Yes I have everything inside the c:\msys\1.0\ folder. But I am sorry I can't help you more. It was my first time compiling and I'm still very newbie on it.