Author Topic: The short and sweet guide to compiling SVN 895 on Windows  (Read 102128 times)

n.o.s.brain

  • Posts: 339
  • Turrets: +1337/-24
    • youtube page
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #60 on: January 14, 2008, 05:33:21 am »
hmm, ok, ill search around.
but when i did svn 1044, i did backport it with the 1044backport patch, and i only applied one patch, and there were no errors watsoever, in patching and compiling.... i guess i should stop obsessing over it.... lol :D

EDIT: wooo, it worked! i found the sdl.dll here and it worked, but just as well as the binary i already have..... the new graphics phailed...
« Last Edit: January 16, 2008, 02:58:25 am by n.o.s.brain »

lizards160

  • Posts: 62
  • Turrets: +1/-5
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #61 on: February 03, 2008, 02:06:49 am »
Ok i got tortiosesvn and cygwin.

I got it to start the make process.
It goes through it,
$ make
make -C
yadda yadda
errors like these
operating system not supported(im on windows XP)
architecture not supported(what does this mean?)
ID_INLINE not defined
PATH_SEP not defined
DLL_EXT not defined
endianness not defined
PATH_SEP undeclared

then at the end

make: *** [tools] error 2

how do i fix these?

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #62 on: February 03, 2008, 02:47:43 am »
a tremulous executable built with cygwin is almost useless.
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

tyranis

  • Posts: 44
  • Turrets: +3/-5
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #63 on: February 21, 2008, 09:50:58 pm »
What do you need to do differentially to make an usable executable that you can play using?

Superpie

  • Spam Killer
  • *
  • Posts: 339
  • Turrets: +105/-48
    • superpie.org
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #64 on: February 22, 2008, 03:15:17 am »
What do you need to do differentially to make an usable executable that you can play using?
Where is the good in goodbye? -Meredith Willson

MartinX3

  • Guest
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #65 on: March 23, 2008, 07:58:05 pm »
The newest svn from tremulous use Protocol 70.
Why the developer don't use this svn to make for us Tremulous 1.2.
This is Tremulous 1.2. :-\

Ghosthree3

  • Posts: 22
  • Turrets: +0/-0
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #66 on: March 26, 2008, 08:08:36 am »

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)

When you say console I assume you mean msys.bat problem is...when I open it...it closes immediantly.

EDIT: Problem solved cmd prompt :]

EDIT EDIT:

3.) Run make ('make' NOT 'mingw32-make' which doesn't work for some reason...)

I ran make in cmd prmpt (Bin/Make.exe) and it comes with the error:
"AllocationBase 0x0, BaseAddress 0x715B0000, RegionSize 0x150000, State 0x10000
"make.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 6"
« Last Edit: March 26, 2008, 09:11:55 am by Ghosthree3 »

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #67 on: March 26, 2008, 05:01:55 pm »
cygwin won't produce a useful windows executable, you need mingw/msys
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

Ghosthree3

  • Posts: 22
  • Turrets: +0/-0
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #68 on: March 26, 2008, 10:04:00 pm »
Wow that's scary because I just noticed yea it said cygwin in the error...but I don't use cygwin I have Msys and MinGW :-\

CreeDo

  • Posts: 35
  • Turrets: +1/-2
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #69 on: April 05, 2008, 04:12:08 am »


Is it possible to upload a compiled file o.O

I mean its so complicated to compile

I need some help on the Neros crazy mod for my server but cant compile.

nismo@nis.de

  • Posts: 18
  • Turrets: +2/-0
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #70 on: May 29, 2008, 05:16:56 pm »
If I run the tremulous.x86, I only see this on my screen:

« Last Edit: May 29, 2008, 05:20:09 pm by nismo@nis.de »
Sorry for my bad English ::)

UniqPhoeniX

  • Spam Killer
  • *
  • Posts: 1376
  • Turrets: +66/-32
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #71 on: June 09, 2008, 05:29:39 pm »
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)
Isn't it spsed to be C:\msys\home\User ?
For some reason using 'svn co svn://svn.icculus.org/tremulous/trunk Tremulous' worked only once for me, now I get 'svn' is not recognized as an internal or external command, operable program or batch file  ???
EDIT: nvm, it's cuz windows sux, a restart fixt it.
But how can I get lakitu's svn/whatever? EDIT: already got that too...
« Last Edit: June 09, 2008, 05:59:08 pm by UsaKilleR »

googles

  • Posts: 219
  • Turrets: +30/-19
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #72 on: June 09, 2008, 09:35:21 pm »
quick question, is it possible to keep the sdl and curl stuff client side? like in tjw's backport you are not required to have the sdl.dll to run trem, but when my friend compiles it he has to have either of those for it to work :\ anyway to stop that?

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #73 on: June 10, 2008, 03:28:56 am »
quick question, is it possible to keep the sdl and curl stuff client side? like in tjw's backport you are not required to have the sdl.dll to run trem, but when my friend compiles it he has to have either of those for it to work :\ anyway to stop that?
ioq3 has replaced the directinput and directsound code with sdl, no way around it other than using older clients.
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

