1 (edited by riccardo 2012-08-31 20:57:01)

Topic: Raspberry Pi client compile problem - Debian Linux (Wheezy)

Hi

I am currently tring to build Teeworlds on the Raspberry Pi. It has Debian Wheezy running with around 192MB of ram for apps.

The server is running fine and it's able to support at least 6 players.

My problem is trying to get the client to compile. I think I am getting errors relating to SDL / OpenGL libs not being found. See error messages below:

 ../bam-0.4.0/bam release
[1/4] #1 c++ src/engine/client/sound.cpp
src/engine/client/sound.cpp:8:17: fatal error: SDL.h: No such file or directory
compilation terminated.
bam: 'objs/engine/client/sound.o' error 256
[2/4] #1 c++ src/engine/client/graphics.cpp
src/engine/client/graphics.cpp:7:17: fatal error: SDL.h: No such file or directory
compilation terminated.
bam: 'objs/engine/client/graphics.o' error 256
[3/4] #1 c++ src/engine/client/input.cpp
src/engine/client/input.cpp:3:17: fatal error: SDL.h: No such file or directory
compilation terminated.
bam: 'objs/engine/client/input.o' error 256
bam: error: a build step failed

I've done a locate on "sound.o" but nothing is found on my system.
locate for graphics.cpp gives:

/home/pi/games/teeworlds/teeworlds/src/engine/client/graphics.cpp

...and locate for input.o gives /home/pi/games/teeworlds/teeworlds/objs/game/client/lineinput.o
which looks to me like its not on my system.

if I do a locate for SDL.h I get:

/home/pi/games/teeworlds/SDL-1.2.15/include/SDL.h
/home/pi/games/teeworlds/teeworlds/other/sdl/include/SDL.h
/usr/local/include/SDL/SDL.h

...doing a locate for something like gl.h gives the follwing:

/home/pi/games/teeworlds/SDL-1.2.15/docs/html/guidevideoopengl.html
/home/pi/games/teeworlds/SDL-1.2.15/include/SDL_opengl.h
/home/pi/games/teeworlds/SDL-1.2.15/src/video/photon/SDL_ph_gl.h
/home/pi/games/teeworlds/teeworlds/other/sdl/include/SDL_opengl.h
/opt/vc/include/EGL/egl.h
/opt/vc/include/GLES/gl.h
/usr/include/GL/gl.h
/usr/include/python2.6/pygame/pgopengl.h
/usr/include/python2.7/pygame/pgopengl.h
/usr/local/include/SDL/GL/gl.h (as a kludge, I think I copied this here to help it build)
/usr/local/include/SDL/SDL_opengl.h

My questions are:

1) How do I include the correct paths for OpenGL and SDL in the build process because I had to kludge this part and copy files?
2) How can I fix the problem listed above where the three errors are being kicked up?

I would be really great to get Teeworlds working on the Raspberry Pi so any help is appreciated.

All the best

Richard

2

Re: Raspberry Pi client compile problem - Debian Linux (Wheezy)

did u try:

apt-get install libsdl1.2-dev

?

uptee - a simple web interface for hosting and maintaining teeworlds servers
teerace - a website gathering results of trusted Race-mod servers providing global ranking and statistics
*gV* rox ^^

3

Re: Raspberry Pi client compile problem - Debian Linux (Wheezy)

Hi

Thanks for the suggestion. I installed libsdl1.2-dev as you suggested but I am still getting the errors below:

../bam-0.4.0/bam release
[1/4] #1 c++ src/engine/client/sound.cpp
src/engine/client/sound.cpp:8:17: fatal error: SDL.h: No such file or directory
compilation terminated.
bam: 'objs/engine/client/sound.o' error 256
[2/4] #1 c++ src/engine/client/graphics.cpp
src/engine/client/graphics.cpp:7:17: fatal error: SDL.h: No such file or directory
compilation terminated.
bam: 'objs/engine/client/graphics.o' error 256
[3/4] #1 c++ src/engine/client/input.cpp
src/engine/client/input.cpp:3:17: fatal error: SDL.h: No such file or directory
compilation terminated.
bam: 'objs/engine/client/input.o' error 256
bam: error: a build step failed

Any other suggestions gratefully received.

Best

Richard

Code block added // heinrich5991

4

Re: Raspberry Pi client compile problem - Debian Linux (Wheezy)

apt-get install python build-essentials
../bam-0.4.0/bam -c all
../bam-0.4.0/bam release

Btw if you would compile everything you should even check other packages: https://www.teeworlds.com/?page=docs&am … Everything

5

Re: Raspberry Pi client compile problem - Debian Linux (Wheezy)

Thanks Mo2.

I'll try these early next week because my Raspberry Pi is now heading to the USA. New one arrives Monday.
After doing "apt-get install libsdl1.2-dev" as suggested above by Sushi Tee, I created a new directory with new clean bam and teeworlds source. It changed the errors quite a bit. See below:

[129/149] #1 c++ src/engine/client/text.cpp
In file included from src/engine/client/text.cpp:17:0:
/usr/local/include/SDL/GL/glu.h:300:54: error: âGLdoubleâ has not been declared
/usr/local/include/SDL/GL/glu.h:300:69: error: âGLdoubleâ has not been declared
/usr/local/include/SDL/GL/glu.h:300:83: error: âGLdoubleâ has not been declared
/usr/local/include/SDL/GL/glu.h:304:50: error: âGLdoubleâ has not been declared
/usr/local/include/SDL/GL/glu.h:304:66: error: âGLdoubleâ has not been declared
/usr/local/include/SDL/GL/glu.h:312:78: error: âGLdoubleâ has not been declared
/usr/local/include/SDL/GL/glu.h:314:34: error: variable or field âgluLookAtâ declared void
/usr/local/include/SDL/GL/glu.h:314:34: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:314:49: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:314:64: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:314:79: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:314:97: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:314:115: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:314:133: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:314:147: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:314:161: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:325:35: error: variable or field âgluOrtho2Dâ declared void
/usr/local/include/SDL/GL/glu.h:325:35: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:325:50: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:325:66: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:325:83: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:326:57: error: âGLdoubleâ has not been declared
/usr/local/include/SDL/GL/glu.h:326:73: error: âGLdoubleâ has not been declared
/usr/local/include/SDL/GL/glu.h:326:116: error: âGLdoubleâ has not been declared
/usr/local/include/SDL/GL/glu.h:326:132: error: âGLdoubleâ has not been declared
/usr/local/include/SDL/GL/glu.h:327:39: error: variable or field âgluPerspectiveâ declared void
/usr/local/include/SDL/GL/glu.h:327:39: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:327:54: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:327:71: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:327:87: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:328:38: error: variable or field âgluPickMatrixâ declared void
/usr/local/include/SDL/GL/glu.h:328:38: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:328:50: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:328:62: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:328:77: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:328:98: error: expected primary-expression before â*â token
/usr/local/include/SDL/GL/glu.h:328:99: error: âviewportâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:329:36: warning: âgluProjectâ initialized and declared âexternâ [enabled by default]
/usr/local/include/SDL/GL/glu.h:329:36: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:329:51: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:329:66: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:329:81: error: expected primary-expression before âconstâ
/usr/local/include/SDL/GL/glu.h:329:104: error: expected primary-expression before âconstâ
/usr/local/include/SDL/GL/glu.h:329:126: error: expected primary-expression before âconstâ
/usr/local/include/SDL/GL/glu.h:329:145: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:329:155: error: âwinXâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:329:161: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:329:171: error: âwinYâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:329:177: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:329:187: error: âwinZâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:329:191: error: expression list treated as compound expression in initializer [-fpermissive]
/usr/local/include/SDL/GL/glu.h:337:52: error: âGLdoubleâ has not been declared
/usr/local/include/SDL/GL/glu.h:343:59: error: âGLdoubleâ has not been declared
/usr/local/include/SDL/GL/glu.h:343:76: error: âGLdoubleâ has not been declared
/usr/local/include/SDL/GL/glu.h:343:93: error: âGLdoubleâ has not been declared
/usr/local/include/SDL/GL/glu.h:344:75: error: âGLdoubleâ has not been declared
/usr/local/include/SDL/GL/glu.h:345:59: error: âGLdoubleâ has not been declared
/usr/local/include/SDL/GL/glu.h:346:38: warning: âgluUnProjectâ initialized and declared âexternâ [enabled by default]
/usr/local/include/SDL/GL/glu.h:346:38: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:346:53: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:346:68: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:346:83: error: expected primary-expression before âconstâ
/usr/local/include/SDL/GL/glu.h:346:106: error: expected primary-expression before âconstâ
/usr/local/include/SDL/GL/glu.h:346:128: error: expected primary-expression before âconstâ
/usr/local/include/SDL/GL/glu.h:346:147: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:346:157: error: âobjXâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:346:163: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:346:173: error: âobjYâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:346:179: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:346:189: error: âobjZâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:346:193: error: expression list treated as compound expression in initializer [-fpermissive]
/usr/local/include/SDL/GL/glu.h:347:39: warning: âgluUnProject4â initialized and declared âexternâ [enabled by default]
/usr/local/include/SDL/GL/glu.h:347:39: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:347:54: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:347:69: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:347:84: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:347:100: error: expected primary-expression before âconstâ
/usr/local/include/SDL/GL/glu.h:347:123: error: expected primary-expression before âconstâ
/usr/local/include/SDL/GL/glu.h:347:145: error: expected primary-expression before âconstâ
/usr/local/include/SDL/GL/glu.h:347:164: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:347:182: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:347:199: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:347:209: error: âobjXâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:347:215: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:347:225: error: âobjYâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:347:231: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:347:241: error: âobjZâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:347:247: error: âGLdoubleâ was not declared in this scope
In file included from src/engine/client/text.cpp:17:0:
/usr/local/include/SDL/GL/glu.h:347:257: error: âobjWâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:347:261: error: expression list treated as compound expression in initializer [-fpermissive]
bam: 'objs/engine/client/text.o' error 256
[130/149] #1 c++ src/engine/client/sound.cpp
[131/149] #1 c++ src/engine/client/graphics.cpp
In file included from src/engine/client/graphics.cpp:19:0:
/usr/local/include/SDL/GL/glu.h:300:54: error: âGLdoubleâ has not been declared
/usr/local/include/SDL/GL/glu.h:300:69: error: âGLdoubleâ has not been declared
/usr/local/include/SDL/GL/glu.h:300:83: error: âGLdoubleâ has not been declared
/usr/local/include/SDL/GL/glu.h:304:50: error: âGLdoubleâ has not been declared
/usr/local/include/SDL/GL/glu.h:304:66: error: âGLdoubleâ has not been declared
/usr/local/include/SDL/GL/glu.h:312:78: error: âGLdoubleâ has not been declared
/usr/local/include/SDL/GL/glu.h:314:34: error: variable or field âgluLookAtâ declared void
/usr/local/include/SDL/GL/glu.h:314:34: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:314:49: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:314:64: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:314:79: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:314:97: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:314:115: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:314:133: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:314:147: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:314:161: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:325:35: error: variable or field âgluOrtho2Dâ declared void
/usr/local/include/SDL/GL/glu.h:325:35: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:325:50: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:325:66: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:325:83: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:326:57: error: âGLdoubleâ has not been declared
/usr/local/include/SDL/GL/glu.h:326:73: error: âGLdoubleâ has not been declared
/usr/local/include/SDL/GL/glu.h:326:116: error: âGLdoubleâ has not been declared
/usr/local/include/SDL/GL/glu.h:326:132: error: âGLdoubleâ has not been declared
/usr/local/include/SDL/GL/glu.h:327:39: error: variable or field âgluPerspectiveâ declared void
/usr/local/include/SDL/GL/glu.h:327:39: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:327:54: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:327:71: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:327:87: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:328:38: error: variable or field âgluPickMatrixâ declared void
/usr/local/include/SDL/GL/glu.h:328:38: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:328:50: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:328:62: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:328:77: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:328:98: error: expected primary-expression before â*â token
/usr/local/include/SDL/GL/glu.h:328:99: error: âviewportâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:329:36: warning: âgluProjectâ initialized and declared âexternâ [enabled by default]
/usr/local/include/SDL/GL/glu.h:329:36: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:329:51: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:329:66: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:329:81: error: expected primary-expression before âconstâ
/usr/local/include/SDL/GL/glu.h:329:104: error: expected primary-expression before âconstâ
/usr/local/include/SDL/GL/glu.h:329:126: error: expected primary-expression before âconstâ
/usr/local/include/SDL/GL/glu.h:329:145: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:329:155: error: âwinXâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:329:161: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:329:171: error: âwinYâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:329:177: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:329:187: error: âwinZâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:329:191: error: expression list treated as compound expression in initializer [-fpermissive]
/usr/local/include/SDL/GL/glu.h:337:52: error: âGLdoubleâ has not been declared
/usr/local/include/SDL/GL/glu.h:343:59: error: âGLdoubleâ has not been declared
/usr/local/include/SDL/GL/glu.h:343:76: error: âGLdoubleâ has not been declared
/usr/local/include/SDL/GL/glu.h:343:93: error: âGLdoubleâ has not been declared
/usr/local/include/SDL/GL/glu.h:344:75: error: âGLdoubleâ has not been declared
/usr/local/include/SDL/GL/glu.h:345:59: error: âGLdoubleâ has not been declared
/usr/local/include/SDL/GL/glu.h:346:38: warning: âgluUnProjectâ initialized and declared âexternâ [enabled by default]
/usr/local/include/SDL/GL/glu.h:346:38: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:346:53: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:346:68: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:346:83: error: expected primary-expression before âconstâ
/usr/local/include/SDL/GL/glu.h:346:106: error: expected primary-expression before âconstâ
/usr/local/include/SDL/GL/glu.h:346:128: error: expected primary-expression before âconstâ
/usr/local/include/SDL/GL/glu.h:346:147: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:346:157: error: âobjXâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:346:163: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:346:173: error: âobjYâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:346:179: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:346:189: error: âobjZâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:346:193: error: expression list treated as compound expression in initializer [-fpermissive]
/usr/local/include/SDL/GL/glu.h:347:39: warning: âgluUnProject4â initialized and declared âexternâ [enabled by default]
/usr/local/include/SDL/GL/glu.h:347:39: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:347:54: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:347:69: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:347:84: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:347:100: error: expected primary-expression before âconstâ
/usr/local/include/SDL/GL/glu.h:347:123: error: expected primary-expression before âconstâ
/usr/local/include/SDL/GL/glu.h:347:145: error: expected primary-expression before âconstâ
/usr/local/include/SDL/GL/glu.h:347:164: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:347:182: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:347:199: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:347:209: error: âobjXâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:347:215: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:347:225: error: âobjYâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:347:231: error: âGLdoubleâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:347:241: error: âobjZâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:347:247: error: âGLdoubleâ was not declared in this scope
In file included from src/engine/client/graphics.cpp:19:0:
/usr/local/include/SDL/GL/glu.h:347:257: error: âobjWâ was not declared in this scope
/usr/local/include/SDL/GL/glu.h:347:261: error: expression list treated as compound expression in initializer [-fpermissive]
src/engine/client/graphics.cpp: In member function âvoid CGraphics_OpenGL::Flush()â:
src/engine/client/graphics.cpp:91:17: error: âGL_QUADSâ was not declared in this scope
src/engine/client/graphics.cpp: In member function âvirtual void CGraphics_OpenGL::MapScreen(float, float, float, float)â:
src/engine/client/graphics.cpp:232:68: error: âglOrthoâ was not declared in this scope
bam: 'objs/engine/client/graphics.o' error 256

I'll see if your suggestion to install python build-essentials and "bam -c all" fixes the above errors.

If anyone knows why I am getting the out of scope errors above then let me know and I'll test the solution.

Thanks

Richard

6

Re: Raspberry Pi client compile problem - Debian Linux (Wheezy)

I would also like a client for the raspberry pi, specifically a dedicated server without all the graphics libraries. I recall trying to compile it a while ago but got similar errors like you.

7

Re: Raspberry Pi client compile problem - Debian Linux (Wheezy)

WASD wrote:

I would also like a client for the raspberry pi, specifically a dedicated server without all the graphics libraries. I recall trying to compile it a while ago but got similar errors like you.

Just try

bam server_debug

for compiling the server in debug mode or

bam server_release

for server release compilation.

8

Re: Raspberry Pi client compile problem - Debian Linux (Wheezy)

Hi,
i have a little problem -
my Raspberry Pi does not recognize my USB-Keyboard on boot. And it's not because of incorrect voltage. My PC has also the same Problem after Bluescreen and before windows is started.
Should i use an PS/2 to USB adapter and my old keyboard with PS/2 or is there another reason/-s?

#yemDX is a known troll

9

Re: Raspberry Pi client compile problem - Debian Linux (Wheezy)

Try:
sudo apt-get build-dep teeworlds
../bam-0.4.0/bam -c all
../bam-0.4.0/bam release

10

Re: Raspberry Pi client compile problem - Debian Linux (Wheezy)

Pikotee wrote:

Hi,
i have a little problem -
my Raspberry Pi does not recognize my USB-Keyboard on boot. And it's not because of incorrect voltage. My PC has also the same Problem after Bluescreen and before windows is started.
Should i use an PS/2 to USB adapter and my old keyboard with PS/2 or is there another reason/-s?

If _Both_ your computers won't recognize your keyboard, I guess there is something wrong with your keyboard.

But... what if we tried more power?

11

Re: Raspberry Pi client compile problem - Debian Linux (Wheezy)

My Computer recognizes the Keyboard after Windows is started, but i bought a  2x PS/2(female) to USB(male) adapter^^

#yemDX is a known troll

12

Re: Raspberry Pi client compile problem - Debian Linux (Wheezy)

Pikotee wrote:

My Computer recognizes the Keyboard after Windows is started, but i bought a  2x PS/2(female) to USB(male) adapter^^

Oh I think I know what's wrong: your keyboard is *** . I have seen some of these "customized" keyboards that need their own special windoez driver to be loaded to work. Can you tell me the model and manufacturer of your keyboard?

But... what if we tried more power?

13

Re: Raspberry Pi client compile problem - Debian Linux (Wheezy)

It's "Keysonic KSK-6001 UELX" with German layout. thx for help

#yemDX is a known troll

14

Re: Raspberry Pi client compile problem - Debian Linux (Wheezy)

I managed it to get a server running on my Raspberry.
now trying the client
i will keep you updated

15

Re: Raspberry Pi client compile problem - Debian Linux (Wheezy)

since nobody mentioned it yet, after changing the system configuration, like when installing the SDL development headers, running "bam config" re-scans for libraries and stuff.

16

Re: Raspberry Pi client compile problem - Debian Linux (Wheezy)

How many players can play on the RasPi server without lagging?

17 (edited by fisted 2013-03-03 21:39:54)

Re: Raspberry Pi client compile problem - Debian Linux (Wheezy)

dawars wrote:

How many players can play on the RasPi server without lagging?

I just tested it on my local network, connected 16 clients against my pi server, and it didn't show significant lags. CPU usage of the server process averaged around 40%. 15 of the 16 clients were idle, though, need to wait for the next LAN session to test it in real world condition. But it does look fine so far.

FWIW, i run gentoo on my warranty-safe-overclocked pi (1GHz cpu freq/500 MHz core and RAM freq). They say there's a 50% performance gain in contrast to one running at default frequencies, so on a out-of-the-box pi you should expect a somewhat higher load. Still playable, i suppose.

Edit: The (0.6-endofline) client compiles just fine for me.

18

Re: Raspberry Pi client compile problem - Debian Linux (Wheezy)

I have compiled everything for the pi just fine, but running it doesn't work.
I get

unable to set video mode: OpenGL not available
Out of ideas. Failed to init graphics.

I know that the Pi doesn't use OpenGL but it uses OpenGLES.
What do I have to change in the source to get this running?