Author Topic: Help with compiling a QVM  (Read 4576 times)

Piper802

  • Posts: 56
  • Turrets: +2/-2
Help with compiling a QVM
« on: January 18, 2009, 12:04:55 am »
Er, I was reading this guide to compile a QVM:
http://tremulous.net/forum/index.php?topic=3408.0

And everything was going fine the first few steps, but towards the end I got really confused... Step 9 of the guide doesn't make any sense to me:


9.) Download the latest Tremulous SVN code by opening a console, cd'ing to your MinGW home folder ('cd C:\MinGW\home\User'), and typing the SVN command:
svn co -r 895 svn://svn.icculus.org/tremulous/trunk Tremulous
(if you feel confident, you can remove the '-r 895' part to download the latest SVN, but safety is not guaranteed)
If your code is not in a subdirectory of your MinGW home folder you will need to mount it (skip this otherwise):
  • Open C:\MSys\etc\fstab.sample
  • Comment out (add #s) to the two lines at the bottom
  • Add your Tremulous SVN folder and mount point (e.g. 'C:\Tremulous  /home/User/Tremulous')
  • Open your mount point in the MSys directory tree and create the folder (MSys\home\User\Tremulous)
  • Rename fstab.sample to fstab

I do not know what "code" (I think he might mean patch/source code?) he is talking about, or what "subdirectory" he's talking about, or what mounting it is.. :/
Can anyone tell me how to check whether or not my "code" is in a subdirectory of my MinGW home folder, and/or if my code isn't in a subdirectory how do I mount it?
« Last Edit: January 18, 2009, 12:11:08 am by Piper802 »

gimhael

  • Posts: 546
  • Turrets: +70/-16
Re: Help with compiling a QVM
« Reply #1 on: January 18, 2009, 08:51:28 am »
I do not know what "code" (I think he might mean patch/source code?) he is talking about, or what "subdirectory" he's talking about, or what mounting it is.. :/
Can anyone tell me how to check whether or not my "code" is in a subdirectory of my MinGW home folder, and/or if my code isn't in a subdirectory how do I mount it?
The SVN command downloads the source code for tremulous into the specified folder ("Tremulous" in the example). Tremulous needs a Unix-like environment to build (that's why you installed MinGW in the first place), so it can not handle the windows style paths with drive letters. MinGW simulates a Unix-like directory tree under it's base directory. Mounting a (Windows-)directory makes it available as some subdirectory in the Unix-tree, so that it has a proper Unix path.
Your MinGW-Homedirectory is always in the Unix tree, so if you just open the MinGW commandline and run the svn command, you're safe.

Piper802

  • Posts: 56
  • Turrets: +2/-2
Re: Help with compiling a QVM
« Reply #2 on: January 18, 2009, 09:57:53 pm »
I do not know what "code" (I think he might mean patch/source code?) he is talking about, or what "subdirectory" he's talking about, or what mounting it is.. :/
Can anyone tell me how to check whether or not my "code" is in a subdirectory of my MinGW home folder, and/or if my code isn't in a subdirectory how do I mount it?
The SVN command downloads the source code for tremulous into the specified folder ("Tremulous" in the example). Tremulous needs a Unix-like environment to build (that's why you installed MinGW in the first place), so it can not handle the windows style paths with drive letters. MinGW simulates a Unix-like directory tree under it's base directory. Mounting a (Windows-)directory makes it available as some subdirectory in the Unix-tree, so that it has a proper Unix path.
Your MinGW-Homedirectory is always in the Unix tree, so if you just open the MinGW commandline and run the svn command, you're safe.


Oh, so I dont have to worry about mounting it then?