Can anyone help with this? I have been trying to install attractmode on a fresh ubuntu install for the last 3 days and can't get anywhere. I'm trying to follow the instructions from the AM website but when I try make, I get the following errors.
In file included from /usr/include/c++/13/backward/hash_map:60,
from extlibs/gameswf/base/container.h:75,
from extlibs/gameswf/base/tu_file.h:18,
from src/swf.cpp:26:
/usr/include/c++/13/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
32 | #warning \
| ^~~~~~~
Compiling obj/fe_net.o...
In file included from src/fe_net.cpp:23:
src/fe_net.hpp:67:21: error: field ‘m_url’ has incomplete type ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’}
67 | std::string m_url;
| ^~~~~
In file included from /usr/include/c++/13/iosfwd:41,
from /usr/include/c++/13/bits/std_thread.h:38,
from /usr/include/c++/13/thread:45,
from src/fe_net.hpp:27:
/usr/include/c++/13/bits/stringfwd.h:72:11: note: declaration of ‘std::string’ {aka ‘class std::__cxx11::basic_string<char>’}
72 | class basic_string;
| ^~~~~~~~~~~~
src/fe_net.hpp:68:21: error: field ‘m_filename’ has incomplete type ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’}
68 | std::string m_filename;
| ^~~~~~~~~~
/usr/include/c++/13/bits/stringfwd.h:72:11: note: declaration of ‘std::string’ {aka ‘class std::__cxx11::basic_string<char>’}
72 | class basic_string;
| ^~~~~~~~~~~~
src/fe_net.hpp:69:21: error: field ‘m_result’ has incomplete type ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’}
69 | std::string m_result;
| ^~~~~~~~
/usr/include/c++/13/bits/stringfwd.h:72:11: note: declaration of ‘std::string’ {aka ‘class std::__cxx11::basic_string<char>’}
72 | class basic_string;
| ^~~~~~~~~~~~
make: *** [Makefile:507: obj/fe_net.o] Error 1