DaylightDies

  • Posts: 57
  • Turrets: +2/-4
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #74 on: June 13, 2008, 01:11:28 am »
Code: [Select]
install -s -m 0755 build-mingw32-x86/q3lcc.exe ../
make[1]: execvp: install: Permission denied
make[1]: *** [install] Error 127
make[1]: Leaving directory `/home/John/Tremulous/src/tools/lcc'
make: *** [tools] Error 2

any ideas?

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #75 on: June 13, 2008, 12:58:36 pm »
Permission denied

Get permission.  Where are you trying to write to?  Either you need to be root or you borked your permissions or your doing something stupid.
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.

DaylightDies

  • Posts: 57
  • Turrets: +2/-4
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #76 on: June 24, 2008, 07:49:53 am »
//edit TY risijuin for ur leetness of a guide.

it was a problem with windows vista, and its really un-needed crappy security system that can be easily overrided.

http://downloads.sourceforge.net/mingw/coreutils-5.97-MSYS-1.0.11-snapshot.tar.bz2

fixed my problems.

just untar and replaces the bin folder.
« Last Edit: June 24, 2008, 08:02:02 am by DaylightDies »

Ytram

  • Posts: 65
  • Turrets: +3/-1
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #77 on: June 24, 2008, 10:38:03 am »
I've been trying to compile the tremulous client on windows with mingw and after it finishes i run tremulous.x86.exe and the console opens but it is blank and displays only three characters on the first line and after a few seconds it crashes. can anyone help? ???
« Last Edit: June 24, 2008, 11:09:01 am by Ytram »
- Insert Signature Here -

Lava Croft

  • Guest
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #78 on: June 24, 2008, 11:22:48 am »
Post your error, since nobody can help you like this.

Ytram

  • Posts: 65
  • Turrets: +3/-1
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #79 on: June 25, 2008, 07:21:34 am »
It looks like this:

Image Hosting
« Last Edit: June 25, 2008, 07:59:31 am by Ytram »
- Insert Signature Here -

temple

  • Posts: 534
  • Turrets: +37/-42
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #80 on: June 30, 2008, 07:26:43 pm »
Code: [Select]
1.1.0_SVN895 win_mingw-x86 Jun 30 2008
----- FS_Startup -----
Current search path:
C:\Users\Brian\AppData\Roaming\Tremulous/base
C:\MSys\Tremulous\build\release-mingw32-x86/base

----------------------
0 files in pk3 files
Couldn't load default.cfg


What do I do now?
If I have to apply a patch, can you explain.


Also thanks for this.  I really want to get involved on some level.


kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #81 on: June 30, 2008, 08:45:33 pm »
Code: [Select]
1.1.0_SVN895 win_mingw-x86 Jun 30 2008
----- FS_Startup -----
Current search path:
C:\Users\Brian\AppData\Roaming\Tremulous/base
C:\MSys\Tremulous\build\release-mingw32-x86/base

----------------------
0 files in pk3 files
Couldn't load default.cfg


What do I do now?
If I have to apply a patch, can you explain.


Also thanks for this.  I really want to get involved on some level.


first you run it from the tremulous install folder, it won't run from the folder you built it in, second you post the actual error that causes problems, not the non-fatal error.
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

temple

  • Posts: 534
  • Turrets: +37/-42
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #82 on: July 04, 2008, 12:20:43 am »
edit: I got it to work.


Now what, can I start modifying things?
« Last Edit: July 04, 2008, 02:30:49 am by temple »

UniqPhoeniX

  • Spam Killer
  • *
  • Posts: 1376
  • Turrets: +66/-32
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #83 on: July 04, 2008, 12:31:09 am »
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)
Isn't it spsed to be C:\msys\home\User ?
::)

Posts

  • Posts: 19
  • Turrets: +6/-2
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #84 on: September 01, 2008, 06:38:22 pm »
i followed it with r895, make had no errors

i copied the result on top of the 1.1.0 release, deleted vms-1.1.0.pk3 to resolve a conflict
(all files and folders from
C:\msys\1.0\home\user\Tremulous\build\release-mingw32-x86
to
C:\Program Files\Tremulous
)


tried to create a server from the in game gui, got the following error,
i successfully started a server with
tremulous.x86.exe" +set dedicated 1 +exec server.cfg
when i tried to connect to it i got the same error

Code: [Select]
Loading vm file vm/ui.qvm...
Failed
...
VM_Create on UI failed


C:\Program Files\Tremulous\base\vm\ui.qvm
and
C:\msys\1.0\home\user\Tremulous\build\release-mingw32-x86\base\vm\ui.qvm
does exist


edit: 5 days later i have my solution:
+set sv_pure 0 +set vm_cgame 0 +set vm_game 0 +set vm_ui 0




« Last Edit: September 07, 2008, 04:38:35 am by Posts »

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #85 on: October 03, 2008, 12:43:57 pm »
The SVN people now use MSI installers, so the file you want to download will be named something like: Setup-Subversion-1.5.2.en-us.msi
The exe files mentioned in the OP no longer exist.
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.

mathchamp

  • Posts: 26
  • Turrets: +5/-3
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #86 on: November 27, 2008, 02:37:18 am »
When I open msys.bat, it opens about 129 empty frozen windows, then they all close - nothing happens (vista 64bit). Help?

EDIT: Never Mind (not interested in modding anything anymore because of the sheer difficulty) but someone answer this anyway if possible in case someone else needs it.
« Last Edit: November 28, 2008, 12:23:13 am by mathchamp »
:overmind:

Spectre

  • Posts: 15
  • Turrets: +3/-1
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #87 on: April 10, 2009, 10:52:16 am »
I have the same problem. Vista ultimate 64bit, I even tried to run in windows XP Compatible mode - didn't help. But if I run under administrator, console output is:

Code: [Select]
Cannot find the rxvt.exe or sh.exe binary -- aborting.So I don't understand what to do now...
« Last Edit: April 10, 2009, 11:05:42 am by Spectre »
If you really want something, do it yourself.

danmal

  • Posts: 244
  • Turrets: +21/-6
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #88 on: May 16, 2009, 11:33:11 am »
Please note that this thread fixes the problem with Windows Vista 64bit. Perhaps an update is needed to the main post?

danmal

  • Posts: 244
  • Turrets: +21/-6
Re: The short and sweet guide to compiling SVN 895 on Windows
« Reply #89 on: June 10, 2009, 12:20:37 pm »
Please also note that this thread fixes another problem with windows vista 64 bit.