News:

Come Chat with us live! Learn how HERE!

Main Menu

The short and sweet guide to compiling SVN 895 on Windows

Started by Risujin, January 28, 2007, 05:38:52 AM

n.o.s.brain

#60
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...

lizards160

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

a tremulous executable built with cygwin is almost useless.
Quote from: Asvarox link=topic=8622.msg169333#msg169333Ok 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

What do you need to do differentially to make an usable executable that you can play using?

Superpie

Quote from: tyranis 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?
Where is the good in goodbye? -Meredith Willson

MartinX3

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

#66
Quote from: Risujin on January 28, 2007, 05:38:52 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:
Quote from: Risujin on January 28, 2007, 05:38:52 AM

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"

kevlarman

cygwin won't produce a useful windows executable, you need mingw/msys
Quote from: Asvarox link=topic=8622.msg169333#msg169333Ok 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

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



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

#70
If I run the tremulous.x86, I only see this on my screen:

Sorry for my bad English ::)

UniqPhoeniX

#71
Quote from: Risujin on January 28, 2007, 05:38:52 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 ?
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...

googles

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

Quote from: googles 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?
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#msg169333Ok 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

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

Quote from: DaylightDies on June 13, 2008, 01:11:28 AMPermission 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

#76
//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.

Ytram

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? ???
- Insert Signature Here -

Lava Croft

Post your error, since nobody can help you like this.

Ytram

It looks like this:

Image Hosting
- Insert Signature Here -

temple

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

Quote from: temple on June 30, 2008, 07:26:43 PM
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#msg169333Ok 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

edit: I got it to work.


Now what, can I start modifying things?

UniqPhoeniX

Quote from: UsaKilleR on June 09, 2008, 05:29:39 PM
Quote from: Risujin on January 28, 2007, 05:38:52 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

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

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





David

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

#86
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.
:overmind:

Spectre

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:

Cannot find the rxvt.exe or sh.exe binary -- aborting.
So I don't understand what to do now...
If you really want something, do it yourself.

danmal

Please note that this thread fixes the problem with Windows Vista 64bit. Perhaps an update is needed to the main post?

danmal

Please also note that this thread fixes another problem with windows vista 64 bit.