FORUM
MANUAL
GET TREMULOUS
Tremulous forum
May 24, 2013, 04:06:16 AM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Come Chat with us live! Learn how
HERE!
Home
Help
Search
Login
Register
T R E M U L O U S
>
Mods
>
Modding Center
>
Compiling Tremulous on Windows using MinGW [Updated 2012-04-18]
Pages: [
1
]
2
All
Go Down
Print
Author
Topic: Compiling Tremulous on Windows using MinGW [Updated 2012-04-18] (Read 5466 times)
cron
Donators
Turrets: +22/-7
Posts: 185
Got UNV?
Compiling Tremulous on Windows using MinGW [Updated 2012-04-18]
«
on:
December 05, 2010, 03:39:47 PM »
First, download and install
7-Zip
. You'll need it to decompress several files we'll be using.
Then follow these steps to compile the Tremulous client on Windows using MinGW:
1. Download and install the newest MinGW-get-inst package (.exe)
:
http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/mingw-get-inst/
Select 'Use pre-packaged repository catalogues' and install to: C:\MinGW
Select components (check) 'MinGW Compiler Suite' and 'MinGW Developer Toolkit'
When complete, add the line
C:\MinGW\bin;
in to MS Windows'
PATH environment variable
(If you are compiling on a 64 bit system, get
this file
and extract the files to your C:\MinGW\bin\ folder)
2. Download libcURL (Win32 Generic) from curl.haxx.se :
Direct link since their site is horrible:
curl-7.25.0-devel-mingw32.zip
*NOTE: The site gknw.net that mirrors these downloads is down for now.
Make sure it's the devel-mingw32 package, like: curl-X.X.X-
devel-mingw32
.zip
Unzip the files with 7-Zip to C:\libcURL\
Copy everything in C:\libcURL\ over to C:\MinGW\ and answer 'yes' if asked to overwrite files
3. Download and install the OpenAL libraries that you would like to use:
Using the free LGPL licensed
OpenAL Soft libraries
(Needed for systems without OpenAL32.dll):
http://kcat.strangesoft.net/openal.html#download
Extract the files with 7-Zip, copy the \include\AL directory to C:\MinGW\include\
-
OR
-
Using the proprietary (non free) OpenAL 11 Core SDK:
http://www.openal.org./openal/Downloads/Forms/AllItems.aspx
Copy the contents of C:\Program Files\OpenAL 1.1 SDK\include\ to C:\MinGW\include\
Copy the contents of C:\Program Files\OpenAL 1.1 SDK\libs\ to C:\MinGW\lib\
4. Download the Subversion Windows binaries (.zip):
http://sourceforge.net/projects/win32svn/files/
Unzip with 7-Zip, copy the \bin folder to C:\MinGW\ ,
say
NO
when overwriting libeay32.dll
(No big deal if you accidentally overwrite, just copy the newer one from \libcURL\bin\ to \MinGW\bin\ )
5. Start the MinGW Shell (MSys) by running C:\MinGW\msys\1.0\msys.bat
(run as Admininstrator)
6. Download the newest Tremulous GPP source code
(creates a new directory ~/tremulousgpp/ ):
$ svn co -r HEAD svn://svn.icculus.org/tremulous/branches/gpp ~/tremulousgpp
(Replace
HEAD
with a specific revision number if desired)
7. Change directory to where the Tremulous source downloaded to:
$ cd ~/tremulousgpp/
8. Create a new file named
Makefile.local
which contains the following lines:
CC=gcc
- To specify that the GCC C compiler should be used.
USE_CURL=1
- To add WWW download functionality.
To build your own QVMs, add:
BUILD_GAME_QVM=1
-
OR
-
BUILD_GAME_QVM=0
INCLUDE=
LIBRARY=
9. Run make (NOT 'mingw32-make'):
$ make
If all went well, your new tremulous.x86.exe and/or QVMs will be in
build/release-mingw-x86/
You can then copy the .exe to where you have Tremulous installed,
(eg.
C:\Program Files\Tremulous\
) and run it.
Tip: Don't forget to add a firewall exception for it like I always do!
Additional info:
Ingar's "Building a custom MinGW/MSYS development environment"
Notes:
If the compile fails, delete old build files with make clean:
$ make clean
If you built custom QVMs, make a new directory named VM in your
folder and copy the .qvm files there
Credits:
BIG THANKS
to Ingar for assistance, and to Risujin for his
original post
. Also thanks to gimhael for the CC=gcc fix.
Notes:
2011-09-24 : Added info about overwriting libeay32.dll
2012-04-17 : Updated link for cURL and removed outdated 1.1 source info
2012-04-18 : More cleanup and date format changes. Renamed title.
«
Last Edit: April 18, 2012, 03:10:36 AM by cron, Reason: Granger Amplification
»
Logged
U N V A N Q U I S H E D
-
HALF½ OFF WEEKEND SALE!
Demolution
Turrets: +157/-64
Posts: 1198
Re: The NEW shorter and sweeter guide to compiling Tremulous on Windows
«
Reply #1 on:
December 05, 2010, 06:02:38 PM »
Sticky?
Logged
Clan [AC] - For all your air conditioning needs please visit:
http://s1.zetaboards.com/AC_NoS/index/
Quote from: swamp-cecil on October 05, 2010, 08:04:04 PM
my brain > your brain.
and i am VERY stupid.
DraZiLoX
Turrets: +24/-24
Posts: 844
Re: The NEW shorter and sweeter guide to compiling Tremulous on Windows
«
Reply #2 on:
December 05, 2010, 11:49:55 PM »
Quote from: Demolution on December 05, 2010, 06:02:38 PM
Sticky?
I second that!
Logged
cron
Donators
Turrets: +22/-7
Posts: 185
Got UNV?
Re: The NEW shorter and sweeter guide to compiling Tremulous on Windows
«
Reply #3 on:
December 06, 2010, 03:11:22 AM »
Quote from: Demolution on December 05, 2010, 06:02:38 PM
Sticky?
I need people to test this out to make sure it all works first.
Logged
U N V A N Q U I S H E D
-
HALF½ OFF WEEKEND SALE!
Thorn
Turrets: +409/-60
Posts: 1237
Re: The NEW shorter and sweeter guide to compiling Tremulous on Windows
«
Reply #4 on:
December 06, 2010, 08:37:13 AM »
Will openal-soft use hardware if available?
Logged
Flex
Ingar
Tremulous Developers
Turrets: +302/-7
Posts: 535
Doomsday device you say?
Re: The NEW shorter and sweeter guide to compiling Tremulous on Windows
«
Reply #5 on:
December 06, 2010, 11:38:27 AM »
I think there's a little misunderstanding: I suggested to use openal-soft instead of
the official implementation because I had problems with that when I used
it to compile other projects, I use openal-soft in my own devenv now.
For OpenAL support you need an OpenAL32.dll (either the
official
one, or the
OpenAL-soft
replacement).
I can't remember if those packages install the necessary development files (includes) as well.
Logged
You must be new here
::
http://ingar.satgnu.net
cron
Donators
Turrets: +22/-7
Posts: 185
Got UNV?
The shorter & sweeter guide to compiling Tremulous on Windows
«
Reply #6 on:
December 07, 2010, 01:29:16 AM »
Updated the info on OpenAL and gave the topic a new name. Thanks Ingar!
«
Last Edit: December 07, 2010, 01:31:36 AM by cron
»
Logged
U N V A N Q U I S H E D
-
HALF½ OFF WEEKEND SALE!
cron
Donators
Turrets: +22/-7
Posts: 185
Got UNV?
Re: The shorter & sweeter guide to compiling Tremulous on Windows
«
Reply #7 on:
December 24, 2010, 08:27:05 AM »
I can only compile the GPP using GCC 3.4.5. Does this guide work for GCC 4.5.x on Windows?
I'll add instructions on setting up a separate MinGW install with older GCC if needed.
«
Last Edit: December 28, 2010, 06:49:32 PM by cron
»
Logged
U N V A N Q U I S H E D
-
HALF½ OFF WEEKEND SALE!
Dr. A. Goon
Turrets: +2/-0
Posts: 40
They don't see me lurkin.
Re: The shorter & sweeter guide to compiling Tremulous on Windows
«
Reply #8 on:
February 28, 2011, 04:22:16 PM »
I keep trying to compile and get a heap of errors that are obviously the creative commons license, but I can't find the file.
Logged
Quote from: kharnov on May 10, 2011, 09:17:36 PM
Good day sir.
gimhael
Turrets: +70/-16
Posts: 546
Re: The shorter & sweeter guide to compiling Tremulous on Windows
«
Reply #9 on:
February 28, 2011, 05:24:27 PM »
Unfortunately on mingw filenames are case insensitive and usually the $PATH contains the current directory, so when make looks for the default C-compiler cc it finds the Creative Commons license file ./CC and tries to execute it !
Easy fix: run
Code:
make CC=gcc
and it should pick up the proper C-compiler.
Logged
Dr. A. Goon
Turrets: +2/-0
Posts: 40
They don't see me lurkin.
Re: The shorter & sweeter guide to compiling Tremulous on Windows
«
Reply #10 on:
March 06, 2011, 03:04:34 AM »
Thanks for the CC fix. I now get errors about wsiapi.h, even though I placed it in MinGw's include folder.
Code:
Javier@Javier-PC ~/tremulous
$ make CC=gcc
make[1]: Entering directory `/home/Javier/tremulous'
Building Tremulous in build/release-HPD-x86:
PLATFORM: HPD
ARCH: x86
VERSION: 1.1.0_SVN2184
COMPILE_PLATFORM: mingw32
COMPILE_ARCH: x86
CC: gcc
CFLAGS:
-DNO_VM_COMPILED
-DNO_GZIP
-Isrc/zlib
-DUSE_LOCAL_HEADERS
-DPRODUCT_VERSION="1.1.0_SVN2184"
-MMD
-DNDEBUG
-O3
CLIENT_CFLAGS:
-DUSE_MUMBLE
-DUSE_VOIP
-DFLOATING_POINT
-DUSE_ALLOCA
-Isrc/libspeex/include
SERVER_CFLAGS:
-DUSE_VOIP
LDFLAGS:
LIBS:
CLIENT_LIBS:
Output:
build/release-HPD-x86/tremded.x86
build/release-HPD-x86/tremulous.x86
build/release-HPD-x86/base/cgamex86.so
build/release-HPD-x86/base/gamex86.so
build/release-HPD-x86/base/uix86.so
make[2]: Entering directory `/home/Javier/tremulous'
DED_CC src/server/sv_client.c
DED_CC src/server/sv_ccmds.c
DED_CC src/server/sv_game.c
DED_CC src/server/sv_init.c
DED_CC src/server/sv_main.c
DED_CC src/server/sv_net_chan.c
DED_CC src/server/sv_snapshot.c
DED_CC src/server/sv_world.c
DED_CC src/qcommon/cm_load.c
DED_CC src/qcommon/cm_patch.c
DED_CC src/qcommon/cm_polylib.c
DED_CC src/qcommon/cm_test.c
DED_CC src/qcommon/cm_trace.c
DED_CC src/qcommon/cmd.c
DED_CC src/qcommon/common.c
DED_CC src/qcommon/cvar.c
DED_CC src/qcommon/files.c
DED_CC src/qcommon/md4.c
DED_CC src/qcommon/msg.c
DED_CC src/qcommon/net_chan.c
DED_CC src/qcommon/net_ip.c
In file included from src/qcommon/net_ip.c:35:0:
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/wspiapi.h:67:11: error
: expected ')' before 'const'
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/wspiapi.h:73:16: error
: expected ')' before '(' token
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/wspiapi.h:82:11: error
: expected ')' before 'struct'
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/wspiapi.h:96:1: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/wspiapi.h:136:11: erro
r: expected ')' before 'const'
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/wspiapi.h:180:11: erro
r: expected ')' before 'int'
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/wspiapi.h:237:11: erro
r: expected ')' before 'const'
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/wspiapi.h:315:11: erro
r: expected ')' before 'const'
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/wspiapi.h:399:11: erro
r: expected ')' before 'WORD'
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/wspiapi.h:449:11: erro
r: expected ')' before 'struct'
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/wspiapi.h:482:10: erro
r: expected ')' before 'const'
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/wspiapi.h:700:16: erro
r: expected ')' before '(' token
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/wspiapi.h:873:11: erro
r: expected ')' before 'WORD'
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/wspiapi.h:999:14: erro
r: expected ')' before 'const'
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/wspiapi.h:1021:16: err
or: expected ')' before '(' token
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/wspiapi.h:1046:11: err
or: expected ')' before 'struct'
make[2]: *** [build/release-HPD-x86/ded/net_ip.o] Error 1
make[2]: Leaving directory `/home/Javier/tremulous'
make[1]: *** [targets] Error 2
make[1]: Leaving directory `/home/Javier/tremulous'
make: *** [release] Error 2
Javier@Javier-PC ~/tremulous
$
*EDIT More pertinently, how do I compile the code without wspiapi.h?
«
Last Edit: March 06, 2011, 03:41:16 AM by Dr. A. Goon, Reason: I realized that wspiapi.h was included for win2k compatibility
»
Logged
Quote from: kharnov on May 10, 2011, 09:17:36 PM
Good day sir.
gimhael
Turrets: +70/-16
Posts: 546
Re: The shorter & sweeter guide to compiling Tremulous on Windows
«
Reply #11 on:
March 06, 2011, 08:44:34 AM »
I think the #include of wspiapi.h or ws2spi.h can be completely removed without problems.
Logged
{FN}BlueCelery2
Turrets: +0/-0
Posts: 10
Re: The shorter & sweeter guide to compiling Tremulous on Windows
«
Reply #12 on:
April 11, 2011, 05:35:04 AM »
when i do step 2 i cant find the file y is this?
Logged
cron
Donators
Turrets: +22/-7
Posts: 185
Got UNV?
Re: The shorter & sweeter guide to compiling Tremulous on Windows
«
Reply #13 on:
April 14, 2011, 01:47:38 PM »
The design on the libcurl site is a bit yucky, making it hard to find the right thing, but here's a direct link to what you want:
http://www.gknw.net/mirror/curl/win32/curl-7.21.4-devel-mingw32.zip
Logged
U N V A N Q U I S H E D
-
HALF½ OFF WEEKEND SALE!
Dr. A. Goon
Turrets: +2/-0
Posts: 40
They don't see me lurkin.
Re: The shorter & sweeter guide to compiling Tremulous on Windows
«
Reply #14 on:
May 02, 2011, 05:28:45 PM »
This guide should definitely be stickied, the old guide is outdated.
You should add a section on what to do with the build output, especially the qvm.
Logged
Quote from: kharnov on May 10, 2011, 09:17:36 PM
Good day sir.
Piper802
Turrets: +2/-2
Posts: 56
Re: The shorter & sweeter guide to compiling Tremulous on Windows
«
Reply #15 on:
May 30, 2011, 11:42:22 PM »
Haha sorry Cron but I've been having the same probs as everyone else
At first I couldnt find the right libcURL, due to the site being a bit yucky as you said haha. I think you should put the direct link in the topic post
But yeah then I had the same problem as Dr. A Goon that involved using
Code:
make CC=gcc
, which got me a liiittle further
And now I'm having the same problem as Dr. A Goon again, where its not finding wspiapi.h from the #include in tremulous/src/qcommon/net_ip.c, so I deleted the #include call, and now I'm just getting more errors about other files it cant find:
Code:
make[1]: Leaving directory `/home/Nolan/tremulous'
make[1]: Entering directory `/home/Nolan/tremulous/src/master'
rm -f debug-HPD-x86/*
rm -f release-HPD-x86/*
make[1]: Leaving directory `/home/Nolan/tremulous/src/master'
Nolan@Nolan-PC ~/tremulous
$ make
make[1]: Entering directory `/home/Nolan/tremulous'
Building Tremulous in build/release-HPD-x86:
PLATFORM: HPD
ARCH: x86
VERSION: 1.1.0_SVN2213
COMPILE_PLATFORM: mingw32
COMPILE_ARCH: x86
CC: cc
CFLAGS:
-DNO_VM_COMPILED
-DNO_GZIP
-Isrc/zlib
-DUSE_INTERNAL_JPEG
-Isrc/jpeg-8c
-DUSE_LOCAL_HEADERS
-DPRODUCT_VERSION="1.1.0_SVN2213"
-MMD
-DNDEBUG
-O3
CLIENT_CFLAGS:
-DUSE_MUMBLE
-DUSE_VOIP
-DFLOATING_POINT
-DUSE_ALLOCA
-Isrc/libspeex/include
SERVER_CFLAGS:
-DUSE_VOIP
LDFLAGS:
LIBS:
CLIENT_LIBS:
Output:
build/release-HPD-x86/tremded.x86
build/release-HPD-x86/tremulous.x86
build/release-HPD-x86/base/cgamex86.so
build/release-HPD-x86/base/gamex86.so
build/release-HPD-x86/base/uix86.so
make[2]: Entering directory `/home/Nolan/tremulous'
DED_CC src/server/sv_client.c
./cc: line 1: Creative_Commons: command not found
./cc: line 2: Creative: command not found
./cc: line 3: Attribution-ShareAlike: command not found
./cc: line 4: CREATIVE: command not found
./cc: line 5: SERVICES.: command not found
./cc: line 6: RELATIONSHIP.: command not found
./cc: line 7: CREATIVE: command not found
./cc: line 8: DISCLAIMS: command not found
./cc: line 9: License: command not found
./cc: line 10: syntax error near unexpected token `('
./cc: line 10: `THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS
CREATIVE'
make[2]: *** [build/release-HPD-x86/ded/sv_client.o] Error 2
make[2]: Leaving directory `/home/Nolan/tremulous'
make[1]: *** [targets] Error 2
make[1]: Leaving directory `/home/Nolan/tremulous'
make: *** [release] Error 2
Nolan@Nolan-PC ~/tremulous
$ make CC=gcc
make[1]: Entering directory `/home/Nolan/tremulous'
Building Tremulous in build/release-HPD-x86:
PLATFORM: HPD
ARCH: x86
VERSION: 1.1.0_SVN2213
COMPILE_PLATFORM: mingw32
COMPILE_ARCH: x86
CC: gcc
CFLAGS:
-DNO_VM_COMPILED
-DNO_GZIP
-Isrc/zlib
-DUSE_INTERNAL_JPEG
-Isrc/jpeg-8c
-DUSE_LOCAL_HEADERS
-DPRODUCT_VERSION="1.1.0_SVN2213"
-MMD
-DNDEBUG
-O3
CLIENT_CFLAGS:
-DUSE_MUMBLE
-DUSE_VOIP
-DFLOATING_POINT
-DUSE_ALLOCA
-Isrc/libspeex/include
SERVER_CFLAGS:
-DUSE_VOIP
LDFLAGS:
LIBS:
CLIENT_LIBS:
Output:
build/release-HPD-x86/tremded.x86
build/release-HPD-x86/tremulous.x86
build/release-HPD-x86/base/cgamex86.so
build/release-HPD-x86/base/gamex86.so
build/release-HPD-x86/base/uix86.so
make[2]: Entering directory `/home/Nolan/tremulous'
DED_CC src/server/sv_client.c
DED_CC src/server/sv_ccmds.c
DED_CC src/server/sv_game.c
DED_CC src/server/sv_init.c
DED_CC src/server/sv_main.c
DED_CC src/server/sv_net_chan.c
DED_CC src/server/sv_snapshot.c
DED_CC src/server/sv_world.c
DED_CC src/qcommon/cm_load.c
DED_CC src/qcommon/cm_patch.c
DED_CC src/qcommon/cm_polylib.c
DED_CC src/qcommon/cm_test.c
DED_CC src/qcommon/cm_trace.c
DED_CC src/qcommon/cmd.c
DED_CC src/qcommon/common.c
DED_CC src/qcommon/cvar.c
DED_CC src/qcommon/files.c
DED_CC src/qcommon/md4.c
DED_CC src/qcommon/msg.c
DED_CC src/qcommon/net_chan.c
DED_CC src/qcommon/net_ip.c
src/qcommon/net_ip.c:35:24: fatal error: wspiapi.h: No such file or directory
compilation terminated.
make[2]: *** [build/release-HPD-x86/ded/net_ip.o] Error 1
make[2]: Leaving directory `/home/Nolan/tremulous'
make[1]: *** [targets] Error 2
make[1]: Leaving directory `/home/Nolan/tremulous'
make: *** [release] Error 2
Nolan@Nolan-PC ~/tremulous
$ make CC=gcc
make[1]: Entering directory `/home/Nolan/tremulous'
Building Tremulous in build/release-HPD-x86:
PLATFORM: HPD
ARCH: x86
VERSION: 1.1.0_SVN2213M
COMPILE_PLATFORM: mingw32
COMPILE_ARCH: x86
CC: gcc
CFLAGS:
-DNO_VM_COMPILED
-DNO_GZIP
-Isrc/zlib
-DUSE_INTERNAL_JPEG
-Isrc/jpeg-8c
-DUSE_LOCAL_HEADERS
-DPRODUCT_VERSION="1.1.0_SVN2213M"
-MMD
-DNDEBUG
-O3
CLIENT_CFLAGS:
-DUSE_MUMBLE
-DUSE_VOIP
-DFLOATING_POINT
-DUSE_ALLOCA
-Isrc/libspeex/include
SERVER_CFLAGS:
-DUSE_VOIP
LDFLAGS:
LIBS:
CLIENT_LIBS:
Output:
build/release-HPD-x86/tremded.x86
build/release-HPD-x86/tremulous.x86
build/release-HPD-x86/base/cgamex86.so
build/release-HPD-x86/base/gamex86.so
build/release-HPD-x86/base/uix86.so
make[2]: Entering directory `/home/Nolan/tremulous'
DED_CC src/qcommon/net_ip.c
src/qcommon/net_ip.c:50:2: error: #else without #if
src/qcommon/net_ip.c:57:24: fatal error: arpa/inet.h: No such file or directory
compilation terminated.
make[2]: *** [build/release-HPD-x86/ded/net_ip.o] Error 1
make[2]: Leaving directory `/home/Nolan/tremulous'
make[1]: *** [targets] Error 2
make[1]: Leaving directory `/home/Nolan/tremulous'
make: *** [release] Error 2
Nolan@Nolan-PC ~/tremulous
$ make CC=gcc
make[1]: Entering directory `/home/Nolan/tremulous'
Building Tremulous in build/release-HPD-x86:
PLATFORM: HPD
ARCH: x86
VERSION: 1.1.0_SVN2213M
COMPILE_PLATFORM: mingw32
COMPILE_ARCH: x86
CC: gcc
CFLAGS:
-DNO_VM_COMPILED
-DNO_GZIP
-Isrc/zlib
-DUSE_INTERNAL_JPEG
-Isrc/jpeg-8c
-DUSE_LOCAL_HEADERS
-DPRODUCT_VERSION="1.1.0_SVN2213M"
-MMD
-DNDEBUG
-O3
CLIENT_CFLAGS:
-DUSE_MUMBLE
-DUSE_VOIP
-DFLOATING_POINT
-DUSE_ALLOCA
-Isrc/libspeex/include
SERVER_CFLAGS:
-DUSE_VOIP
LDFLAGS:
LIBS:
CLIENT_LIBS:
Output:
build/release-HPD-x86/tremded.x86
build/release-HPD-x86/tremulous.x86
build/release-HPD-x86/base/cgamex86.so
build/release-HPD-x86/base/gamex86.so
build/release-HPD-x86/base/uix86.so
make[2]: Entering directory `/home/Nolan/tremulous'
DED_CC src/qcommon/net_ip.c
DED_CC src/qcommon/huffman.c
DED_CC src/qcommon/parse.c
DED_CC src/qcommon/q_math.c
DED_CC src/qcommon/q_shared.c
DED_CC src/qcommon/unzip.c
DED_CC src/qcommon/ioapi.c
DED_CC src/qcommon/vm.c
DED_CC src/qcommon/vm_interpreted.c
DED_CC src/null/null_client.c
DED_CC src/null/null_input.c
DED_CC src/null/null_snddma.c
DED_CC src/sys/con_log.c
DED_CC src/sys/sys_main.c
AS src/asm/ftola.s
AS src/asm/snapvectora.s
AS src/asm/matha.s
DED_CC src/zlib/adler32.c
DED_CC src/zlib/crc32.c
DED_CC src/zlib/inffast.c
DED_CC src/zlib/inflate.c
DED_CC src/zlib/inftrees.c
DED_CC src/zlib/zutil.c
DED_CC src/sys/sys_unix.c
src/sys/sys_unix.c:35:22: fatal error: sys/mman.h: No such file or directory
compilation terminated.
make[2]: *** [build/release-HPD-x86/ded/sys_unix.o] Error 1
make[2]: Leaving directory `/home/Nolan/tremulous'
make[1]: *** [targets] Error 2
make[1]: Leaving directory `/home/Nolan/tremulous'
make: *** [release] Error 2
$
Logged
Dr. A. Goon
Turrets: +2/-0
Posts: 40
They don't see me lurkin.
Re: The shorter & sweeter guide to compiling Tremulous on Windows
«
Reply #16 on:
May 30, 2011, 11:48:58 PM »
Yeah, what happened to me was that I screwed my PLATFORM variable to HPD which happened to you too. Set it to the windows standard, which you can find by inspecting the makefile.
Logged
Quote from: kharnov on May 10, 2011, 09:17:36 PM
Good day sir.
zoomer
Turrets: +0/-1
Posts: 23
Re: The shorter & sweeter guide to compiling Tremulous on Windows
«
Reply #17 on:
June 07, 2011, 05:02:14 PM »
It worked for me first time thanks
Logged
cron
Donators
Turrets: +22/-7
Posts: 185
Got UNV?
Re: The shorter & sweeter guide to compiling Tremulous on Windows
«
Reply #18 on:
November 18, 2011, 03:03:49 AM »
More info:
Quote from: Dr. A. Goon on May 02, 2011, 05:28:45 PM
You should add a section on what to do with the build output, especially the qvm.
Quote from: brndmg on August 11, 2011, 05:09:45 PM
I have compiled the source.. But now what, is there another guide that can tell me what to do next? It obviously isn't runnable. How can I package it for distribution to some friends?
Quote from: Celestial_Rage on August 12, 2011, 12:40:15 AM
the tremulous.x86.exe file can be found in the build/*/ directory and the VMs can be found in vm/*/base/vm/.
You put the tremulous.x86.exe file in your Tremulous folder and execute it to play and/or put the VMs in %appdata%/Tremulous/base/vm to put your compiled gameplay changes into effect.
Logged
U N V A N Q U I S H E D
-
HALF½ OFF WEEKEND SALE!
ULTRA Random ViruS
Turrets: +4/-94
Posts: 720
Re: A shorter & sweeter guide to compiling Tremulous on Windows [Updated 9-24-11]
«
Reply #19 on:
April 10, 2012, 06:59:19 AM »
I get lots of error messages due to the fact that i have ._ files (needed for Git repo)
I'm also having problems with auto-installing tools... they block my qvm build
Logged
The new wave of feeding
ULTRA
Random
V
i
r
u
S
' has come.
Youtube
- Tremulous + Various Stuff
/dev/humancontroller
Turrets: +19/-376
Posts: 855
Re: A shorter & sweeter guide to compiling Tremulous on Windows [Updated 9-24-11]
«
Reply #20 on:
April 11, 2012, 10:45:30 PM »
Quote from: cron on December 05, 2010, 03:39:47 PM
To download the newest
Tremulous 1.1
source from SVN (creates a directory ~/tremulous/ ):
$ svn co -r HEAD svn://svn.icculus.org/tremulous/trunk/ ~/tremulous
there isn't really such a thing as the
newest 1.1 source
. r755 was the revision used in the 1.1.0 release. the network compatibility with 1.1.0 was lost at, IIRC, some 900ish revision, and after 100s of revisions later, GPP changes (including balance changes) were added. the
gpp
branch differs from the main branch (the
trunk
) basically only by default network settings (eg., the master server port). for users who do not fully understand the differences between the main branch and the gpp branch: avoid the main branch, download the gpp branch instead; ie., do not chose to run the above command.
Logged
ULTRA Random ViruS
Turrets: +4/-94
Posts: 720
Re: A shorter & sweeter guide to compiling Tremulous on Windows [Updated 9-24-11]
«
Reply #21 on:
April 12, 2012, 09:05:53 AM »
Its not that... i while building the qvm it says something like installing blah blah and said something like invalid or cannot etc...
Also, i tried compiling gpp and korx qvm as is, they succeed but when i try the qvm on a local server, the korx one's buildables are screwed up (multiple rcs can be built, you can walk through them, they do not power anything e.i. do nothing at all, just visually present) and the gpp [server] has lots of [i think buildable placement] problems as it shows the coordinates of some random numbers, and the client crashes before it loads the map. This time i redone step #2, [before i had the forum opened up in a weird format and couldn't load some links [http://tremulous.net/forum/index.php?topic=14726.0;wap2]] but it seems the link no longer exists [http://www.gknw.net/mirror/curl/win32/curl-7.21.4-devel-mingw32.zip]
I googled the file but i get the same links or links that have no relation [e.i. viruses, porno sites etc...]
«
Last Edit: April 12, 2012, 09:08:34 AM by ULTRA Random ViruS
»
Logged
The new wave of feeding
ULTRA
Random
V
i
r
u
S
' has come.
Youtube
- Tremulous + Various Stuff
/dev/humancontroller
Turrets: +19/-376
Posts: 855
Re: A shorter & sweeter guide to compiling Tremulous on Windows [Updated 9-24-11]
«
Reply #22 on:
April 17, 2012, 02:16:46 PM »
Quote from: cron on December 05, 2010, 03:39:47 PM
9-24-11
Quote from: cron on December 05, 2010, 03:39:47 PM
4-17-12
what are these silly numbers?
Logged
CreatureofHell
Turrets: +429/-123
Posts: 2351
Ash Nazg Durbatulūk, Ash Nazg Gimbatul.
Re: A shorter & sweeter guide to compiling Tremulous on Windows [Updated 9-24-11]
«
Reply #23 on:
April 17, 2012, 11:39:38 PM »
Quote from: /dev/humancontroller on April 17, 2012, 02:16:46 PM
Quote from: cron on December 05, 2010, 03:39:47 PM
9-24-11
Quote from: cron on December 05, 2010, 03:39:47 PM
4-17-12
what are these silly numbers?
Dates in MM/DD/YY format?
Logged
Quote
<Timbo> posting on the trem forums rarely results in anything good
/dev/humancontroller
Turrets: +19/-376
Posts: 855
Re: A shorter & sweeter guide to compiling Tremulous on Windows [Updated 9-24-11]
«
Reply #24 on:
April 18, 2012, 03:21:07 AM »
Quote from: CreatureofHell on April 17, 2012, 11:39:38 PM
Quote from: /dev/humancontroller on April 17, 2012, 02:16:46 PM
Quote from: cron on December 05, 2010, 03:39:47 PM
9-24-11
Quote from: cron on December 05, 2010, 03:39:47 PM
4-17-12
what are these silly numbers?
Dates in MM/DD/YY format?
that can't be; MM/DD/YY would imply something like 04/17/12, which has a leading 0 and uses '/'s as separators. the number could be dates in Y-M-D or M-D-Y format, or could be just some fancy serial numbers. but in any case, there's an
international date and time representation standard
.
«
Last Edit: April 18, 2012, 06:22:07 PM by /dev/humancontroller
»
Logged
danmal
Turrets: +21/-6
Posts: 244
Re: Compiling Tremulous on Windows using MinGW
«
Reply #25 on:
April 22, 2012, 02:42:57 PM »
There's also local (non-ISO 8601 complaint) standards for the display of dates which in some countries see wide spread use. It's my belief that Cron used this local standard instead of ISO 8601. Be aware that the use of ISO 8601 compliant date representation does not actually resolve your issue. Your issue is that he has not specified which format he has used. Alternatively this confusion could be avoided by using a non-ambiguous date format such as 12 April 2012.
«
Last Edit: April 22, 2012, 02:48:24 PM by danmal
»
Logged
/dev/humancontroller
Turrets: +19/-376
Posts: 855
Re: Compiling Tremulous on Windows using MinGW
«
Reply #26 on:
April 23, 2012, 01:20:08 AM »
Quote from: danmal on April 22, 2012, 02:42:57 PM
a non-ambiguous date format such as 12 April 2012.
or YYYY-MM-DD...
Logged
danmal
Turrets: +21/-6
Posts: 244
Re: Compiling Tremulous on Windows using MinGW [Updated 2012-04-18]
«
Reply #27 on:
April 23, 2012, 04:06:58 AM »
It's ambiguous as YYYY-MM-DD could be mistaken for YYYY-DD-MM unless the date format has been specified.
Logged
/dev/humancontroller
Turrets: +19/-376
Posts: 855
Re: Compiling Tremulous on Windows using MinGW [Updated 2012-04-18]
«
Reply #28 on:
April 23, 2012, 05:30:50 PM »
Quote from: danmal on April 23, 2012, 04:06:58 AM
It's ambiguous as YYYY-MM-DD could be mistaken for YYYY-DD-MM unless the date format has been specified.
or could be "mistaken" for YD-MY-YMDY, or any other fancy format, just as 12 April 2012 could be "mistaken" for YD <month> DY<fancy_checksum_of_the_year>. but who uses any of these fancy formats?
Logged
danmal
Turrets: +21/-6
Posts: 244
Re: Compiling Tremulous on Windows using MinGW [Updated 2012-04-18]
«
Reply #29 on:
April 24, 2012, 07:32:04 AM »
You should be aware however that there are 3 main formats used to represent dates; D-M-Y, M-D-Y, Y-M-D. 9-24-11 is obviously of the format M-D-Y and therefore in this case the format M-D-Y is non-ambiguous (just like ISO 8601). We must operate on one of two assumptions. That a person will be aware of the 3 major date formats in which case the use of M-D-YY is perfectly acceptable in this specific case or that a person will not be aware of any date formats in which case your proposed solution (the implementation of ISO 8601) is inadequate.
Logged
Pages: [
1
]
2
All
Go Up
Print
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Announcements
=> General Discussion
=> Troubleshooting
=> Feedback
=> Official Servers
-----------------------------
Community
-----------------------------
=> Servers
===> Server Admin Contacts
=> Clans
===> Individual Clan Threads
=> Strategies and Tactics
=> Mod Ideas and Desires
=> Off Topic
-----------------------------
Media
-----------------------------
=> Mapping Center
=> Map Releases
=> Modeling Center
=> Other Tremulous Media
-----------------------------
Mods
-----------------------------
=> Modding Center
=> Mod Releases
===> HUDs
===> Gameplay Changing
===> Non-Gameplay Changing
===> Tools and Utilities
Loading...