Closed esamo closed 10 years ago
Thanks for the report. Do you have any problems when you compile it manually?
Btw., what OLX deb file is that? Where did you get it from? What OLX version is that?
Deb file: openlierox_0.58.rc3_amd64.deb From: http://sourceforge.net/projects/openlierox/files/latest/download?source=files
I think I have tried compiling.
esamo@Es-mob:~/Pobrane/OpenLieroX (2)$ ./compile.sh
--- OpenLieroX compile.sh ---
ERROR: libxml2 headers not found
ERROR: libcurl headers not found
ERROR: SDL headers not found
ERROR: SDL_image.h not found
ERROR: SDL_mixer.h not found
ERROR: zlib header not found
ERROR: gd header not found
ERROR: HawkNL header not found
try the following: export HAWKNL_BUILTIN=1
ERROR: libzip header not found
try the following: export LIBZIP_BUILTIN=1
errors detected, exiting
You need some development/header packages. Follow the guide here. Also, you might want to use cmake .
instead.
Something like sudo apt-get install build-essential cmake libsdl1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libgd2-noxpm-dev zlib1g-dev libzip-dev libxml2-dev libx11-dev
. And then cmake .
.
esamo@Es-mob:~/Pobrane/OpenLieroX (2)$ ./compile.sh
--- OpenLieroX compile.sh ---
* version 0.58_rc1
* the global search-path of the game will be /usr/share/games/OpenLieroX
* you will not see any debug-crap
* g++ will be used for compilation
* debugging-data will be included in the bin
* none additional compiler-flags will be used
* X11 clipboard/notify support is activated
* G15 support is not activated
* HawkNL support will be built into the binary
* the binary will be linked dynamically against libzip
* fallback crashhandler will be used
* debuggers coredumper will be used
>>> compiling now, this could take some time ...
In file included from include/FileDownload.h:30:0,
from include/CClient.h:31,
from src/main.cpp:20:
include/HTTP.h:24:24: fatal error: curl/types.h: Nie ma takiego pliku ani katalogu
#include <curl/types.h>
^
compilation terminated.
In file included from include/FileDownload.h:30:0,
from include/CClient.h:31,
from include/DeprecatedGUI/Menu.h:30,
from src/client/AuxLib.cpp:64:
include/HTTP.h:24:24: fatal error: curl/types.h: Nie ma takiego pliku ani katalogu
#include <curl/types.h>
^
compilation terminated.
In file included from include/FileDownload.h:30:0,
from include/CClient.h:31,
from src/client/CClient.cpp:19:
include/HTTP.h:24:24: fatal error: curl/types.h: Nie ma takiego pliku ani katalogu
#include <curl/types.h>
^
compilation terminated.
In file included from include/FileDownload.h:30:0,
from include/CClient.h:31,
from src/client/CClient_Draw.cpp:21:
include/HTTP.h:24:24: fatal error: curl/types.h: Nie ma takiego pliku ani katalogu
#include <curl/types.h>
^
compilation terminated.
In file included from include/FileDownload.h:30:0,
from include/CClient.h:31,
from src/client/CClient_Game.cpp:22:
include/HTTP.h:24:24: fatal error: curl/types.h: Nie ma takiego pliku ani katalogu
#include <curl/types.h>
^
compilation terminated.
In file included from include/FileDownload.h:30:0,
from include/CClient.h:31,
from src/client/CClient_Parse.cpp:23:
include/HTTP.h:24:24: fatal error: curl/types.h: Nie ma takiego pliku ani katalogu
#include <curl/types.h>
Take the code from Git. This should have been fixed already.
You will also need to install the package libcurl4-openssl-dev On Jul 15, 2014 4:06 PM, "Albert Zeyer" notifications@github.com wrote:
Take the code from Git. This should have been fixed already.
— Reply to this email directly or view it on GitHub https://github.com/albertz/openlierox/issues/782#issuecomment-49028273.
I have purged and installed libcurl4-openssl-dev, but still
esamo@Es-mob:~/Pobrane/OpenLieroX (2)$ make
[ 0%] Building CXX object CMakeFiles/openlierox.dir/src/main.o
In file included from /home/esamo/Pobrane/OpenLieroX (2)/./include/FileDownload.h:30:0,
from /home/esamo/Pobrane/OpenLieroX (2)/./include/CClient.h:31,
from /home/esamo/Pobrane/OpenLieroX (2)/src/main.cpp:20:
/home/esamo/Pobrane/OpenLieroX (2)/./include/HTTP.h:24:24: fatal error: curl/types.h: Nie ma takiego pliku ani katalogu
#include <curl/types.h>
^
compilation terminated.
make[2]: *** [CMakeFiles/openlierox.dir/src/main.o] Błąd 1
make[1]: *** [CMakeFiles/openlierox.dir/all] Błąd 2
make: *** [all] Błąd 2
Checkout the code from Git. git clone -b 0.58 https://github.com/albertz/openlierox.git
.
openlierox-0.59_beta10
Tried "DHAWKNL_BUILTIN" vars "ON", "OFF", "Yes", also effects errors.
esamo@Es-mob:~/Pobrane/openlierox-0.59_beta10$ cmake .
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
SYSTEM_DATA_DIR = /usr/share/games
DEBUG = ON
DEDICATED_ONLY = OFF
G15 = OFF
X11 = ON
HAWKNL_BUILTIN = ON
LIBZIP_BUILTIN = OFF
LIBLUA_BUILTIN = ON
STLPORT = OFF
GCOREDUMPER = OFF
HASBFD = ON
BREAKPAD = OFF
LINENOISE = ON
CMAKE_C_COMPILER = /usr/bin/cc
CMAKE_C_FLAGS =
CMAKE_CXX_COMPILER = /usr/bin/c++
CMAKE_CXX_FLAGS =
MINGW_CROSS_COMPILE = OFF
OLX_VERSION = 0.59_beta10
-- Configuring done
-- Generating done
-- Build files have been written to: /home/esamo/Pobrane/openlierox-0.59_beta10
esamo@Es-mob:~/Pobrane/openlierox-0.59_beta10$ ./compile.sh
bash: ./compile.sh: Nie ma takiego pliku ani katalogu
esamo@Es-mob:~/Pobrane/openlierox-0.59_beta10$ ./start.sh
./start.sh: 30: ./start.sh: ../../bin/openlierox: not found
esamo@Es-mob:~/Pobrane/openlierox-0.59_beta10$ make -j4
Scanning dependencies of target openlierox
[ 0%] [ 0%] [ 0%] [ 1%] Building CXX object CMakeFiles/openlierox.dir/src/main.o
Building CXX object CMakeFiles/openlierox.dir/libs/linenoise/linenoise.o
Building CXX object CMakeFiles/openlierox.dir/src/util/Bitstream.o
Building CXX object CMakeFiles/openlierox.dir/src/util/VecTimeRecorder.o
In file included from /home/esamo/Pobrane/openlierox-0.59_beta10/include/Debug.h:18:0,
from /home/esamo/Pobrane/openlierox-0.59_beta10/src/util/Bitstream.cpp:11:
/home/esamo/Pobrane/openlierox-0.59_beta10/include/ThreadPool.h:17:30: fatal error: boost/function.hpp: Nie ma takiego pliku ani katalogu
#include <boost/function.hpp>
^
compilation terminated.
In file included from /home/esamo/Pobrane/openlierox-0.59_beta10/src/game/Settings.h:40:0,
from /home/esamo/Pobrane/openlierox-0.59_beta10/include/Options.h:24,
from /home/esamo/Pobrane/openlierox-0.59_beta10/include/LieroX.h:26,
from /home/esamo/Pobrane/openlierox-0.59_beta10/src/main.cpp:18:
/home/esamo/Pobrane/openlierox-0.59_beta10/include/FeatureList.h:23:30: fatal error: boost/function.hpp: Nie ma takiego pliku ani katalogu
#include <boost/function.hpp>
^
compilation terminated.
In file included from /home/esamo/Pobrane/openlierox-0.59_beta10/include/Physics.h:15:0,
from /home/esamo/Pobrane/openlierox-0.59_beta10/include/PhysicsLX56.h:13,
from /home/esamo/Pobrane/openlierox-0.59_beta10/src/util/VecTimeRecorder.h:14,
from /home/esamo/Pobrane/openlierox-0.59_beta10/src/util/VecTimeRecorder.cpp:10:
/home/esamo/Pobrane/openlierox-0.59_beta10/include/Iter.h:18:30: fatal error: boost/function.hpp: Nie ma takiego pliku ani katalogu
#include <boost/function.hpp>
^
compilation terminated.
make[2]: *** [CMakeFiles/openlierox.dir/src/util/Bitstream.o] Błąd 1
make[2]: *** Oczekiwanie na niezakończone zadania....
make[2]: *** [CMakeFiles/openlierox.dir/src/main.o] Błąd 1
make[2]: *** [CMakeFiles/openlierox.dir/src/util/VecTimeRecorder.o] Błąd 1
make[1]: *** [CMakeFiles/openlierox.dir/all] Błąd 2
make: *** [all] Błąd 2
esamo@Es-mob:~/Pobrane/openlierox-0.59_beta10$
And 0.58
esamo@Es-mob:~/Pobrane/OpenLieroX (2)$ git clone -b 0.58 https://github.com/albertz/openlierox.git
Cloning into 'openlierox'...
remote: Reusing existing pack: 89395, done.
remote: Total 89395 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (89395/89395), 373.97 MiB | 4.65 MiB/s, done.
Resolving deltas: 100% (63968/63968), done.
Checking connectivity... done.
Checking out files: 100% (5725/5725), done.
esamo@Es-mob:~/Pobrane/OpenLieroX (2)$ ./compile.sh
--- OpenLieroX compile.sh ---
ERROR: HawkNL header not found
try the following: export HAWKNL_BUILTIN=1
errors detected, exiting
esamo@Es-mob:~/Pobrane/OpenLieroX (2)$ ^C
esamo@Es-mob:~/Pobrane/OpenLieroX (2)$ export HAWKNL_BUILTIN=1
esamo@Es-mob:~/Pobrane/OpenLieroX (2)$ ./compile.sh
--- OpenLieroX compile.sh ---
* version 0.58_rc3
* the global search-path of the game will be /usr/share/games/OpenLieroX
* you will not see any debug-crap
* g++ will be used for compilation
* debugging-data will be included in the bin
* none additional compiler-flags will be used
* X11 clipboard/notify support is activated
* G15 support is not activated
* HawkNL support will be built into the binary
* the binary will be linked dynamically against libzip
* fallback crashhandler will be used
* debuggers coredumper will be used
>>> compiling now, this could take some time ...
In file included from include/FileDownload.h:30:0,
from include/CClient.h:31,
from src/main.cpp:20:
include/HTTP.h:24:24: fatal error: curl/types.h: Nie ma takiego pliku ani katalogu
#include <curl/types.h>
^
compilation terminated.
In file included from include/FileDownload.h:30:0,
from include/CClient.h:31,
from include/DeprecatedGUI/Menu.h:30,
from src/client/AuxLib.cpp:64:
include/HTTP.h:24:24: fatal error: curl/types.h: Nie ma takiego pliku ani katalogu
#include <curl/types.h>
^
compilation terminated.
^C
About the 0.58 error: Seems I forgot to backport the Curl fix to 0.58. I just pushed it to 0.58. Do git pull
to update the code.
About 0.59: You need to install the Boost dev lib. Something like libboost-dev
or so.
esamo@Es-mob:~/Pobrane/OpenLieroX_0.58_rc3.src$ git pull
fatal: Not a git repository (or any parent up to mount point /home/esamo)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
-----
0.59
[ 34%] Building CXX object CMakeFiles/openlierox.dir/src/sound/sfx.o
/home/esamo/Pobrane/OpenLieroX_0.59_beta10.src/src/sound/sfx.cpp:8:19: fatal error: AL/al.h: Nie ma takiego pliku ani katalogu
#include <AL/al.h>
^
compilation terminated.
make[2]: *** [CMakeFiles/openlierox.dir/src/sound/sfx.o] Błąd 1
make[2]: *** Oczekiwanie na niezakończone zadania....
make[1]: *** [CMakeFiles/openlierox.dir/all] Błąd 2
make: *** [all] Błąd 2
esamo@Es-mob:~/Pobrane/OpenLieroX_0.59_beta10.src$
git pull
only works if you did get the source via Git, i.e. via git clone
.
About the sfx error: You also need OpenAL. I guess something like libopenal-dev
or so.
This is with the package libopenal-dev and all 'libopenal' related.
esamo@Es-mob:~/Pobrane/OpenLieroX_0.59_beta10.src$ make
[ 0%] Building CXX object CMakeFiles/openlierox.dir/src/sound/sound_sample_openal.o
/home/esamo/Pobrane/OpenLieroX_0.59_beta10.src/src/sound/sound_sample_openal.cpp:16:21: fatal error: AL/alut.h: Nie ma takiego pliku ani katalogu
#include <AL/alut.h>
^
compilation terminated.
make[2]: *** [CMakeFiles/openlierox.dir/src/sound/sound_sample_openal.o] Błąd 1
make[1]: *** [CMakeFiles/openlierox.dir/all] Błąd 2
make: *** [all] Błąd 2
esamo@Es-mob:~/Pobrane/OpenLieroX_0.58_rc3.src/openlierox$ make
[ 0%] Building CXX object CMakeFiles/openlierox.dir/src/breakpad/external/src/processor/stackwalker.o
In file included from /home/esamo/Pobrane/OpenLieroX_0.58_rc3.src/openlierox/src/breakpad/external/src/processor/stackwalker.cc:43:0:
/home/esamo/Pobrane/OpenLieroX_0.58_rc3.src/openlierox/./src/breakpad/external/src/google_breakpad/processor/minidump.h: In member function ‘off_t google_breakpad::Minidump::Tell()’:
/home/esamo/Pobrane/OpenLieroX_0.58_rc3.src/openlierox/./src/breakpad/external/src/google_breakpad/processor/minidump.h:820:48: error: ‘SEEK_CUR’ was not declared in this scope
off_t Tell() { return valid_ ? lseek(fd_, 0, SEEK_CUR) : (off_t)-1; }
^
/home/esamo/Pobrane/OpenLieroX_0.58_rc3.src/openlierox/./src/breakpad/external/src/google_breakpad/processor/minidump.h:820:56: error: ‘lseek’ was not declared in this scope
off_t Tell() { return valid_ ? lseek(fd_, 0, SEEK_CUR) : (off_t)-1; }
^
make[2]: *** [CMakeFiles/openlierox.dir/src/breakpad/external/src/processor/stackwalker.o] Błąd 1
make[1]: *** [CMakeFiles/openlierox.dir/all] Błąd 2
make: *** [all] Błąd 2
For the first problem: Install libalut-dev or something like that.
For the second problem: Disable Google Breakpad.
0.59 I have had libalut-dev.
[ 7%] Building CXX object CMakeFiles/openlierox.dir/src/gusanos/objects_list.o
In file included from /home/esamo/Pobrane/OpenLieroX_0.59_beta10.src/src/gusanos/objects_list.cpp:1:0:
/home/esamo/Pobrane/OpenLieroX_0.59_beta10.src/src/gusanos/objects_list.h:90:2: error: ‘size_t’ does not name a type
size_t size();
^
/home/esamo/Pobrane/OpenLieroX_0.59_beta10.src/src/gusanos/objects_list.cpp:76:26: error: no ‘size_t ObjectsList::size()’ member function declared in class ‘ObjectsList’
size_t ObjectsList::size()
^
make[2]: *** [CMakeFiles/openlierox.dir/src/gusanos/objects_list.o] Błąd 1
make[1]: *** [CMakeFiles/openlierox.dir/all] Błąd 2
make: *** [all] Błąd 2
0.58 [disabled breakpad]
[ 40%] Building CXX object CMakeFiles/openlierox.dir/src/client/DeprecatedGUI/CBrowser.o
/home/esamo/Pobrane/OpenLieroX_0.58_rc3.src/openlierox/src/client/DeprecatedGUI/CBrowser.cpp:84:3: warning: identifier ‘nullptr’ is a keyword in C++11 [-Wc++0x-compat]
std::pair<CTextObject *, CTextObject *> result(nullptr, nullptr);
^
In file included from /home/esamo/Pobrane/OpenLieroX_0.58_rc3.src/openlierox/./include/CGameSkin.h:19:0,
from /home/esamo/Pobrane/OpenLieroX_0.58_rc3.src/openlierox/./include/DeprecatedGUI/Menu.h:31,
from /home/esamo/Pobrane/OpenLieroX_0.58_rc3.src/openlierox/src/client/DeprecatedGUI/CBrowser.cpp:20:
/home/esamo/Pobrane/OpenLieroX_0.58_rc3.src/openlierox/./include/GfxPrimitives.h: In function ‘SDL_Rect MakeRect(int, int, int, int)’:
/home/esamo/Pobrane/OpenLieroX_0.58_rc3.src/openlierox/./include/GfxPrimitives.h:276:26: warning: narrowing conversion of ‘x’ from ‘int’ to ‘Sint16 {aka short int}’ inside { } is ill-formed in C++11 [-Wnarrowing]
SDL_Rect r = {x, y, w, h};
^
/home/esamo/Pobrane/OpenLieroX_0.58_rc3.src/openlierox/./include/GfxPrimitives.h:276:26: warning: narrowing conversion of ‘y’ from ‘int’ to ‘Sint16 {aka short int}’ inside { } is ill-formed in C++11 [-Wnarrowing]
/home/esamo/Pobrane/OpenLieroX_0.58_rc3.src/openlierox/./include/GfxPrimitives.h:276:26: warning: narrowing conversion of ‘w’ from ‘int’ to ‘Uint16 {aka short unsigned int}’ inside { } is ill-formed in C++11 [-Wnarrowing]
/home/esamo/Pobrane/OpenLieroX_0.58_rc3.src/openlierox/./include/GfxPrimitives.h:276:26: warning: narrowing conversion of ‘h’ from ‘int’ to ‘Uint16 {aka short unsigned int}’ inside { } is ill-formed in C++11 [-Wnarrowing]
In file included from /home/esamo/Pobrane/OpenLieroX_0.58_rc3.src/openlierox/./include/CGameSkin.h:19:0,
from /home/esamo/Pobrane/OpenLieroX_0.58_rc3.src/openlierox/./include/DeprecatedGUI/Menu.h:31,
from /home/esamo/Pobrane/OpenLieroX_0.58_rc3.src/openlierox/src/client/DeprecatedGUI/CBrowser.cpp:20:
/home/esamo/Pobrane/OpenLieroX_0.58_rc3.src/openlierox/./include/GfxPrimitives.h: In function ‘void DrawImageAdv(SDL_Surface*, SDL_Surface*, int, int, int, int, int, int)’:
/home/esamo/Pobrane/OpenLieroX_0.58_rc3.src/openlierox/./include/GfxPrimitives.h:396:31: warning: narrowing conversion of ‘dx’ from ‘int’ to ‘Sint16 {aka short int}’ inside { } is ill-formed in C++11 [-Wnarrowing]
SDL_Rect r1 = { dx, dy, 0, 0 };
^
/home/esamo/Pobrane/OpenLieroX_0.58_rc3.src/openlierox/./include/GfxPrimitives.h:396:31: warning: narrowing conversion of ‘dy’ from ‘int’ to ‘Sint16 {aka short int}’ inside { } is ill-formed in C++11 [-Wnarrowing]
/home/esamo/Pobrane/OpenLieroX_0.58_rc3.src/openlierox/./include/GfxPrimitives.h:397:31: warning: narrowing conversion of ‘sx’ from ‘int’ to ‘Sint16 {aka short int}’ inside { } is ill-formed in C++11 [-Wnarrowing]
SDL_Rect r2 = { sx, sy, w, h };
^
/home/esamo/Pobrane/OpenLieroX_0.58_rc3.src/openlierox/./include/GfxPrimitives.h:397:31: warning: narrowing conversion of ‘sy’ from ‘int’ to ‘Sint16 {aka short int}’ inside { } is ill-formed in C++11 [-Wnarrowing]
/home/esamo/Pobrane/OpenLieroX_0.58_rc3.src/openlierox/./include/GfxPrimitives.h:397:31: warning: narrowing conversion of ‘w’ from ‘int’ to ‘Uint16 {aka short unsigned int}’ inside { } is ill-formed in C++11 [-Wnarrowing]
/home/esamo/Pobrane/OpenLieroX_0.58_rc3.src/openlierox/./include/GfxPrimitives.h:397:31: warning: narrowing conversion of ‘h’ from ‘int’ to ‘Uint16 {aka short unsigned int}’ inside { } is ill-formed in C++11 [-Wnarrowing]
/home/esamo/Pobrane/OpenLieroX_0.58_rc3.src/openlierox/./include/GfxPrimitives.h: In function ‘void DrawImage(SDL_Surface*, SDL_Surface*, int, int)’:
/home/esamo/Pobrane/OpenLieroX_0.58_rc3.src/openlierox/./include/GfxPrimitives.h:434:28: warning: narrowing conversion of ‘x’ from ‘int’ to ‘Sint16 {aka short int}’ inside { } is ill-formed in C++11 [-Wnarrowing]
SDL_Rect r = { x, y, 0, 0 };
^
/home/esamo/Pobrane/OpenLieroX_0.58_rc3.src/openlierox/./include/GfxPrimitives.h:434:28: warning: narrowing conversion of ‘y’ from ‘int’ to ‘Sint16 {aka short int}’ inside { } is ill-formed in C++11 [-Wnarrowing]
/home/esamo/Pobrane/OpenLieroX_0.58_rc3.src/openlierox/src/client/DeprecatedGUI/CBrowser.cpp: In member function ‘std::pair<DeprecatedGUI::CTextObject*, DeprecatedGUI::CTextObject*> DeprecatedGUI::CTextObject::Split(int)’:
/home/esamo/Pobrane/OpenLieroX_0.58_rc3.src/openlierox/src/client/DeprecatedGUI/CBrowser.cpp:84:50: error: ‘nullptr’ was not declared in this scope
std::pair<CTextObject *, CTextObject *> result(nullptr, nullptr);
^
/home/esamo/Pobrane/OpenLieroX_0.58_rc3.src/openlierox/src/client/DeprecatedGUI/CBrowser.cpp: In member function ‘void DeprecatedGUI::CBrowser::RenderContent()’:
/home/esamo/Pobrane/OpenLieroX_0.58_rc3.src/openlierox/src/client/DeprecatedGUI/CBrowser.cpp:1616:100: warning: narrowing conversion of ‘((DeprecatedGUI::CBrowser*)this)->DeprecatedGUI::CBrowser::iBorderSize’ from ‘int’ to ‘Sint16 {aka short int}’ inside { } is ill-formed in C++11 [-Wnarrowing]
SDL_Rect clipRect = {iBorderSize, iBorderSize, iWidth - iBorderSize * 2, iHeight - iBorderSize * 2};
^
/home/esamo/Pobrane/OpenLieroX_0.58_rc3.src/openlierox/src/client/DeprecatedGUI/CBrowser.cpp:1616:100: warning: narrowing conversion of ‘((DeprecatedGUI::CBrowser*)this)->DeprecatedGUI::CBrowser::iBorderSize’ from ‘int’ to ‘Sint16 {aka short int}’ inside { } is ill-formed in C++11 [-Wnarrowing]
/home/esamo/Pobrane/OpenLieroX_0.58_rc3.src/openlierox/src/client/DeprecatedGUI/CBrowser.cpp:1616:56: warning: narrowing conversion of ‘(((DeprecatedGUI::CBrowser*)this)->DeprecatedGUI::CBrowser::<anonymous>.DeprecatedGUI::CWidget::iWidth + (((DeprecatedGUI::CBrowser*)this)->DeprecatedGUI::CBrowser::iBorderSize * -2))’ from ‘int’ to ‘Uint16 {aka short unsigned int}’ inside { } is ill-formed in C++11 [-Wnarrowing]
SDL_Rect clipRect = {iBorderSize, iBorderSize, iWidth - iBorderSize * 2, iHeight - iBorderSize * 2};
^
/home/esamo/Pobrane/OpenLieroX_0.58_rc3.src/openlierox/src/client/DeprecatedGUI/CBrowser.cpp:1616:83: warning: narrowing conversion of ‘(((DeprecatedGUI::CBrowser*)this)->DeprecatedGUI::CBrowser::<anonymous>.DeprecatedGUI::CWidget::iHeight + (((DeprecatedGUI::CBrowser*)this)->DeprecatedGUI::CBrowser::iBorderSize * -2))’ from ‘int’ to ‘Uint16 {aka short unsigned int}’ inside { } is ill-formed in C++11 [-Wnarrowing]
SDL_Rect clipRect = {iBorderSize, iBorderSize, iWidth - iBorderSize * 2, iHeight - iBorderSize * 2};
^
make[2]: *** [CMakeFiles/openlierox.dir/src/client/DeprecatedGUI/CBrowser.o] Błąd 1
make[1]: *** [CMakeFiles/openlierox.dir/all] Błąd 2
make: *** [all] Błąd 2
About 0.59: You need to use the source code from Git. This should already be fixed.
About 0.58: I just pushed a fix to Git.
0.58
[...]
/usr/include/c++/4.8/bits/random.h:5750:7: error: expected unqualified-id before string constant
static_assert(std::is_floating_point<_RealType>::value,
^
make[2]: *** [CMakeFiles/openlierox.dir/src/client/CClient.o] Błąd 1
make[1]: *** [CMakeFiles/openlierox.dir/all] Błąd 2
make: *** [all] Błąd 2
esamo@Es-mob:~/Pobrane/OpenLieroX_0.58_git/openlierox$ cmake .
SYSTEM_DATA_DIR = /usr/share/games
DEBUG = ON
DEDICATED_ONLY = OFF
G15 = OFF
X11 = ON
HAWKNL_BUILTIN = ON
LIBZIP_BUILTIN = OFF
STLPORT = OFF
GCOREDUMPER = OFF
BREAKPAD = Off
CMAKE_C_COMPILER = /usr/bin/cc
CMAKE_C_FLAGS =
CMAKE_CXX_COMPILER = /usr/bin/c++
CMAKE_CXX_FLAGS =
OLX_VERSION = 0.58_rc3
-- Configuring done
-- Generating done
-- Build files have been written to: /home/esamo/Pobrane/OpenLieroX_0.58_git/openlierox
0.59
[...]
[ 65%] Building CXX object CMakeFiles/openlierox.dir/src/common/Debug_extended_backtrace.o
/home/esamo/Pobrane/OpenLieroX_0.59_git/openlierox/src/common/Debug_extended_backtrace.cpp:78:17: fatal error: bfd.h: Nie ma takiego pliku ani katalogu
#include <bfd.h>
^
compilation terminated.
make[2]: *** [CMakeFiles/openlierox.dir/src/common/Debug_extended_backtrace.o] Błąd 1
make[1]: *** [CMakeFiles/openlierox.dir/all] Błąd 2
make: *** [all] Błąd 2
esamo@Es-mob:~/Pobrane/OpenLieroX_0.59_git/openlierox$ cmake .
SYSTEM_DATA_DIR = /usr/share/games
DEBUG = ON
DEDICATED_ONLY = OFF
G15 = OFF
X11 = ON
HAWKNL_BUILTIN = ON
LIBZIP_BUILTIN = OFF
LIBLUA_BUILTIN = ON
STLPORT = OFF
GCOREDUMPER = OFF
HASBFD = ON
BREAKPAD = OFF
LINENOISE = ON
CMAKE_C_COMPILER = /usr/bin/cc
CMAKE_C_FLAGS =
CMAKE_CXX_COMPILER = /usr/bin/c++
CMAKE_CXX_FLAGS =
MINGW_CROSS_COMPILE = OFF
OLX_VERSION = 0.59_beta10
-- Boost version: 1.54.0
boost-signals not found, trying just boost_signals-mt
-- Configuring done
-- Generating done
-- Build files have been written to: /home/esamo/Pobrane/OpenLieroX_0.59_git/openlierox
Regards & respect
You also need to install the packages binutils-dev, libiberty-dev, libboost-signals-dev and libboost-system-dev.
I pushed a few fixes to both 0.58 and 0.59, so update your code. In 0.59, you should also rerun cmake .
because I updated the CMake file slightly.
0.59 compiled, working :) ... as it seems for now :D .
Thought I will paste compiling and game terminal messages from start to exit.
I'd like to point out that it is barely possible for me to navigate OpenLieroX using mouse pointer. It jumps from one screen edge to other after tiny movement on touchpad.
esamo@Es-mob:~/Pobrane/OpenLieroX_0.59_git/openlierox$ git pull
remote: Counting objects: 141, done.
remote: Compressing objects: 100% (139/139), done.
remote: Total 141 (delta 80), reused 0 (delta 0)
Receiving objects: 100% (141/141), 139.87 KiB | 0 bytes/s, done.
Resolving deltas: 100% (80/80), done.
From https://github.com/albertz/openlierox
79e69a7..11057b2 wip -> origin/wip
Already up-to-date.
esamo@Es-mob:~/Pobrane/OpenLieroX_0.59_git/openlierox$ cmake .
SYSTEM_DATA_DIR = /usr/share/games
DEBUG = ON
DEDICATED_ONLY = OFF
G15 = OFF
X11 = ON
HAWKNL_BUILTIN = ON
LIBZIP_BUILTIN = OFF
LIBLUA_BUILTIN = ON
STLPORT = OFF
GCOREDUMPER = OFF
HASBFD = ON
BREAKPAD = OFF
LINENOISE = ON
CMAKE_C_COMPILER = /usr/bin/cc
CMAKE_C_FLAGS =
CMAKE_CXX_COMPILER = /usr/bin/c++
CMAKE_CXX_FLAGS =
MINGW_CROSS_COMPILE = OFF
OLX_VERSION = 0.59_beta10
-- Boost version: 1.54.0
-- Found the following Boost libraries:
-- signals
-- system
-- Configuring done
-- Generating done
-- Build files have been written to: /home/esamo/Pobrane/OpenLieroX_0.59_git/openlierox
esamo@Es-mob:~/Pobrane/OpenLieroX_0.59_git/openlierox$ make
[...]
[ 95%] Building C object CMakeFiles/openlierox.dir/libs/lua/ldblib.o
Linking CXX executable bin/openlierox
CMakeFiles/openlierox.dir/libs/lua/loslib.o: In function `os_tmpname':
/home/esamo/Pobrane/OpenLieroX_0.59_git/openlierox/libs/lua/loslib.c:60: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
[100%] Built target openlierox
esamo@Es-mob:~/Pobrane/OpenLieroX_0.59_git/openlierox$ ./\start.sh
H: SmartPointer collision detector initialized
n: teeStdout: save multithreaded fallback
H: OpenLieroX/0.59_beta10 is starting ...
H: This is a DEBUG build.
n: Free memory: 1466 MB
n: Current time: Mon Aug 4 21:27:42 2014
n: ThreadPool: creating 40 threads ...
n: I have now the following searchpaths (in this order):
n: /home/esamo/.OpenLieroX
n: .
n: /usr/share/games/OpenLieroX
n: And that's all.
n: Reading game options from /home/esamo/.OpenLieroX/cfg/options.cfg
n: Will write game options to /home/esamo/.OpenLieroX/cfg/options.cfg
n: the option "GameInfo.AllowConnectDuringGame" defined in cfg/options.cfg is unknown
n: the option "GameInfo.AllowNickChange" defined in cfg/options.cfg is unknown
n: the option "GameInfo.AllowStrafing" defined in cfg/options.cfg is unknown
n: the option "GameInfo.MaxPlayers" defined in cfg/options.cfg is unknown
n: the option "GameInfo.ServerSideHealth" defined in cfg/options.cfg is unknown
n: the option "GameInfo.WeaponSelectionMaxTime" defined in cfg/options.cfg is unknown
n: config was saved with OpenLieroX 0.58 rc 3, so we ignore quite a lot of game settings from GameInfo
n: Default theme is used
H: Unknown options were found.
n: DONE loading options
n: Installing CrashHandler .. registered simple signal handler
n: Loading network texts... DONE
n: Loading taunts... DONE
n: Hello there, I am initializing me now...
n: setting video mode
n: ColorDepth: 32
n: VideoPostProcessor initialisation ... using Dummy video post processor
n: PixelFormat:
n: BitsPerPixel: 32, BytesPerPixel: 4
n: R/G/B/A mask: ff0000/ff00/ff/0
n: R/G/B/A loss: 0/0/0/8
n: Colorkey: 0, Alpha: 255
n: using software surfaces
n: video mode was set successfully
H: OpenAL lib initialized
n: SoundSystem initialised
n: Loading (5%): Initializing client and server
n: Loading (10%): Loading Gusanos engine
n: Allegro: SSE, MMX, MMXExt
n: Lua: Registering as non-AUTH
n: Sfx::registerInConsole()
n: Gus con: <UNKNOWN COMMAND: P0_NAME>
n: Gus con: <UNKNOWN COMMAND: P1_NAME>
n: Gus con: <COULDN'T EXEC user.cfg>
Color Mask: 0xFEFEFE
Low Pixel Mask: 0x10101
QColor Mask: 0xFCFCFC
QLow Pixel Mask: 0x30303
n: Loading (15%): Initializing game entities
n: Loading (20%): Loading graphics
n: Loading (40%): Initializing console
n: Loading (45%): Loading sounds
n: Loading (55%): Loading player profiles
n: Initializing ready
n: Loading (70%): Initializing menu system
n: Loading (90%): Loading main menu
n: Loading (100%): Done! Starting menu
n: Lua: Registering as non-AUTH
n: running Lua startup script startup.lua
n: LUA: Hello from Lua, OpenLieroX/0.59_beta10
n: LUA: timer demo 0, cur time: 1322
n: <Settings:1> Settings:LevelName: update -> ChristmasTree.lxl
n: <Settings:1> Settings:ModName: update -> starwarsmod v0.2
n: LUA: timer demo 1, cur time: 2323
n: LUA: timer demo 2, cur time: 3324
n: LUA: timer demo 3, cur time: 4328
n: LUA: timer demo 4, cur time: 5329
n: LUA: timer demo 5, cur time: 6329
n: Current cache size: 20 MB
n: LUA: Good Bye from Lua
n: Shutting me down...
n: Lua: Registering as non-AUTH
AL lib: FreeContext: (0x368dbc0) Deleting 40 Source(s)
n: Everything was shut down
n: waiting for all left threads and tasks
W: ThreadPool: waiting for 1 threads to finish:
W: thread cache timer is ready but was not cleaned up
W: there are still 1 pending events in the event queue
W: given thread cache timer is not working anymore
n: Good Bye and enjoy your day...
n: wait for StdinCLI quit
Standard Out/Err recovered
SmartPointer collision detector de-initialized, everything is freed now
0.58 didn't tried yet because 0.59 is fine.
Regards & respect.
Note that 0.59 has some problems if you want to host and other 0.59 players want to join. I hope to fix that at some point in the future.
Can you also try to compile and run 0.58? If it works, I can close this report.
Thanks!
0.58 compiled and working, however:
1) in the match with bots white, bent line appears with colored squares on line corners. I've made screenshot, but can find it.
2) Also FPS counter is too fast = not readable for me, on 0.59 as well.
0.58 compile, start -> exit
Linking CXX executable bin/openlierox
[100%] Built target openlierox
esamo@Es-mob:~/Pobrane/OpenLieroX_0.58_git/openlierox$ ./start.sh
H: OpenLieroX/0.58_rc3 is starting ...
H: This is a DEBUG build.
n: Free memory: 1259 MB
n: Current time: Mon Aug 4 22:28:30 2014
n: ThreadPool: creating 40 threads ...
n: I have now the following searchpaths (in this order):
n: /home/esamo/.OpenLieroX
n: .
n: /usr/share/games/OpenLieroX
n: And that's all.
n: Reading game options from /home/esamo/.OpenLieroX/cfg/options.cfg
n: Will write game options to /home/esamo/.OpenLieroX/cfg/options.cfg
n: the option "Game.RopeAdjustSpeed" defined in cfg/options.cfg is unknown
n: the option "Game.SetAFK" defined in cfg/options.cfg is unknown
n: the option "Misc.AutoFileCacheRefresh" defined in cfg/options.cfg is unknown
n: the option "Misc.UseMainLockDetector" defined in cfg/options.cfg is unknown
n: the option "Server.AllowConnectDuringGame" defined in cfg/options.cfg is unknown
n: the option "Server.AllowNickChange" defined in cfg/options.cfg is unknown
n: the option "Server.AllowStrafing" defined in cfg/options.cfg is unknown
n: the option "Server.MaxPlayers" defined in cfg/options.cfg is unknown
n: the option "Server.ServerSideHealth" defined in cfg/options.cfg is unknown
n: the option "Server.WeaponSelectionMaxTime" defined in cfg/options.cfg is unknown
n: the option "Video.Raytracing" defined in cfg/options.cfg is unknown
n: the option "Video.UseMMX" defined in cfg/options.cfg is unknown
n: the option "Video.UseMMXExt" defined in cfg/options.cfg is unknown
n: the option "Video.UseSSE" defined in cfg/options.cfg is unknown
n: the option "GameInfo.Settings" defined in cfg/options.cfg is unknown
n: the option "GameInfo.WeaponRestrictionsFile" defined in cfg/options.cfg is unknown
n: Default theme is used
H: Unknown options were found.
n: DONE loading options
n: Installing CrashHandler .. registered simple signal handler
n: Loading network texts... DONE
n: Loading taunts... DONE
n: Hello there, I am initializing me now...
n: setting video mode
n: ColorDepth: 32
n: VideoPostProcessor initialisation ... using Dummy video post processor
n: PixelFormat:
n: BitsPerPixel: 32, BytesPerPixel: 4
n: R/G/B/A mask: ff0000/ff00/ff/0
n: R/G/B/A loss: 0/0/0/8
n: Colorkey: 0, Alpha: 255
n: using software surfaces
H: SmartPointer collision detector initialized
n: video mode was set successfully
n: SDL_AUDIODRIVER not set, setting to ALSA
n: SoundSystem initialised, 1000 channels allocated
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
n: Initializing ready
n: PhysicsEngine LX56 physics loaded
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
n: Current cache size: 10 MB
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
n: IRC connected to #LieroX@irc.quakenet.org
n: Current cache size: 10 MB
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
H: JoinServer 91.156.42.119:23800 (Kurko's nightbar) with player 'Es'
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
n: Client connect to 91.156.42.119:23800
n: sending challenge request to 91.156.42.119:23800
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
n: Server is using OpenLieroX/0.58_rc3
n: CClient: got challenge response from OpenLieroX/0.58_rc3 server
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
n: Current cache size: 10 MB
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
n: Current cache size: 10 MB
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
H: server started on 127.0.1.1:23400
n: Client connect to 127.0.0.1:23400
n: sending challenge request to 127.0.0.1:23400
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
n: CMap::Load: level levels/CastleStrike.lxl is in image format
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
n: LoadTheme: Theme dirt already loaded
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
n: Current cache size: 43 MB
n: Our external IP address is 89.76.5.247
n: Server is using OpenLieroX/0.58_rc3
n: CClient: got challenge response from OpenLieroX/0.58_rc3 server
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
n: GameServer: our local client has connected
H: Worm joined: Es (id 0, from local(OpenLieroX/0.58_rc3))
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
n: LoadTheme: Theme dirt already loaded
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
n: reusing cached map for levels/CastleStrike.lxl
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
n: GameServer::StartGame(), mod: Modern Warfare1.0, time: Mon Aug 4 22:29:46 2014
n: LoadTheme: Theme dirt already loaded
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
n: reusing cached map for levels/CastleStrike.lxl
n: Server Map loadtime: 0.350998 seconds
n: modLog: Loading game mod file MW 1.0/script.lgs
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
n: Server Mod loadtime: 4.134 seconds
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
n: preparing game mode Death Match
n: MaxFPS is 95
n: GameLoopStart
n: Client: Got ParsePrepareGame
n: Client: preparing worm 0:Es for battle
n: Client:ParseWormWeaponInfo: weapons for 0:Es: Energy Ball, Flak Grenade, Flamer, Nuclear Waste, Laser
H: Client: we are ready, waiting now for start game signal
n: Server: client local(OpenLieroX/0.58_rc3)(0 'Es') got ready
H: Server: BeginMatch for local(OpenLieroX/0.58_rc3)(0 'Es')
n: Server 'Frey' game state:
n: * playing, Death Match
n: * level=Castle Strike, mod=Modern Warfare1.0
n: * maxkills=15, lives=-2, timelimit=360 (curtime=0)
n: + 0:'Es', alive, lives=-2, kills=0 on local(OpenLieroX/0.58_rc3)
n: only 1 players left in game -> game over
H: Server: gameover, worm 0 has won the match
n: Server 'Frey' game state:
n: * playing, game is over, Death Match
n: * level=Castle Strike, mod=Modern Warfare1.0
n: * maxkills=15, lives=-2, timelimit=360 (curtime=0)
n: + 0:'Es', alive, lives=-2, kills=0 on local(OpenLieroX/0.58_rc3)
n: Client:ParseCLReady: weapons for 0:Es: Energy Ball, Flak Grenade, Flamer, Nuclear Waste, Laser
n: Client: get BeginMatch signal
H: Client: the game is over, the winner is worm 0:Es
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
n: Current cache size: 50 MB
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
n: Save screenshot to game_results
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
n: GameServer: gotoLobby (Client gamemenu -> quitgame)
n: Menu_Net_GotoHostLobby
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
n: LoadTheme: Theme dirt already loaded
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
n: reusing cached map for levels/CastleStrike.lxl
n: GameLoopEnd: Menu_Net_GotoHostLobby
n: Client: received gotoLobby signal
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
n: De-registering server at server.openlierox.net
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
n: De-registering server at thelobby.altervista.org/server
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
n: LoadTheme: Theme dirt already loaded
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
n: reusing cached map for levels/CastleStrike.lxl
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
n: IRC connected to #LieroX@irc.quakenet.org
H: server started on 127.0.1.1:23400
n: Client connect to 127.0.0.1:23400
n: sending challenge request to 127.0.0.1:23400
n: MaxFPS is 95
n: GameLoopStart
n: Server is using OpenLieroX/0.58_rc3
n: CClient: got challenge response from OpenLieroX/0.58_rc3 server
n: GameServer: our local client has connected
H: Worm joined: Es (id 0, from local(OpenLieroX/0.58_rc3))
H: Worm joined: [CPU] Kamikazee! (id 1, from local(OpenLieroX/0.58_rc3))
H: Worm joined: [CPU] N00b (id 2, from local(OpenLieroX/0.58_rc3))
H: Worm joined: [CPU] Dummi (id 3, from local(OpenLieroX/0.58_rc3))
n: GameServer::StartGame(), mod: Modern Warfare1.0, time: Mon Aug 4 22:30:18 2014
n: LoadTheme: Theme dirt already loaded
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
n: reusing cached map for levels/CastleStrike.lxl
n: Server Map loadtime: 0.283997 seconds
n: Server Mod loadtime: 0.000999451 seconds
n: preparing game mode Death Match
W: deltatime 0.933 is too high
n: Client: Got ParsePrepareGame
n: Client: preparing worm 0:Es for battle
n: Client: preparing worm 1:[CPU] Kamikazee! for battle
n: Client: preparing worm 2:[CPU] N00b for battle
n: Client: preparing worm 3:[CPU] Dummi for battle
n: Client:ParseWormWeaponInfo: weapons for 0:Es: DoomRockets, Twin Shotgun, Flak Grenade, Volcanic Gun, Force Field
H: Client: we are ready, waiting now for start game signal
n: Server: client local(OpenLieroX/0.58_rc3)(0 'Es', 1 '[CPU] Kamikazee!', 2 '[CPU] N00b', 3 '[CPU] Dummi') got ready
H: Server: BeginMatch for local(OpenLieroX/0.58_rc3)(0 'Es', 1 '[CPU] Kamikazee!', 2 '[CPU] N00b', 3 '[CPU] Dummi')
n: local Server 'Frey' game state:
n: * playing, Death Match
n: * level=Castle Strike, mod=Modern Warfare1.0
n: * maxkills=15, lives=-2, timelimit=360 (curtime=0)
n: + 0:'Es', alive, lives=-2, kills=0 on local(OpenLieroX/0.58_rc3)
n: + 1:'[CPU] Kamikazee!'(bot), alive, lives=-2, kills=0 on local(OpenLieroX/0.58_rc3)
n: + 2:'[CPU] N00b'(bot), alive, lives=-2, kills=0 on local(OpenLieroX/0.58_rc3)
n: + 3:'[CPU] Dummi'(bot), alive, lives=-2, kills=0 on local(OpenLieroX/0.58_rc3)
n: Client:ParseWormWeaponInfo: weapons for 1:[CPU] Kamikazee!: DoomRockets, Energy Ball, Flak Grenade, Rocket Launcher, Nuclear Waste
n: Client:ParseWormWeaponInfo: weapons for 2:[CPU] N00b: Volcanic Gun, Assassin's Shot, Flak Grenade, Nuclear Waste, Smoking Bomb
n: Client:ParseWormWeaponInfo: weapons for 3:[CPU] Dummi: Mortar Launcher, Force Field, DoomRockets, Nuclear Waste, Assassin's Shot
n: Client:ParseCLReady: weapons for 0:Es: DoomRockets, Twin Shotgun, Flak Grenade, Volcanic Gun, Force Field
n: Client:ParseCLReady: weapons for 1:[CPU] Kamikazee!: DoomRockets, Energy Ball, Flak Grenade, Rocket Launcher, Nuclear Waste
n: Client:ParseCLReady: weapons for 2:[CPU] N00b: Volcanic Gun, Assassin's Shot, Flak Grenade, Nuclear Waste, Smoking Bomb
n: Client:ParseCLReady: weapons for 3:[CPU] Dummi: Mortar Launcher, Force Field, DoomRockets, Nuclear Waste, Assassin's Shot
n: Client: get BeginMatch signal
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurredn: Current cache size: 50 MB
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
n: IRC connected to #LieroX@irc.quakenet.org
n: IRC connected to #LieroX@irc.quakenet.org
n: LoadTheme: Theme dirt already loaded
n: reusing cached map for levels/CastleStrike.lxl
n: GameLoopEnd: GotoLocalMenu
n: unloading PhysicsEngine LX56 physics ..
n: Shutting me down...
n: IRC: disconnected
n: Everything was shut down
n: waiting for all left threads and tasks
W: ThreadPool: waiting for 1 threads to finish:
W: thread cache timer is ready but was not cleaned up
W: there are still 1 pending events in the event queue
W: given thread cache timer is not working anymore
n: Good Bye and enjoy your day...
Standard Out/Err recovered
SmartPointer collision detector de-initialized, everything is freed now
Regards & respect
The screenshots should be somewhere in ~/.OpenLieroX/
.
About mouse movement: That was an experimental feature. Read here: http://www.openlierox.net/wiki/index.php/Mouse_control
About the white, bent lines which appear with bots: That is for debugging the bot path search algorithm. It is enabled by the DEBUG
flag. You can disable it by cmake -DDEBUG=Off .
.
Screenshots - now I've found them. Don't see a reason to put them in a hidden folder though. How I should have know they are there?
Mouse - I'm talking about menu, not the match. It is like mouse speed would be 100x faster than my settings. I understand resolution is affecting this but seems it's not the only thing. When I play on Windows version (wine can run .exe's on Linux), the mouse is way easier to navigate.
Pozdrawiam / Regards & respect, Patryk Frey
2014-08-05 10:40 GMT+02:00 Albert Zeyer notifications@github.com:
The screenshots should be somewhere in ~/.OpenLieroX/.
About mouse movement: That was an experimental feature. Read here: http://www.openlierox.net/wiki/index.php/Mouse_control
About the white, bent lines which appear with bots: That is for debugging the bot path search algorithm. It is enabled by the DEBUG flag. You can disable it by cmake -DDEBUG=Off ..
— Reply to this email directly or view it on GitHub https://github.com/albertz/openlierox/issues/782#issuecomment-51165731.
I see. About screenshots, not sure. Maybe open another report, if you think this is an issue. But OLX also stores a lot of other resources there. And many other Linux tools/games behave similar in this regard. Maybe we can just make that more obvious to the user.
About mouse: Maybe wine is doing something different, but I don't think this can easily be fixed on the OLX side. This might be a setting in Xorg or in your Window Manager. However, I'm currently working on the 0.59 version to get SDL2 working, and SDL2 will not change your screen resolution anymore (it resizes via OpenGL and always keeps the screen resolution), so that should also solve the mouse speed.
So, I'm closing this issue then. Open separate new issues if you think there are other problems which have to be fixed.
Hello.
I was playing OpenLieroX on Ubuntu 12.04, however after upgrade to 14.04 I cannot even install the game.
I got error at Software Center: requirements not meet libgd2-xpm (>= 2.0.33)
I tried to fix that by installing dev 2.1.0 version of the package above (dev as the only found). Nothing. There is no package libgd2-xpm to download at Synaptic (package manager). There is libgd2 perl version. Did not help either.
Regards & respect