Closed phoe closed 4 years ago
This should be fixed now.
Still broken.
┌─[phoe][phoetower][±][master ✓][/tmp/OpenRiichi]
└─▪ LANG=C make release
make: *** No rule to make target 'release'. Stop.
The README should be updated to use the new linuxRelease
option instead.
Even after successfully issuing make linuxRelease
, I cannot get it to run. It does not find libengine.so
even though the library is there.
┌─[phoe][phoetower][±][master ✓][/tmp/OpenRiichi]
└─▪ make linuxRelease
make -C ../Engine linuxRelease
make[1]: Wejście do katalogu '/tmp/Engine'
valac --library=libengine --vapi bin/libengine.vapi -X -Ofast -X -shared -X -fPIC -H bin/libengine.h -o bin/libengine.so *.vala Audio/*.vala Files/*.vala Helper/*.vala Properties/*.vala Rendering/*.vala Rendering/OpenGLRenderer/*.vala Rendering/OpenGLRenderer/Shaders/*.vala Rendering/Resources/*.vala Rendering/World/*.vala Window/*.vala Window/Controls/*.vala --thread --target-glib 2.54 --pkg gio-2.0 --pkg glew --pkg gee-0.8 --pkg gl --pkg SDL2_image --pkg sdl2 --pkg stb --pkg pangoft2 --pkg sfml-audio --pkg sfml-system --pkg zlib -X -Iinclude -X -lcsfml-audio -X -lcsfml-system -X -lm --vapidir=vapi -X -w -X -DGLEW_NO_GLU -D LINUX
Command-line option `--thread` is deprecated and will be ignored
make[1]: Opuszczenie katalogu '/tmp/Engine'
cp ../Engine/bin/libengine.so bin
valac -o bin/OpenRiichi source/*.vala source/Game/*.vala source/Game/Logic/*.vala source/Game/Rendering/*.vala source/Game/Rendering/Menu/*.vala source/GameServer/Bots/*.vala source/GameServer/GameState/*.vala source/GameServer/Server/*.vala source/MainMenu/*.vala source/MainMenu/Lobby/*.vala source/Tests/*.vala --pkg gee-0.8 --pkg gio-2.0 --pkg win32 --pkg libengine -X -L../Engine/bin -X -I../Engine/bin -X -lengine --vapidir=vapi --vapidir=../Engine/bin -X -w -X -Ofast -D LINUX
┌─[phoe][phoetower][±][master ✓][/tmp/OpenRiichi]
└─▪ bin/OpenRiichi
bin/OpenRiichi: error while loading shared libraries: libengine.so: cannot open shared object file: No such file or directory
┌─[phoe][phoetower][±][master ✓][/tmp/OpenRiichi]
└─▪ cd bin && ./OpenRiichi
./OpenRiichi: error while loading shared libraries: libengine.so: cannot open shared object file: No such file or directory
┌─[phoe][phoetower][±][master ✓][/tmp/OpenRiichi/bin]
└─▪ ls
Data libengine.so OpenRiichi
Right. Now it should work (hopefully).
Yay! It works once I am in the bin
directory.
However, it spams the terminal window with hundreds of failed assertions per second.
...
[2020-04-11_23-17-57] ERROR from glib(01): engine_render_texture_get_handle: assertion 'self != NULL' failed
[2020-04-11_23-17-57] ERROR from glib(01): engine_open_gl_renderer_open_gl_texture_resource_handle_get_handle: assertion 'self != NULL' failed
[2020-04-11_23-17-57] ERROR from glib(01): engine_open_gl_renderer_open_gl_texture_resource_handle_get_handle: assertion 'self != NULL' failed
[2020-04-11_23-17-57] ERROR from glib(01): engine_open_gl_renderer_open_gl_texture_resource_handle_get_handle: assertion 'self != NULL' failed
[2020-04-11_23-17-57] ERROR from glib(01): engine_render_texture_get_handle: assertion 'self != NULL' failed
[2020-04-11_23-17-57] ERROR from glib(01): engine_open_gl_renderer_open_gl_texture_resource_handle_get_handle: assertion 'self != NULL' failed
[2020-04-11_23-17-57] ERROR from glib(01): engine_open_gl_renderer_open_gl_texture_resource_handle_get_handle: assertion 'self != NULL' failed
[2020-04-11_23-17-57] ERROR from glib(01): engine_open_gl_renderer_open_gl_texture_resource_handle_get_handle: assertion 'self != NULL' failed
[2020-04-11_23-17-57] ERROR from glib(01): engine_render_texture_get_handle: assertion 'self != NULL' failed
[2020-04-11_23-17-57] ERROR from glib(01): engine_open_gl_renderer_open_gl_texture_resource_handle_get_handle: assertion 'self != NULL' failed
[2020-04-11_23-17-57] ERROR from glib(01): engine_open_gl_renderer_open_gl_texture_resource_handle_get_handle: assertion 'self != NULL' failed
[2020-04-11_23-17-57] ERROR from glib(01): engine_open_gl_renderer_open_gl_texture_resource_handle_get_handle: assertion 'self != NULL' failed
...
I guess that is worth another ticket though.