Re: Compiling Teeworlds Android version on Windows
is possible to port the newer 0.7.x version to Android?
while sdl and others stuff changed
You are not logged in. Please login or register.
Teeworlds Forum → Modifications → Compiling Teeworlds Android version on Windows
is possible to port the newer 0.7.x version to Android?
while sdl and others stuff changed
No
thanks for information pelya... last question:
is possible to build the apk (of your 0.6.4 port) to meet the minimum Api level required to publish in Google Play Store?
can I decrease the render refresh while in menus navigation, if this mean lower battery consuming?
I tried to run teeworlds server 0.7.4 on a vps CentOS Linux release 7.7.1908 (Core)
and got this error:
/lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by ./teeworlds_srv)
how can I solve?
I tried to run teeworlds server 0.7.4 on a vps CentOS Linux release 7.7.1908 (Core)
and got this error:/lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by ./teeworlds_srv)
how can I solve?
This isn't an old CentOS
Linux does not seem great at compiling for other Linuxes. Can you try to build from source?
thanks for the advice (maybe was obvious), do you suggest the 0.7.4 release sources or the master branch in development?
This shouldn't matter. 0.7.4 is a bit more stable I guess.
# make
[ 11%] Built target game-shared
[ 12%] Building C object CMakeFiles/engine-shared.dir/src/base/system.c.o
/root/teeworlds/src/base/system.c: In function ‘mem_has_null’:
/root/teeworlds/src/base/system.c:2328:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
for(unsigned i = 0; i < size; i++)
^
/root/teeworlds/src/base/system.c:2328:2: note: use option -std=c99 or -std=gnu99 to compile your code
make[2]: *** [CMakeFiles/engine-shared.dir/src/base/system.c.o] Error 1
make[1]: *** [CMakeFiles/engine-shared.dir/all] Error 2
make: *** [all] Error 2
I tried but...
# make [ 11%] Built target game-shared [ 12%] Building C object CMakeFiles/engine-shared.dir/src/base/system.c.o /root/teeworlds/src/base/system.c: In function ‘mem_has_null’: /root/teeworlds/src/base/system.c:2328:2: error: ‘for’ loop initial declarations are only allowed in C99 mode for(unsigned i = 0; i < size; i++) ^ /root/teeworlds/src/base/system.c:2328:2: note: use option -std=c99 or -std=gnu99 to compile your code make[2]: *** [CMakeFiles/engine-shared.dir/src/base/system.c.o] Error 1 make[1]: *** [CMakeFiles/engine-shared.dir/all] Error 2 make: *** [all] Error 2
I tried but...
What's your OS, and what's your compiler? It looks like you somehow can't compile C99?
Maybe that's a CMake issue.
ok, I solved by building the 0.7.4 release instead of the master branch, thanks... but can't register or access by ip:port
[2020-04-04 23:35:45][server]: version 0.7 802f1be60a05665f
[2020-04-04 23:35:45][engine/mastersrv]: refreshing master server addresses
[2020-04-04 23:35:45][register]: refreshing ip addresses
[2020-04-04 23:35:45][engine/mastersrv]: saving addresses
[2020-04-04 23:35:45][register]: fetching server counts
[2020-04-04 23:35:48][register]: chose 'master4.teeworlds.com' as master, sending heartbeats
[2020-04-04 23:36:48][register]: WARNING: Master server is not responding, switching master
[2020-04-04 23:36:48][engine/mastersrv]: refreshing master server addresses
[2020-04-04 23:36:48][register]: refreshing ip addresses
[2020-04-04 23:36:48][engine/mastersrv]: saving addresses
[2020-04-04 23:36:48][register]: fetching server counts
[2020-04-04 23:36:51][register]: chose 'master3.teeworlds.com' as master, sending heartbeats
[2020-04-04 23:37:51][register]: WARNING: Master server is not responding, switching master
// solved by opening port with the command:
firewall-cmd permanent --zone=public --add-port=8303/udp
// and after reload the firewall (i don't know if is required)
firewall-cmd reload
Teeworlds Forum → Modifications → Compiling Teeworlds Android version on Windows
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 3 official extensions. Copyright © 2003–2009 PunBB.