Tremulous Forum

General => General Discussion => Topic started by: whitebear on September 04, 2006, 05:39:56 am

Title: Tremulous C++ Compile/Build help!
Post by: whitebear on September 04, 2006, 05:39:56 am
I modyfyed the source code to test how it works but now i need some help.

I can't seem to find the right file to comply. All help welcome.
Title: Re: Tremulous C++ Compile/Build help!
Post by: kevlarman on September 04, 2006, 06:55:25 am
Quote from: "whitebear"
I modyfyed the source code to test how it works but now i need some help.

I can't seem to find the right file to comply. All help welcome.
first of all, there isn't a single line of C++ in tremulous. second of all, compile != comply. and third of all, you need to be more specific, your post contains no useful information (useful information includes your OS, what the error you get is, etc), so unless we can read your mind, we can't really help you.
Title: Tremulous C++ Compile/Build help!
Post by: whitebear on September 04, 2006, 08:14:45 am
VC++ then? It's not that i would have problem with errors but i can't find the right file to start compile.

Someone should make tutorial "How to compile trem source code" that would include and free available resources needed.
Title: Tremulous C++ Compile/Build help!
Post by: vcxzet on September 04, 2006, 08:43:50 am
Quote from: "whitebear"
VC++ then? It's not that i would have problem with errors but i can't find the right file to start compile.

Someone should make tutorial "How to compile trem source code" that would include and free available resources needed.

there is no vc solution file for trem get one from icculus modify it a little bit
Title: Tremulous C++ Compile/Build help!
Post by: next_ghost on September 04, 2006, 09:06:42 am
Grab Dev-C++ (http://www.bloodshed.net/dev/) and simply import the Makefile.
Title: Tremulous C++ Compile/Build help!
Post by: David on September 04, 2006, 10:30:51 am
just run make in the folder.
Title: Tremulous C++ Compile/Build help!
Post by: next_ghost on September 04, 2006, 11:05:40 am
Quote from: "David"
just run make in the folder.


You need properly installed MinGW to do that on Windoze. You don't get one with M$ VC.
Title: Tremulous C++ Compile/Build help!
Post by: vcxzet on September 04, 2006, 11:18:25 am
Quote from: "next_ghost"
Quote from: "David"
just run make in the folder.


You need properly installed MinGW to do that on Windoze. You don't get one with M$ VC.

not just mingw
http://svn.icculus.org/*checkout*/quake3/trunk/README
but once you did everything everything works fine
Title: Tremulous C++ Compile/Build help!
Post by: whitebear on September 04, 2006, 04:28:27 pm
Code: [Select]
jw@AMD /c/test/trem
$ mingw32-make
mingw32-make -C src/tools/lcc install
mingw32-make[1]: Entering directory `/c/test/trem/src/tools/lcc'
gcc -O2 -Wall -fno-strict-aliasing -MMD -DTEMPDIR=\"/tmp\" -DSYSTEM=\"\" -c -Isrc -o build-mingw32-x86/etc/lcc.o etc/lcc.c
gcc.exe: installation problem, cannot exec `as': No such file or directory
mingw32-make[1]: *** [build-mingw32-x86/etc/lcc.o] Error 1
mingw32-make[1]: Leaving directory `/c/test/trem/src/tools/lcc'
mingw32-make: *** [tools] Error 2


got this from msys
Title: Tremulous C++ Compile/Build help!
Post by: next_ghost on September 04, 2006, 05:21:08 pm
Quote from: "whitebear"
Code: [Select]
jw@AMD /c/test/trem
$ mingw32-make
mingw32-make -C src/tools/lcc install
mingw32-make[1]: Entering directory `/c/test/trem/src/tools/lcc'
gcc -O2 -Wall -fno-strict-aliasing -MMD -DTEMPDIR=\"/tmp\" -DSYSTEM=\"\" -c -Isrc -o build-mingw32-x86/etc/lcc.o etc/lcc.c
gcc.exe: installation problem, cannot exec `as': No such file or directory
mingw32-make[1]: *** [build-mingw32-x86/etc/lcc.o] Error 1
mingw32-make[1]: Leaving directory `/c/test/trem/src/tools/lcc'
mingw32-make: *** [tools] Error 2


got this from msys


GCC can't find assembler (as), install it first.