Tremulous Forum
Mods => Modding Center => Topic started by: Stealthawk on October 09, 2008, 01:59:36 am
-
cmdlib.c: In function ‘_printf’:
cmdlib.c:189: error: format not a string literal and no format arguments
cmdlib.c: In function ‘ExpandPath’:
cmdlib.c:316: error: the address of ‘qdir’ will always evaluate as ‘true’
cmdlib.c: In function ‘ExpandGamePath’:
cmdlib.c:329: error: the address of ‘qdir’ will always evaluate as ‘true’
make[1]: *** [q3asm] Error 1
make[1]: Leaving directory `/home/stephan/Desktop/tremulous-1.1.0-src/src/tools/asm'
make: *** [tools] Error 2
Now I'm on ubuntu linux, 32 bit not my 64 bit machine.
IS the makefile that came with my source not written correctly or is the code its self wrong? I looked at those lines and they seem fine to me, so im wondering how to fix it so can compile trem.
-
gcc seems to be having trouble with one of the QVM minicompilers. What version and what Tremulous source revision?
-
tremulous-1.1.0 I got it stright from the website of the developers.
Thing is the source game with the game, so that is the source I'm using.
also if u have any good posts or resources regarding working with Tremulous be greatly appericated =)
-
Eh... Don't use the source that comes with it. It's really, really old. To get some recent code, install Subversion (http://subversion.tigris.org/) and exec the following:
svn co svn://svn.icculus.org/tremulous/trunk tremulous-svn
-
Edit src/tools/asm/Makefile, remove "-Werror"
-
Thank you, now I must ask, I have another question.
Finally I have a binary now, I placed it my local area, however it doesnt load up, it goes black screen then comes back.
Im on linux,
do I have to change some base files or ?
PIXELFORMAT: color(32-bits) Z(24-bit) stencil(0-bits)
MODE: 640 x 480 fullscreen hz:N/A
GAMMA: hardware w/ 0 overbright bits
rendering primitives: single glDrawElements
texturemode: GL_LINEAR_MIPMAP_LINEAR
picmip: 0
texture bits: 32
multitexture: enabled
compiled vertex arrays: enabled
texenv add: disabled
compressed textures: disabled
Initializing Shaders
----- finished R_Init -----
Loading vm file vm/ui.qvm...
...which has vmMagic VM_MAGIC_VER2
Loading 1075 jump table targets
VM file ui compiled to 786313 bytes of code
ui loaded in 4596672 bytes on the hunk
Unknown extension for ui/menus.txt
^3WARNING: couldn't open music file ui/menus.txt
----- CL_Shutdown -----
Closing SDL audio device...
SDL audio device shut down.
RE_Shutdown( 1 )
forcefully unloading ui vm
-----------------------
recursive error after: ^3menu file not found: ui/menus.txt, using default
-
Found out why.
http://risujin.org/tremulous/#g7
sorry for wasting your guy's time but thanks for the help you have given =D
-
It's okay. We appreciate your patience and willingness to learn. (Yes, I really mean that.)