1 (edited by [InNeVe-Leader]Markus 2009-07-25 16:00:11)

Topic: [HELP] Question about compiling

Hey,
I have a question
I wanted to compile new teeworlds 0.5.2 (beta version) and I have suse linux 11.1

with compile bam i get this error:

linux-6epi: / home/markus/Documents/teeworlds/bam #. / make_unix.sh
/tmp/cckbjmQA.o: In function 'os_tmpname':
loslib.c: (. text+0x3e): warning: the use of 'tmpnam' is dangerous, better use 'mkstemp'
linux-6epi: / home/markus/Documents/teeworlds/bam #

because I did not can handle this error I continued. the rest has functioned without errors
but when I start teeworlds then i dont see the fonts!?

I think this error is because bam

by compiling teeworlds i get this:

linux-6epi:/home/markus/Documents/teeworlds/trunk # ../bam/src/bam release                 
--- Auto Configuration ---                                                                 
compiler: gcc                                                                              
stackprotector: yes                                                                        
zlib: (in system path)                                                                     
sdl: using sdl-config                                                                      
saving configuration to 'config.bam'                                                       
---                                                                                        
bam: building 'release'                                                                    
[  1/126] #1 c src/base/system.c                                                           
[  2/126] #1 c src/engine/e_network_server.c                                               
[  3/126] #1 c src/engine/e_keynames.c                                                     
[  4/126] #1 c src/engine/e_compression.c                                                  
[  5/126] #1 c src/engine/e_console.c                                                      
[  6/126] #1 c src/engine/e_network_client.c                                               
[  7/126] #1 c src/engine/e_engine.c                                                       
src/engine/e_engine.c: In Function »engine_config_write_start«:                            
src/engine/e_engine.c:249: Warning: call to function »config_save« without a real prototype
src/engine/e_config.h:22: Annotation: »config_save« was here declared              
[  8/126] #1 c src/engine/e_huffman.c                                                      
[  9/126] #1 c src/engine/e_demorec.c                                                      
[ 10/126] #1 c src/engine/e_jobs.c                                                         
[ 11/126] #1 c src/engine/e_ringbuffer.c                                                   
[ 12/126] #1 c src/engine/e_memheap.c                                                      
[ 13/126] #1 c src/engine/e_network.c                                                      
[ 14/126] #1 c src/engine/e_msg.c                                                          
[ 15/126] #1 c src/engine/e_map.c                                                          
[ 16/126] #1 c src/engine/e_packer.c                                                       
[ 17/126] #1 c src/engine/e_network_conn.c                                                 
[ 18/126] #1 c src/engine/e_linereader.c                                                   
[ 19/126] #1 c src/engine/e_snapshot.c                                                     
[ 20/126] #1 c src/engine/e_config.c                                                       
[ 21/126] #1 c src/engine/e_datafile.c                                                     
[ 22/126] #1 c src/tools/tileset_borderfix.c                                               
In file included from src/tools/tileset_borderfix.c:3:                                     
src/tools/../engine/external/pnglite/pnglite.c: In Function »png_init«:                    
src/tools/../engine/external/pnglite/pnglite.c:116: Warning: Allocation of incompatible pointer type
[ 23/126] #1 link tileset_borderfix                                                               
[ 24/126] #1 c src/tools/map_resave.c                                                             
[ 25/126] #1 link map_resave                                                                      
[ 26/126] #1 c src/tools/packetgen.c                                                              
[ 27/126] #1 link packetgen                                                                       
[ 28/126] #1 c src/tools/fake_server.c                                                            
[ 29/126] #1 link fake_server                                                                     
[ 30/126] #1 c src/tools/dilate.c                                                                 
In file included from src/tools/dilate.c:3:                                                       
src/tools/../engine/external/pnglite/pnglite.c: In Function »png_init«:                           
src/tools/../engine/external/pnglite/pnglite.c:116: Warning: Allocation of incompatible pointer type
[ 31/126] #1 link dilate                                                                          
[ 32/126] #1 c++ src/tools/crapnet.cpp                                                            
[ 33/126] #1 link crapnet                                                                         
[ 34/126] #1 c++ src/mastersrv/mastersrv.cpp                                                      
[ 35/126] #1 link mastersrv                                                                       
[ 36/126] #1 c++ src/versionsrv/versionsrv.cpp                                                    
[ 37/126] #1 link versionsrv                                                                      
[ 38/126] #1 server_content_header > src/game/generated/gs_data.hpp                               
[ 39/126] #1 server_content_source > src/game/generated/gs_data.cpp                               
[ 40/126] #1 c++ src/game/generated/gs_data.cpp                                                   
[ 41/126] #1 network_header > src/game/generated/g_protocol.hpp                                   
[ 42/126] #1 c++ src/game/server/entity.cpp                                                       
[ 43/126] #1 c++ src/game/server/gameworld.cpp                                                    
[ 44/126] #1 c++ src/game/server/gamemodes/mod.cpp                                                
[ 45/126] #1 c++ src/game/server/gamemodes/ctf.cpp                                                
[ 46/126] #1 c++ src/game/server/gamemodes/tdm.cpp                                                
[ 47/126] #1 c++ src/game/server/gamemodes/dm.cpp                                                 
[ 48/126] #1 c++ src/game/server/eventhandler.cpp                                                 
[ 49/126] #1 c++ src/game/server/entities/pickup.cpp                                              
[ 50/126] #1 c++ src/game/server/entities/laser.cpp                                               
[ 51/126] #1 c++ src/game/server/entities/projectile.cpp                                          
[ 52/126] #1 c++ src/game/server/entities/character.cpp                                           
[ 53/126] #1 c++ src/game/server/gamecontext.cpp                                                  
[ 54/126] #1 c++ src/game/server/gamecontroller.cpp                                               
[ 55/126] #1 c++ src/game/server/player.cpp                                                       
[ 56/126] #1 cmd5 src/game/generated/nethash.c                                                    
[ 57/126] #1 c++ src/game/server/hooks.cpp                                                        
[ 58/126] #1 network_source > src/game/generated/g_protocol.cpp                                   
[ 59/126] #1 c++ src/game/generated/g_protocol.cpp                                                
[ 60/126] #1 c src/game/generated/nethash.c                                                       
[ 61/126] #1 c++ src/game/layers.cpp                                                              
[ 62/126] #1 c++ src/game/gamecore.cpp                                                            
[ 63/126] #1 c++ src/game/collision.cpp                                                           
[ 64/126] #1 c++ src/game/localization.cpp                                                        
[ 65/126] #1 c src/engine/server/es_register.c                                                    
[ 66/126] #1 c src/engine/server/es_server.c                                                      
[ 67/126] #1 link teeworlds_srv                                                                   
[ 68/126] #1 c src/engine/external/wavpack/wputils.c                                              
[ 69/126] #1 c src/engine/external/wavpack/metadata.c                                             
[ 70/126] #1 c src/engine/external/wavpack/words.c                                                
[ 71/126] #1 c src/engine/external/wavpack/unpack.c                                               
[ 72/126] #1 c src/engine/external/wavpack/float.c                                                
[ 73/126] #1 c src/engine/external/wavpack/bits.c                                                 
[ 74/126] #1 c src/engine/external/pnglite/pnglite.c                                              
src/engine/external/pnglite/pnglite.c: In Function »png_init«:                                    
src/engine/external/pnglite/pnglite.c:116: Warning: Allocation of incompatible pointer type       
[ 75/126] #1 client_content_header > src/game/generated/gc_data.hpp                               
[ 76/126] #1 c++ src/game/editor/ed_layer_quads.cpp                                               
[ 77/126] #1 c++ src/game/editor/ed_layer_game.cpp                                                
[ 78/126] #1 c++ src/game/editor/ed_popups.cpp                                                    
[ 79/126] #1 c++ src/game/editor/ed_io.cpp                                                        
[ 80/126] #1 c++ src/game/editor/ed_layer_tiles.cpp                                               
[ 81/126] #1 c++ src/game/editor/ed_editor.cpp                                                    
[ 82/126] #1 c src/engine/client/ec_client.c                                                      
src/engine/client/ec_client.c: In Function »client_run«:                                          
src/engine/client/ec_client.c:1844: Warnung: call to function »perf_dump« without a real prototype
src/engine/e_if_other.h:72: Annotation: »perf_dump« was here declared                          
[ 83/126] #1 c src/engine/client/ec_gfx.c                                                         
[ 84/126] #1 c src/engine/client/ec_srvbrowse.c                                                   
[ 85/126] #1 c src/engine/client/ec_inp.c                                                         
[ 86/126] #1 c src/engine/client/ec_gfx_text.c                                                    
[ 87/126] #1 c src/engine/client/ec_snd.c                                                         
[ 88/126] #1 client_content_source > src/game/generated/gc_data.cpp                               
[ 89/126] #1 c++ src/game/generated/gc_data.cpp                                                   
[ 90/126] #1 c++ src/game/client/lineinput.cpp                                                    
[ 91/126] #1 c++ src/game/client/render.cpp                                                       
[ 92/126] #1 c++ src/game/client/components/particles.cpp                                         
[ 93/126] #1 c++ src/game/client/components/broadcast.cpp                                         
[ 94/126] #1 c++ src/game/client/components/scoreboard.cpp                                        
[ 95/126] #1 c++ src/game/client/components/killmessages.cpp                                      
[ 96/126] #1 c++ src/game/client/components/debughud.cpp                                          
[ 97/126] #1 c++ src/game/client/components/motd.cpp                                              
[ 98/126] #1 c++ src/game/client/components/nameplates.cpp
[ 99/126] #1 c++ src/game/client/components/menus_ingame.cpp
[100/126] #1 c++ src/game/client/components/voting.cpp
[101/126] #1 c++ src/game/client/components/camera.cpp
[102/126] #1 c++ src/game/client/components/players.cpp
[103/126] #1 c++ src/game/client/components/controls.cpp
[104/126] #1 c++ src/game/client/components/chat.cpp
[105/126] #1 c++ src/game/client/components/items.cpp
[106/126] #1 c++ src/game/client/components/menus_demo.cpp
[107/126] #1 c++ src/game/client/components/menus_settings.cpp
[108/126] #1 c++ src/game/client/components/hud.cpp
[109/126] #1 c++ src/game/client/components/menus.cpp
[110/126] #1 c++ src/game/client/components/mapimages.cpp
[111/126] #1 c++ src/game/client/components/menus_browser.cpp
[112/126] #1 c++ src/game/client/components/effects.cpp
[113/126] #1 c++ src/game/client/components/sounds.cpp
[114/126] #1 c++ src/game/client/components/binds.cpp
[115/126] #1 c++ src/game/client/components/damageind.cpp
[116/126] #1 c++ src/game/client/components/flow.cpp
[117/126] #1 c++ src/game/client/components/console.cpp
[118/126] #1 c++ src/game/client/components/maplayers.cpp
[119/126] #1 c++ src/game/client/components/emoticon.cpp
[120/126] #1 c++ src/game/client/components/skins.cpp
[121/126] #1 c++ src/game/client/animstate.cpp
[122/126] #1 c++ src/game/client/gameclient.cpp
[123/126] #1 c++ src/game/client/render_map.cpp
[124/126] #1 c++ src/game/client/ui.cpp
[125/126] #1 c++ src/game/client/clienthooks.cpp
[126/126] #1 link teeworlds
bam: done
linux-6epi:/home/markus/Documents/teeworlds/trunk #

is all ok?

and so it looks in teeworlds:

Screenshot

have somebody an answer?

Thank you in advance!

Markus

Merged double posts // ~{MS}~ Azon

2

Re: [HELP] Question about compiling

1. Don't double/triple post. Use the Edit-function!
2. Seems like you didn't start the game from its own directory.
Change into the directory where the executable is and start it with ./teeworlds

aka cheesy

3 (edited by Kottizen 2009-07-26 08:09:48)

Re: [HELP] Question about compiling

You have to use the old bam for the old version.

EDIT: Whops, failread tongue

4 (edited by Slinack 2009-07-25 22:58:29)

Re: [HELP] Question about compiling

Kottizen wrote:

You have to use the old bam for the old version.

[InNeVe-Leader]Markus wrote:

I wanted to compile new teeworlds 0.5.2 (beta version)

"Let's read the post first... wink"

check out these maps: infiltrate - choco - dustycloud

5

Re: [HELP] Question about compiling

grummi wrote:

1. Don't double/triple post. Use the Edit-function!
2. Seems like you didn't start the game from its own directory.
Change into the directory where the executable is and start it with ./teeworlds

1. yes sry
2.  i have all in one directory
3. it works! but why it dont work if i strat it with a klick from the datamanager (explorer)

what can i delete now?
i have
data(folder), datasrc(folder), docs(folder), objs(folder), other(folder), scripts(folder), src(folder), config.bam, crapnet, default.bam, dilate, fake_server, license.txt, map_resave, mastersrv, packetgen, readme.txt, teeworlds, teeworlds_srv, tileset_borderfix, versionsrv

so what can i delete or what needed to play teeworlds

Markus

6

Re: [HELP] Question about compiling

you need data(folder) and teeworlds
if you want, you can let teeworlds_srv too

these come inside the compiled version for windows (:

check out these maps: infiltrate - choco - dustycloud

7

Re: [HELP] Question about compiling

ok thanks