News:

Come Chat with us live! Learn how HERE!

Main Menu

[HELP]How to compile source of QVM

Started by Rarely, December 04, 2010, 07:12:11 PM

Rarely

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

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

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

Drazi, I don't understand anything from that link, and many links doesnt work too :overmind:

=[

DraZiLoX

Quote from: Rarely on December 05, 2010, 09:02:21 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

#5
This is a pic of the error of my compiling



??? whats wrong

and yes I looked in the build/vm folder nothing there

David

Quotegcc: 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


David

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.


DevilishFreak

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

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

Quote from: cron 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.

Still doesn't work and no I use Windows Vista

Rarely

Quote from: Rarely on December 07, 2010, 03:10:32 PM
Quote from: cron 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.

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

cron

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

libgmp-10.dll not found or something? whats that?

cron

#16
Quote from: Rarely on December 10, 2010, 12:57:17 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.