Created
May 4, 2025 19:31
-
-
Save valdar/0042b5986b94d57651e0a48532ef7fa5 to your computer and use it in GitHub Desktop.
wesnot development 1.19.11 compile error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
src/game_launcher.cpp: In member function ‘void game_launcher::start_wesnothd()’: | |
src/game_launcher.cpp:787:21: error: ‘child’ is not a member of ‘bp’ | |
787 | bp::child c(wesnothd_program, "-c", config); | |
| ^~~~~ | |
src/game_launcher.cpp:791:17: error: ‘c’ was not declared in this scope | |
791 | c.detach(); | |
| ^ | |
src/game_launcher.cpp:797:38: error: expected unqualified-id before ‘&’ token | |
797 | catch(const bp::process_error& e) | |
| ^ | |
src/game_launcher.cpp:797:38: error: expected ‘)’ before ‘&’ token | |
797 | catch(const bp::process_error& e) | |
| ~ ^ | |
| ) | |
src/game_launcher.cpp:797:38: error: expected ‘{’ before ‘&’ token | |
src/game_launcher.cpp:797:40: error: ‘e’ was not declared in this scope | |
797 | catch(const bp::process_error& e) | |
| ^ | |
g++ -o build/release/gui/auxiliary/iterator/iterator.o -c -Werror=non-virtual-dtor -std=c++17 -Wold-style-cast -Wall -Wextra -pthread -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wtrampolines -fPIE -fstack-protector-strong -O3 -flto=4 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_LIBDBUS -DHAVE_HISTORY -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -D_X11 -DFIFODIR='"/run/wesnothd-devel"' -DWESNOTH_PATH='"/usr/share/wesnoth-devel"' -DLOCALEDIR='"translations"' -DHAS_RELATIVE_LOCALEDIR -DPREFERENCES_DIR=\".local/share/wesnoth/1.19\" -Ibuild -Isrc -isystem /usr/include/SDL2 -isystem /usr/include/cairo -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/harfbuzz -isystem /usr/include/glib-2.0 -isystem /usr/lib/glib-2.0/include -isystem /usr/include/sysprof-6 -isystem /usr/include/pixman-1 -isystem /usr/include/pango-1.0 -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/fribidi -isystem /usr/include/dbus-1.0 -isystem /usr/lib/dbus-1.0/include src/gui/auxiliary/iterator/iterator.cpp | |
scons: *** [build/release/game_launcher.o] Error 1 | |
scons: building terminated because of errors. | |
==> ERROR: A failure occurred in build(). | |
Aborting... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment