-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crash Artix latest #212
Comments
Thanks for the info! I can't reproduce the crash, unfortunately, but I've fixed the warning you mentioned: |
anyway I can debug this? |
I was building using arch aur tried to directly clone and build cmake CMake Warning (dev) at /usr/share/cmake/Modules/FindOpenGL.cmake:315 (message): FindOpenGL found both a legacy GL library:
and GLVND libraries for OpenGL and GLX:
OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for make ** tolua warning: Mapping variable to global may degrade performance. [ 6%] Building CXX object CMakeFiles/wyrmgus.dir/cmake_pch.hxx.gch /Projects/Wyrmgus/src/unit/unit.cpp: In instantiation of ‘void MapMarkUnitSightRec(const CUnit&, const Vec2i&, int, int) [with void (* sight_marker)(const CPlayer&, unsigned int, int) = MapMarkTileSight; void (* detect_cloak_marker)(const CPlayer&, unsigned int, int) = MapMarkTileDetectCloak; void (* ethereal_vision_marker)(const CPlayer&, unsigned int, int) = MapMarkTileDetectEthereal; Vec2i = Vec2T]’: |
Sorry, I had just set warnings to be treated as errors (in order to use the GitHub actions reports to get better info on possible bug sources). I made that an option which is set to OFF by default now, so it should compile for you now. About crash info, there should be an stderr.txt file in your game's folder. Within it there could be more information on the crash. |
not in .local/share/Wyrmsun or the save below it edit: |
where can I find crash info?
crashes a few min into first dwarf scenario
built on artix today
warnings
[ 16%] Building CXX object CMakeFiles/wyrmgus.dir/Unity/unity_player_cxx.cxx.o
In file included from /run/media/a/Greg/Projects/wyrmsun/src/Wyrmgus-5.3.5/CMakeFiles/wyrmgus.dir/Unity/unity_player_cxx.cxx:17:
/run/media/a/Greg/Projects/wyrmsun/src/Wyrmgus-5.3.5/src/player/player.cpp: In member function ‘void CPlayer::set_enemy_diplomatic_stance_with(CPlayer*)’:
/run/media/a/Greg/Projects/wyrmsun/src/Wyrmgus-5.3.5/src/player/player.cpp:5176:57: warning: format not a string literal and no format arguments [-Wformat-security]
5176 | CPlayer::GetThisPlayer()->Notify(message.c_str());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
==> Checking for packaging issues...
==> WARNING: Package contains reference to $srcdir
usr/bin/wyrmgus
==> Creating package "wyrmsun"...
only 2
The text was updated successfully, but these errors were encountered: