Author Topic: Learning a qvm  (Read 7938 times)

|MoT|Erfe555

  • Posts: 75
  • Turrets: +2/-4
Learning a qvm
« on: June 27, 2009, 10:34:09 am »
Hi all. No one know a method to keep the invasion souce code, then i would try to patch a SVN with the invasion patchs and then with other patches of other mods.
But i don't understand this (sry i'm italian and my english isn't perfect): http://tremulous.net/forum/index.php?topic=3408.0
In this guide there is the method to compile the SVN...but...i need to use this process for my job (read up) or maybe i need to do other thinks?
And then i need to use my tremulous client recavated by my new SVN to run it?
And finally...that client is for windows...i need a client for Linux can i create it from MSys?
Thx for your support.

|MoT|Erfe555

  • Posts: 75
  • Turrets: +2/-4
Re: Learning a qvm
« Reply #1 on: June 27, 2009, 01:09:26 pm »
New info i'm using the p-g qvm source code i patched the extreSD.patch (ESD patch) i do patch -p0 < extreSD.patch all go ok but when i do make this is the result, an error:

Code: [Select]
$ make
make[1]: Entering directory `/c/MinGW/home/giulio/trunk'
make -C src/tools/lcc install
make[2]: Entering directory `/c/MinGW/home/giulio/trunk/src/tools/lcc'
gcc -O2 -Wall -fno-strict-aliasing -MMD -DTEMPDIR=\"/tmp\" -DSYSTEM=\"\" -c -Isrc -o build-mingw32-x86/etc/lcc.o etc/lcc.c
make[2]: gcc: Command not found
make[2]: *** [build-mingw32-x86/etc/lcc.o] Error 127
make[2]: Leaving directory `/c/MinGW/home/giulio/trunk/src/tools/lcc'
make[1]: *** [tools] Error 2
make[1]: Leaving directory `/c/MinGW/home/giulio/trunk'
make: *** [release] Error 2

Can anyone help me?

Bissig

  • Posts: 1309
  • Turrets: +103/-131
Re: Learning a qvm
« Reply #2 on: June 27, 2009, 07:45:22 pm »
You seem to be missing a tool in your build environment.

|MoT|Erfe555

  • Posts: 75
  • Turrets: +2/-4
Re: Learning a qvm
« Reply #3 on: June 27, 2009, 07:51:08 pm »
I think that it can be the DirextX SDK that i didn't install.
Or maybe the .zip/.tar.gz of the installation of MinGW that i deleted...it's correct?

Bissig

  • Posts: 1309
  • Turrets: +103/-131
Re: Learning a qvm
« Reply #4 on: June 27, 2009, 07:54:26 pm »
LCC?

Quote
make[2]: gcc: Command not found
make[2]: *** [build-mingw32-x86/etc/lcc.o] Error 127

I have no real clue about mingw build environments, so please bare with me if I am wrong.

|MoT|Erfe555

  • Posts: 75
  • Turrets: +2/-4
Re: Learning a qvm
« Reply #5 on: June 27, 2009, 08:42:37 pm »
I don't know where it is this LCC or GCC...

Archangel

  • Guest
Re: Learning a qvm
« Reply #6 on: June 27, 2009, 08:43:23 pm »
lcc is used to compile qvms. gcc is used to compile lcc. install gcc(bro)

|MoT|Erfe555

  • Posts: 75
  • Turrets: +2/-4
Re: Learning a qvm
« Reply #7 on: June 27, 2009, 09:01:38 pm »
Where i can find it? ???

Archangel

  • Guest
Re: Learning a qvm
« Reply #8 on: June 27, 2009, 10:06:47 pm »
mingw

|MoT|Erfe555

  • Posts: 75
  • Turrets: +2/-4
Re: Learning a qvm
« Reply #9 on: June 27, 2009, 10:11:34 pm »
But i use mingGW with full packets!
GCC included!
I need to redownload them?

gimhael

  • Posts: 546
  • Turrets: +70/-16
Re: Learning a qvm
« Reply #10 on: June 28, 2009, 07:17:41 am »
Probably your $PATH is wrong. Find the directory that contains the gcc binary and do PATH=$PATH:/your/path/here.

|MoT|Erfe555

  • Posts: 75
  • Turrets: +2/-4
Re: Learning a qvm
« Reply #11 on: June 28, 2009, 08:09:35 pm »
I do this command but the error still remaning.
Is this command right?Maybe i do an error in syntax?Or in the folder tree?

This is the code that i used:

Code: [Select]
PATH=$PATH:C:\MinGW/lib/gcc/mingw32/3.4.5

gimhael

  • Posts: 546
  • Turrets: +70/-16
Re: Learning a qvm
« Reply #12 on: June 28, 2009, 09:55:04 pm »
I think you have to either make that all forward slashes (/), or double the backslash (\\).

|MoT|Erfe555

  • Posts: 75
  • Turrets: +2/-4
Re: Learning a qvm
« Reply #13 on: June 28, 2009, 11:07:51 pm »
This is the code that i getting in:

Code: [Select]
Giulio@PC-GIULIO ~
$ PATH=$PATH:C:/MinGW/lib/gcc/mingw32/3.4.5

But make doesn't work anyway.
Maybe i need to enter with the command "cd" in a specific folder? Let me know.
Thx.

|MoT|Erfe555

  • Posts: 75
  • Turrets: +2/-4
Re: Learning a qvm
« Reply #14 on: June 29, 2009, 05:37:25 pm »
Maybe is better reinstall MinGW or MSys?

|MoT|Erfe555

  • Posts: 75
  • Turrets: +2/-4
Re: Learning a qvm
« Reply #15 on: June 29, 2009, 06:35:16 pm »
No! I find the problem!
Here it is:

Code: [Select]
make[2]: gcc: Command not found
make[2]: *** [build-mingw32-x86/etc/lcc.o] Error 127


The error is this!
In the folder of the SVN that i downloaded that is the p-g qvm source or even in the SVN 895 in the folder "trunk/src/tools/lcc/etc" there is only the file lcc.c and there isn't the file lcc.o that i need!
That's the problem!
How can i fix it?
My answer : "I search with Google and maybe i can found the lcc.o file".
But with google i found nothing, no one lcc.o file.
Where can i found and download it?
Pls help me! Thx! ;D

gimhael

  • Posts: 546
  • Turrets: +70/-16
Re: Learning a qvm
« Reply #16 on: June 29, 2009, 06:42:12 pm »
You can get lcc.o if you compile lcc.c with gcc - that's what make is trying to do, but can't find the gcc.

when you enter gcc --version on the prompt, do you get output ?

|MoT|Erfe555

  • Posts: 75
  • Turrets: +2/-4
Re: Learning a qvm
« Reply #17 on: June 29, 2009, 07:16:30 pm »
What u meaning?
The result of the error in the compilation process?
Or i need to do another "special" command?
And finally...maybe is better to reinstall MinGW?

|MoT|Erfe555

  • Posts: 75
  • Turrets: +2/-4
Re: Learning a qvm
« Reply #18 on: June 29, 2009, 09:28:49 pm »
Problem solved.
It was an error in folder structure.
Thx anyway. ;D ;D ;D