Author Topic: [HELP]How to compile source of QVM  (Read 9757 times)

Rarely

  • Posts: 22
  • Turrets: +1/-0
[HELP]How to compile source of QVM
« on: December 04, 2010, 07:12:11 pm »
Hello, I am using the source of Rezyn's QVM and I want to compile it, but HOW do I do that? I was searching everywere on forums, I found some but they are not what I want. I just want to make it a game.qvm file so I can test it out on my test server on 1.2

its about 1.2 not 1.1 =]

Thanks,

Rarely.

DraZiLoX

  • Posts: 844
  • Turrets: +24/-24
Re: [HELP]How to compile source of QVM
« Reply #1 on: December 04, 2010, 08:47:12 pm »
Are you using Windows? Then look here: http://tremulous.net/forum/index.php?topic=3408.0, and if you are using linux, its made easy for you, just write make in same directory with Makefile.

DevilishFreak

  • Posts: 17
  • Turrets: +2/-1
    • Tremulous Argentina
Re: [HELP]How to compile source of QVM
« Reply #2 on: December 04, 2010, 10:29:00 pm »
With Rezyn's QVM (Aardvark) you have to download the code from the Tremulous svn, apply the patches from Rezyn and then compile it.
In Linux, it's easy, just follow the instructions here: http://rezyn.mercenariesguild.net/aardvark.php
In Windows, I don't know  ;D

Cheers.

Rarely

  • Posts: 22
  • Turrets: +1/-0
Re: [HELP]How to compile source of QVM
« Reply #3 on: December 05, 2010, 09:02:21 am »
Drazi, I don't understand anything from that link, and many links doesnt work too :overmind:

=[

DraZiLoX

  • Posts: 844
  • Turrets: +24/-24
Re: [HELP]How to compile source of QVM
« Reply #4 on: December 05, 2010, 09:23:52 am »
Drazi, I don't understand anything from that link, and many links doesnt work too :overmind:

=[
Well, like i didn't say, its like 50 times easier with linux.

This can also help,: http://tremulous.net/forum/index.php?topic=9411.0

Rarely

  • Posts: 22
  • Turrets: +1/-0
Re: [HELP]How to compile source of QVM
« Reply #5 on: December 05, 2010, 12:23:42 pm »
This is a pic of the error of my compiling



??? whats wrong

and yes I looked in the build/vm folder nothing there
« Last Edit: December 05, 2010, 01:12:59 pm by Rarely »

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: [HELP]How to compile source of QVM
« Reply #6 on: December 05, 2010, 02:15:44 pm »
Quote
gcc: Command not found
Install mingw.
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.

Rarely

  • Posts: 22
  • Turrets: +1/-0
Re: [HELP]How to compile source of QVM
« Reply #7 on: December 05, 2010, 03:17:14 pm »
I have that already man, C:/minGW

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: [HELP]How to compile source of QVM
« Reply #8 on: December 05, 2010, 04:09:00 pm »
You didn't do the "Add mingw to PATH" bit.

No idea how it's supposed to be done on windows though.
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.

Rarely

  • Posts: 22
  • Turrets: +1/-0
Re: [HELP]How to compile source of QVM
« Reply #9 on: December 05, 2010, 05:48:43 pm »
What do you mean???

DevilishFreak

  • Posts: 17
  • Turrets: +2/-1
    • Tremulous Argentina
Re: [HELP]How to compile source of QVM
« Reply #10 on: December 05, 2010, 07:06:57 pm »
For adding a path to the PATH enviroment var, right click on My PC->Properties, go to the Advanced tab and click on 'Enviroment variables'. Then, find the PATH var in the System vars list, click on Modify and add the path you want.

cron

  • Donators
  • *
  • Posts: 197
  • Turrets: +22/-22
    • GrangerHub
Re: [HELP]How to compile source of QVM
« Reply #11 on: December 05, 2010, 11:36:59 pm »
Rarely, here's an updated guide on compiling on Windows: http://tremulous.net/forum/index.php?topic=14726.0

This is how you add a new directory to Windows XP's PATH environmental variable:

Control Panel -> System -> 'Advanced' tab -> 'Environment Variables' button.
In the 'System Variables' list, scroll down and select Path, click Edit.
At the end of the line, add ;C:\MinGW\bin (with the semicolon).

OFC, I'm just assuming you're using XP or Win2K, based on your screenshot.

Rarely

  • Posts: 22
  • Turrets: +1/-0
Re: [HELP]How to compile source of QVM
« Reply #12 on: December 07, 2010, 03:10:32 pm »
Rarely, here's an updated guide on compiling on Windows: http://tremulous.net/forum/index.php?topic=14726.0

This is how you add a new directory to Windows XP's PATH environmental variable:

Control Panel -> System -> 'Advanced' tab -> 'Environment Variables' button.
In the 'System Variables' list, scroll down and select Path, click Edit.
At the end of the line, add ;C:\MinGW\bin (with the semicolon).

OFC, I'm just assuming you're using XP or Win2K, based on your screenshot.

Still doesn't work and no I use Windows Vista

Rarely

  • Posts: 22
  • Turrets: +1/-0
Re: [HELP]How to compile source of QVM
« Reply #13 on: December 07, 2010, 03:11:04 pm »
Rarely, here's an updated guide on compiling on Windows: http://tremulous.net/forum/index.php?topic=14726.0

This is how you add a new directory to Windows XP's PATH environmental variable:

Control Panel -> System -> 'Advanced' tab -> 'Environment Variables' button.
In the 'System Variables' list, scroll down and select Path, click Edit.
At the end of the line, add ;C:\MinGW\bin (with the semicolon).

OFC, I'm just assuming you're using XP or Win2K, based on your screenshot.

Still doesn't work and I followed the guide and I get the same problem and no I use Windows Vista

cron

  • Donators
  • *
  • Posts: 197
  • Turrets: +22/-22
    • GrangerHub
Re: [HELP]How to compile source of QVM
« Reply #14 on: December 07, 2010, 09:18:09 pm »
Rarely, it appears there's still something wrong with your MinGW setup. Try deleting the entire C:\MinGW\ directory (maybe backup your \include\ and \libs\ directories first), and then reinstall MinGW. Make sure that both the C and C++ compilers are installed during setup.

Rarely

  • Posts: 22
  • Turrets: +1/-0
Re: [HELP]How to compile source of QVM
« Reply #15 on: December 10, 2010, 12:57:17 pm »
libgmp-10.dll not found or something? whats that?

cron

  • Donators
  • *
  • Posts: 197
  • Turrets: +22/-22
    • GrangerHub
Re: [HELP]How to compile source of QVM
« Reply #16 on: December 11, 2010, 04:34:13 pm »
libgmp-10.dll not found or something? whats that?

It's the GNU Multiple Precision Arithmetic Library, it resides in C:\MinGW\bin\ which means that C:\MinGW\bin\ is still not in your Window's PATH. Add it by opening compand prompt (cmd.exe) and running:

setx path "%PATH%;C:\MinGW\bin"

Type this out carefully or mess up your system.
« Last Edit: December 11, 2010, 04:38:51 pm by cron »