------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/indexinfo-0.3.1.tgz Installing /packages/All/gettext-runtime-0.20.1.tgz Installing /packages/All/gmake-4.2.1_3.tgz Installing /packages/All/pkgconf-1.6.1,1.tgz Installing /packages/All/xorgproto-2019.1.tgz Installing /packages/All/libXau-1.0.9.tgz Installing /packages/All/libXdmcp-1.1.3.tgz Installing /packages/All/libxml2-2.9.9.tgz Installing /packages/All/libpthread-stubs-0.4.tgz Installing /packages/All/libxcb-1.13.1.tgz Installing /packages/All/libX11-1.6.8,1.tgz Installing /packages/All/libXext-1.3.4,1.tgz Installing /packages/All/libXrender-0.9.10_2.tgz Installing /packages/All/libXrandr-1.5.2.tgz Installing /packages/All/libogg-1.3.3,4.tgz Installing /packages/All/flac-1.3.2_1.tgz Installing /packages/All/libvorbis-1.3.6,3.tgz Installing /packages/All/libsndfile-1.0.28_2.tgz Installing /packages/All/png-1.6.37.tgz Installing /packages/All/freetype2-2.10.1.tgz Message from freetype2-2.10.1: The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as the default, emulating a modern version of ClearType. This change inevitably leads to different rendering results, and you might change port's options to adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment variable). The environment variable "FREETYPE_PROPERTIES" can be used to control the driver properties. Example: FREETYPE_PROPERTIES=truetype:interpreter-version=35 \ cff:no-stem-darkening=1 \ autofitter:warping=1 This allows to select, say, the subpixel hinting mode at runtime for a given application. If LONG_PCF_NAMES port's option was enabled, the PCF family names may include the foundry and information whether they contain wide characters. For example, "Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at run time with using pcf:no-long-family-names property, if needed. Example: FREETYPE_PROPERTIES=pcf:no-long-family-names=1 How to recreate fontconfig cache with using such environment variable, if needed: # env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv The controllable properties are listed in the section "Controlling FreeType Modules" in the reference's table of contents (/usr/local/share/doc/freetype2/reference/site/index.html, if documentation was installed). Installing /packages/All/jpeg-turbo-2.0.2.tgz Installing /packages/All/openal-soft-1.19.1_3.tgz Installing /packages/All/expat-2.2.6_1.tgz Installing /packages/All/libffi-3.2.1_3.tgz Installing /packages/All/wayland-1.16.0.tgz Installing /packages/All/pciids-20190725.tgz Installing /packages/All/libpciaccess-0.16.tgz Installing /packages/All/libdrm-2.4.99.tgz Installing /packages/All/libelf-0.8.13_3.tgz Installing /packages/All/libXfixes-5.0.3_2.tgz Installing /packages/All/libXdamage-1.1.5.tgz Installing /packages/All/libxshmfence-1.3.tgz Installing /packages/All/libXxf86vm-1.1.4_3.tgz Installing /packages/All/mesa-libs-18.3.2_1.tgz Installing /packages/All/libGLU-9.0.0_3.tgz SUCCEEDED 00:00:03 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- x/!\ sfml1-1.6_4: Makefile warnings, please consider fixing /!\ Using USE_GL alone is deprecated, please add USES=gl. SUCCEEDED 00:00:10 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- x SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- x SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- x/!\ sfml1-1.6_4: Makefile warnings, please consider fixing /!\ Using USE_GL alone is deprecated, please add USES=gl. ===> Fetching all distfiles required by sfml1-1.6_4 for building SUCCEEDED 00:00:11 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- x/!\ sfml1-1.6_4: Makefile warnings, please consider fixing /!\ Using USE_GL alone is deprecated, please add USES=gl. ===> Fetching all distfiles required by sfml1-1.6_4 for building => SHA256 Checksum OK for SFML-1.6-sdk-linux-32.tar.gz. SUCCEEDED 00:00:10 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- x SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- x/!\ sfml1-1.6_4: Makefile warnings, please consider fixing /!\ Using USE_GL alone is deprecated, please add USES=gl. ===> Fetching all distfiles required by sfml1-1.6_4 for building ===> Extracting for sfml1-1.6_4 => SHA256 Checksum OK for SFML-1.6-sdk-linux-32.tar.gz. Extracted Memory Use: 24.88M SUCCEEDED 00:00:11 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- x SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- x===> Patching for sfml1-1.6_4 ===> Converting DOS text files to UNIX text files ===> Applying ports patches for sfml1-1.6_4 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- x SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- x SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- x===> Configuring for sfml1-1.6_4 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- x===> Building for sfml1-1.6_4 gmake[1]: Entering directory '/construction/devel/sfml1/SFML-1.6' gmake[2]: Entering directory '/construction/devel/sfml1/SFML-1.6/src/SFML' gmake[3]: Entering directory '/construction/devel/sfml1/SFML-1.6/src/SFML/System' c++ -o Randomizer.o -c Randomizer.cpp -pipe -O2 -fno-strict-aliasing -W -Wall -pedantic -I../../../include -I../../ -fPIC -I/usr/local/include -I/usr/local/include/freetype2 gmake[3]: Entering directory '/construction/devel/sfml1/SFML-1.6/src/SFML/Graphics' c++ -o Font.o -c Font.cpp -pipe -O2 -fno-strict-aliasing -I../../../include -I../.. -fPIC -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/include/freetype2 c++ -o Lock.o -c Lock.cpp -pipe -O2 -fno-strict-aliasing -W -Wall -pedantic -I../../../include -I../../ -fPIC -I/usr/local/include -I/usr/local/include/freetype2 c++ -o Sleep.o -c Sleep.cpp -pipe -O2 -fno-strict-aliasing -W -Wall -pedantic -I../../../include -I../../ -fPIC -I/usr/local/include -I/usr/local/include/freetype2 c++ -o Clock.o -c Clock.cpp -pipe -O2 -fno-strict-aliasing -W -Wall -pedantic -I../../../include -I../../ -fPIC -I/usr/local/include -I/usr/local/include/freetype2 gmake[3]: Entering directory '/construction/devel/sfml1/SFML-1.6/src/SFML/Network' c++ -o Ftp.o -c Ftp.cpp -pipe -O2 -fno-strict-aliasing -W -Wall -pedantic -I../../../include -I../../ -fPIC -I/usr/local/include -I/usr/local/include/freetype2 gmake[3]: Entering directory '/construction/devel/sfml1/SFML-1.6/src/SFML/Window' c++ -o WindowImpl.o -c WindowImpl.cpp -pipe -O2 -fno-strict-aliasing -W -Wall -pedantic -I../../../include -I../../ -fPIC -I/usr/local/include -I/usr/local/include/freetype2 c++ -o Unicode.o -c Unicode.cpp -pipe -O2 -fno-strict-aliasing -W -Wall -pedantic -I../../../include -I../../ -fPIC -I/usr/local/include -I/usr/local/include/freetype2 c++ -o Unix/Mutex.o -c Unix/Mutex.cpp -pipe -O2 -fno-strict-aliasing -W -Wall -pedantic -I../../../include -I../../ -fPIC -I/usr/local/include -I/usr/local/include/freetype2 gmake[3]: Entering directory '/construction/devel/sfml1/SFML-1.6/src/SFML/Audio' c++ -o SoundFile.o -c SoundFile.cpp -pipe -O2 -fno-strict-aliasing -W -Wall -pedantic -I../../../include -I../../ -fPIC -I/usr/local/include -I/usr/local/include/freetype2 In file included from ../../../include/SFML/System/Randomizer.hpp:31, from Randomizer.cpp:28: ../../../include/SFML/Config.hpp:60:6: error: #error This operating system is not supported by SFML library #error This operating system is not supported by SFML library ^~~~~ In file included from ../../../include/SFML/System/NonCopyable.hpp:31, from ../../../include/SFML/System/Lock.hpp:31, from Lock.cpp:28: ../../../include/SFML/Config.hpp:60:6: error: #error This operating system is not supported by SFML library #error This operating system is not supported by SFML library ^~~~~ In file included from ../../../include/SFML/System/Sleep.hpp:31, from Sleep.cpp:28: ../../../include/SFML/Config.hpp:60:6: error: #error This operating system is not supported by SFML library #error This operating system is not supported by SFML library ^~~~~ In file included from ../../../include/SFML/System/NonCopyable.hpp:31, from ../../../include/SFML/System/Unix/Mutex.hpp:31, from Unix/Mutex.cpp:28: ../../../include/SFML/Config.hpp:60:6: error: #error This operating system is not supported by SFML library #error This operating system is not supported by SFML library ^~~~~ In file included from ../../../include/SFML/System/Unicode.hpp:31, from Unicode.cpp:28: ../../../include/SFML/Config.hpp:60:6: error: #error This operating system is not supported by SFML library #error This operating system is not supported by SFML library ^~~~~ In file included from ../../SFML/Window/WindowImpl.hpp:31, from WindowImpl.cpp:28: ../../../include/SFML/Config.hpp:60:6: error: #error This operating system is not supported by SFML library #error This operating system is not supported by SFML library ^~~~~ In file included from ../../../include/SFML/System/NonCopyable.hpp:31, from ../../SFML/Audio/SoundFile.hpp:31, from SoundFile.cpp:28: ../../../include/SFML/Config.hpp:60:6: error: #error This operating system is not supported by SFML library #error This operating system is not supported by SFML library ^~~~~ Sleep.cpp: In function 'void sf::Sleep(float)': Sleep.cpp:40:9: error: 'priv' has not been declared priv::Platform::Sleep(Duration); ^~~~ In file included from ../../../include/SFML/System/NonCopyable.hpp:31, from ../../../include/SFML/Network/Ftp.hpp:31, from Ftp.cpp:28: ../../../include/SFML/Config.hpp:60:6: error: #error This operating system is not supported by SFML library #error This operating system is not supported by SFML library ^~~~~ gmake[3]: *** [Makefile:23: Sleep.o] Error 1 gmake[3]: *** Waiting for unfinished jobs.... c++ -o Packet.o -c Packet.cpp -pipe -O2 -fno-strict-aliasing -W -Wall -pedantic -I../../../include -I../../ -fPIC -I/usr/local/include -I/usr/local/include/freetype2 gmake[3]: *** [Makefile:23: Lock.o] Error 1 c++ -o FontLoader.o -c FontLoader.cpp -pipe -O2 -fno-strict-aliasing -I../../../include -I../.. -fPIC -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/include/freetype2 In file included from ../../../include/SFML/System/Unicode.hpp:31, from ../../../include/SFML/Graphics/Font.hpp:33, from Font.cpp:28: ../../../include/SFML/Config.hpp:60:6: error: #error This operating system is not supported by SFML library #error This operating system is not supported by SFML library ^~~~~ gmake[3]: *** [Makefile:23: Unix/Mutex.o] Error 1 c++ -o SelectorBase.o -c SelectorBase.cpp -pipe -O2 -fno-strict-aliasing -W -Wall -pedantic -I../../../include -I../../ -fPIC -I/usr/local/include -I/usr/local/include/freetype2 In file included from ../../../include/SFML/System/NonCopyable.hpp:31, from ../../SFML/Graphics/FontLoader.hpp:31, from FontLoader.cpp:28: ../../../include/SFML/Config.hpp:60:6: error: #error This operating system is not supported by SFML library #error This operating system is not supported by SFML library ^~~~~ In file included from ../../../include/SFML/System/Clock.hpp:31, from Clock.cpp:28: ../../../include/SFML/Config.hpp:60:6: error: #error This operating system is not supported by SFML library #error This operating system is not supported by SFML library ^~~~~ gmake[3]: *** [Makefile:23: Randomizer.o] Error 1 c++ -o Drawable.o -c Drawable.cpp -pipe -O2 -fno-strict-aliasing -I../../../include -I../.. -fPIC -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/include/freetype2 Clock.cpp: In member function 'float sf::Clock::GetElapsedTime() const': Clock.cpp:48:35: error: 'sf::priv' has not been declared return static_cast(sf::priv::Platform::GetSystemTime() - myStartTime); ^~~~ In file included from ../../../include/SFML/Network/Packet.hpp:31, from Packet.cpp:28: ../../../include/SFML/Config.hpp:60:6: error: #error This operating system is not supported by SFML library #error This operating system is not supported by SFML library ^~~~~ In file included from ../../../include/SFML/Graphics/Color.hpp:31, from ../../../include/SFML/Graphics/Drawable.hpp:32, from Drawable.cpp:28: ../../../include/SFML/Config.hpp:60:6: error: #error This operating system is not supported by SFML library #error This operating system is not supported by SFML library ^~~~~ Clock.cpp: In member function 'void sf::Clock::Reset()': Clock.cpp:57:23: error: 'sf::priv' has not been declared myStartTime = sf::priv::Platform::GetSystemTime(); ^~~~ gmake[3]: *** [Makefile:23: Clock.o] Error 1 c++ -o SoundStream.o -c SoundStream.cpp -pipe -O2 -fno-strict-aliasing -W -Wall -pedantic -I../../../include -I../../ -fPIC -I/usr/local/include -I/usr/local/include/freetype2 In file included from ../../../include/SFML/Audio/AudioResource.hpp:31, from ../../../include/SFML/Audio/Sound.hpp:33, from ../../../include/SFML/Audio/SoundStream.hpp:31, from SoundStream.cpp:28: ../../../include/SFML/Config.hpp:60:6: error: #error This operating system is not supported by SFML library #error This operating system is not supported by SFML library ^~~~~ In file included from WindowImpl.cpp:28: ../../SFML/Window/WindowImpl.hpp:85:24: error: expected ';' at end of member declaration static WindowImpl* New(WindowHandle Handle, WindowSettings& Params); ^~~ ; ../../SFML/Window/WindowImpl.hpp:85:28: error: 'sf::priv::WindowImpl* sf::priv::WindowImpl::New' conflicts with a previous declaration static WindowImpl* New(WindowHandle Handle, WindowSettings& Params); ^~~~~~~~~~~~ ../../SFML/Window/WindowImpl.hpp:74:24: note: previous declaration 'sf::priv::WindowImpl::New' static WindowImpl* New(VideoMode Mode, const std::string& Title, unsigned long WindowStyle, WindowSettings& Params); ^~~ ../../SFML/Window/WindowImpl.hpp:85:40: error: expected ')' before 'Handle' static WindowImpl* New(WindowHandle Handle, WindowSettings& Params); ~ ^~~~~~~ ) In file included from WindowImpl.cpp:28: ../../SFML/Window/WindowImpl.hpp:297:5: error: 'Joystick' does not name a type; did you mean 'JoystickState'? Joystick myJoysticks[Joy::Count]; ///< Joysticks to observe ^~~~~~~~ JoystickState In file included from SoundStream.cpp:28: ../../../include/SFML/Audio/SoundStream.hpp:72:14: error: 'size_t' in namespace 'sf::std' does not name a type std::size_t NbSamples; ///< Number of samples pointed by Samples ^~~~~~ WindowImpl.cpp: In static member function 'static sf::priv::WindowImpl* sf::priv::WindowImpl::New()': WindowImpl.cpp:61:16: error: expected type-specifier before 'WindowImplType' return new WindowImplType(); ^~~~~~~~~~~~~~ WindowImpl.cpp:61:15: error: expected ';' before 'WindowImplType' return new WindowImplType(); ^~~~~~~~~~~~~~~ ; WindowImpl.cpp:61:16: error: 'WindowImplType' was not declared in this scope return new WindowImplType(); ^~~~~~~~~~~~~~ WindowImpl.cpp:61:16: note: suggested alternative: 'WindowImpl' return new WindowImplType(); ^~~~~~~~~~~~~~ WindowImpl WindowImpl.cpp: In static member function 'static sf::priv::WindowImpl* sf::priv::WindowImpl::New(sf::VideoMode, const string&, long unsigned int, sf::WindowSettings&)': WindowImpl.cpp:70:16: error: expected type-specifier before 'WindowImplType' return new WindowImplType(Mode, Title, WindowStyle, Params); ^~~~~~~~~~~~~~ WindowImpl.cpp:70:15: error: expected ';' before 'WindowImplType' return new WindowImplType(Mode, Title, WindowStyle, Params); ^~~~~~~~~~~~~~~ ; WindowImpl.cpp:70:16: error: 'WindowImplType' was not declared in this scope return new WindowImplType(Mode, Title, WindowStyle, Params); ^~~~~~~~~~~~~~ WindowImpl.cpp:70:16: note: suggested alternative: 'WindowImpl' return new WindowImplType(Mode, Title, WindowStyle, Params); ^~~~~~~~~~~~~~ WindowImpl WindowImpl.cpp: At global scope: WindowImpl.cpp:77:29: error: 'sf::priv::WindowImpl* sf::priv::WindowImpl::New' is not a static data member of 'class sf::priv::WindowImpl' WindowImpl* WindowImpl::New(WindowHandle Handle, WindowSettings& Params) ^~~~~~~~~~~~ WindowImpl.cpp:77:29: error: 'WindowHandle' was not declared in this scope WindowImpl.cpp:77:29: note: suggested alternative: 'WindowImpl' WindowImpl* WindowImpl::New(WindowHandle Handle, WindowSettings& Params) ^~~~~~~~~~~~ WindowImpl WindowImpl.cpp:77:64: error: expected primary-expression before '&' token WindowImpl* WindowImpl::New(WindowHandle Handle, WindowSettings& Params) ^ WindowImpl.cpp:77:66: error: 'Params' was not declared in this scope WindowImpl* WindowImpl::New(WindowHandle Handle, WindowSettings& Params) ^~~~~~ WindowImpl.cpp:77:72: error: expression list treated as compound expression in initializer [-fpermissive] WindowImpl* WindowImpl::New(WindowHandle Handle, WindowSettings& Params) ^ WindowImpl.cpp: In member function 'void sf::priv::WindowImpl::Initialize()': WindowImpl.cpp:130:9: error: 'myJoysticks' was not declared in this scope myJoysticks[i].Initialize(i); ^~~~~~~~~~~ WindowImpl.cpp:130:9: note: suggested alternative: 'myJoyStates' myJoysticks[i].Initialize(i); ^~~~~~~~~~~ myJoyStates WindowImpl.cpp: In static member function 'static bool sf::priv::WindowImpl::IsContextActive()': WindowImpl.cpp:182:12: error: 'WindowImplType' has not been declared return WindowImplType::IsContextActive(); ^~~~~~~~~~~~~~ WindowImpl.cpp: In member function 'void sf::priv::WindowImpl::ProcessJoystickEvents()': WindowImpl.cpp:221:26: error: 'myJoysticks' was not declared in this scope myJoyStates[i] = myJoysticks[i].UpdateState(); ^~~~~~~~~~~ WindowImpl.cpp:221:26: note: suggested alternative: 'myJoyStates' myJoyStates[i] = myJoysticks[i].UpdateState(); ^~~~~~~~~~~ myJoyStates In file included from ../../../include/SFML/Network/SelectorBase.hpp:31, from SelectorBase.cpp:32: ../../../include/SFML/Config.hpp:60:6: error: #error This operating system is not supported by SFML library #error This operating system is not supported by SFML library ^~~~~ gmake[3]: *** [Makefile:24: WindowImpl.o] Error 1 gmake[3]: Leaving directory '/construction/devel/sfml1/SFML-1.6/src/SFML/Window' gmake[2]: *** [Makefile:42: sfml-window] Error 2 c++ -o Sound.o -c Sound.cpp -pipe -O2 -fno-strict-aliasing -W -Wall -pedantic -I../../../include -I../../ -fPIC -I/usr/local/include -I/usr/local/include/freetype2 gmake[2]: *** Waiting for unfinished jobs.... In file included from ../../SFML/Audio/AudioDevice.hpp:31, from SoundStream.cpp:29: ../../SFML/Audio/OpenAL.hpp:71:37: error: 'string' in namespace 'sf::std' does not name a type inline void ALCheckError(const std::string& File, unsigned int Line) ^~~~~~ ../../SFML/Audio/OpenAL.hpp: In function 'void sf::priv::ALCheckError(const int&, unsigned int)': ../../SFML/Audio/OpenAL.hpp:78:14: error: 'string' is not a member of 'sf::std' std::string Error, Desc; ^~~~~~ ../../SFML/Audio/OpenAL.hpp:78:14: note: suggested alternative: In file included from /usr/include/c++/8.0/iosfwd:39, from /usr/include/c++/8.0/ios:38, from /usr/include/c++/8.0/ostream:38, from /usr/include/c++/8.0/iostream:39, from ../../SFML/Audio/OpenAL.hpp:41, from ../../SFML/Audio/AudioDevice.hpp:31, from SoundStream.cpp:29: /usr/include/c++/8.0/bits/stringfwd.h:74:33: note: 'std::__cxx11::string' typedef basic_string string; ^~~~~~ In file included from ../../../include/SFML/Audio/AudioResource.hpp:31, from ../../../include/SFML/Audio/Sound.hpp:33, from Sound.cpp:28: ../../../include/SFML/Config.hpp:60:6: error: #error This operating system is not supported by SFML library #error This operating system is not supported by SFML library ^~~~~ In file included from ../../SFML/Audio/AudioDevice.hpp:31, from SoundStream.cpp:29: ../../SFML/Audio/OpenAL.hpp:85:17: error: 'Error' was not declared in this scope Error = "AL_INVALID_NAME"; ^~~~~ ../../SFML/Audio/OpenAL.hpp:85:17: note: suggested alternative: 'perror' Error = "AL_INVALID_NAME"; ^~~~~ perror ../../SFML/Audio/OpenAL.hpp:86:17: error: 'Desc' was not declared in this scope Desc = "an unacceptable name has been specified"; ^~~~ ../../SFML/Audio/OpenAL.hpp:86:17: note: suggested alternative: 'getc' Desc = "an unacceptable name has been specified"; ^~~~ getc ../../SFML/Audio/OpenAL.hpp:92:17: error: 'Error' was not declared in this scope Error = "AL_INVALID_ENUM"; ^~~~~ ../../SFML/Audio/OpenAL.hpp:92:17: note: suggested alternative: 'perror' Error = "AL_INVALID_ENUM"; ^~~~~ perror ../../SFML/Audio/OpenAL.hpp:93:17: error: 'Desc' was not declared in this scope Desc = "an unacceptable value has been specified for an enumerated argument"; ^~~~ ../../SFML/Audio/OpenAL.hpp:93:17: note: suggested alternative: 'getc' Desc = "an unacceptable value has been specified for an enumerated argument"; ^~~~ getc ../../SFML/Audio/OpenAL.hpp:99:17: error: 'Error' was not declared in this scope Error = "AL_INVALID_VALUE"; ^~~~~ ../../SFML/Audio/OpenAL.hpp:99:17: note: suggested alternative: 'perror' Error = "AL_INVALID_VALUE"; ^~~~~ perror ../../SFML/Audio/OpenAL.hpp:100:17: error: 'Desc' was not declared in this scope Desc = "a numeric argument is out of range"; ^~~~ ../../SFML/Audio/OpenAL.hpp:100:17: note: suggested alternative: 'getc' Desc = "a numeric argument is out of range"; ^~~~ getc ../../SFML/Audio/OpenAL.hpp:106:17: error: 'Error' was not declared in this scope Error = "AL_INVALID_OPERATION"; ^~~~~ ../../SFML/Audio/OpenAL.hpp:106:17: note: suggested alternative: 'perror' Error = "AL_INVALID_OPERATION"; ^~~~~ perror ../../SFML/Audio/OpenAL.hpp:107:17: error: 'Desc' was not declared in this scope Desc = "the specified operation is not allowed in the current state"; ^~~~ ../../SFML/Audio/OpenAL.hpp:107:17: note: suggested alternative: 'getc' Desc = "the specified operation is not allowed in the current state"; ^~~~ getc ../../SFML/Audio/OpenAL.hpp:113:17: error: 'Error' was not declared in this scope Error = "AL_OUT_OF_MEMORY"; ^~~~~ ../../SFML/Audio/OpenAL.hpp:113:17: note: suggested alternative: 'perror' Error = "AL_OUT_OF_MEMORY"; ^~~~~ perror ../../SFML/Audio/OpenAL.hpp:114:17: error: 'Desc' was not declared in this scope Desc = "there is not enough memory left to execute the command"; ^~~~ ../../SFML/Audio/OpenAL.hpp:114:17: note: suggested alternative: 'getc' Desc = "there is not enough memory left to execute the command"; ^~~~ getc ../../SFML/Audio/OpenAL.hpp:120:14: error: 'cerr' is not a member of 'sf::std' std::cerr << "An internal OpenAL call failed in " ^~~~ ../../SFML/Audio/OpenAL.hpp:120:14: note: suggested alternative: In file included from ../../SFML/Audio/OpenAL.hpp:41, from ../../SFML/Audio/AudioDevice.hpp:31, from SoundStream.cpp:29: /usr/include/c++/8.0/iostream:62:18: note: 'std::cerr' extern ostream cerr; /// Linked to standard error (unbuffered) ^~~~ In file included from ../../SFML/Audio/AudioDevice.hpp:31, from SoundStream.cpp:29: ../../SFML/Audio/OpenAL.hpp:121:27: error: request for member 'substr' in 'File', which is of non-class type 'const int' << File.substr(File.find_last_of("\\/") + 1) << " (" << Line << ") : " ^~~~~~ ../../SFML/Audio/OpenAL.hpp:121:39: error: request for member 'find_last_of' in 'File', which is of non-class type 'const int' << File.substr(File.find_last_of("\\/") + 1) << " (" << Line << ") : " ^~~~~~~~~~~~ ../../SFML/Audio/OpenAL.hpp:122:22: error: 'Error' was not declared in this scope << Error << ", " << Desc ^~~~~ ../../SFML/Audio/OpenAL.hpp:122:22: note: suggested alternative: 'perror' << Error << ", " << Desc ^~~~~ perror ../../SFML/Audio/OpenAL.hpp:122:39: error: 'Desc' was not declared in this scope << Error << ", " << Desc ^~~~ ../../SFML/Audio/OpenAL.hpp:122:39: note: suggested alternative: 'getc' << Error << ", " << Desc ^~~~ getc ../../SFML/Audio/OpenAL.hpp:123:27: error: 'endl' is not a member of 'sf::std' << std::endl; ^~~~ ../../SFML/Audio/OpenAL.hpp:123:27: note: suggested alternative: In file included from /usr/include/c++/8.0/iostream:39, from ../../SFML/Audio/OpenAL.hpp:41, from ../../SFML/Audio/AudioDevice.hpp:31, from SoundStream.cpp:29: /usr/include/c++/8.0/ostream:590:5: note: 'std::endl' endl(basic_ostream<_CharT, _Traits>& __os) ^~~~ SoundStream.cpp: In member function 'void sf::SoundStream::Initialize(unsigned int, unsigned int)': SoundStream.cpp:77:14: error: 'cerr' is not a member of 'sf::std' std::cerr << "Unsupported number of channels (" << myChannelsCount << ")" << std::endl; ^~~~ SoundStream.cpp:77:14: note: suggested alternative: In file included from ../../SFML/Audio/OpenAL.hpp:41, from ../../SFML/Audio/AudioDevice.hpp:31, from SoundStream.cpp:29: /usr/include/c++/8.0/iostream:62:18: note: 'std::cerr' extern ostream cerr; /// Linked to standard error (unbuffered) ^~~~ SoundStream.cpp:77:91: error: 'endl' is not a member of 'sf::std' std::cerr << "Unsupported number of channels (" << myChannelsCount << ")" << std::endl; ^~~~ SoundStream.cpp:77:91: note: suggested alternative: In file included from /usr/include/c++/8.0/iostream:39, from ../../SFML/Audio/OpenAL.hpp:41, from ../../SFML/Audio/AudioDevice.hpp:31, from SoundStream.cpp:29: /usr/include/c++/8.0/ostream:590:5: note: 'std::endl' endl(basic_ostream<_CharT, _Traits>& __os) ^~~~ SoundStream.cpp: In member function 'void sf::SoundStream::Play()': SoundStream.cpp:90:14: error: 'cerr' is not a member of 'sf::std' std::cerr << "Failed to play audio stream : sound parameters have not been initialized (call Initialize first)" << std::endl; ^~~~ SoundStream.cpp:90:14: note: suggested alternative: In file included from ../../SFML/Audio/OpenAL.hpp:41, from ../../SFML/Audio/AudioDevice.hpp:31, from SoundStream.cpp:29: /usr/include/c++/8.0/iostream:62:18: note: 'std::cerr' extern ostream cerr; /// Linked to standard error (unbuffered) ^~~~ SoundStream.cpp:90:129: error: 'endl' is not a member of 'sf::std' std::cerr << "Failed to play audio stream : sound parameters have not been initialized (call Initialize first)" << std::endl; ^~~~ SoundStream.cpp:90:129: note: suggested alternative: In file included from /usr/include/c++/8.0/iostream:39, from ../../SFML/Audio/OpenAL.hpp:41, from ../../SFML/Audio/AudioDevice.hpp:31, from SoundStream.cpp:29: /usr/include/c++/8.0/ostream:590:5: note: 'std::endl' endl(basic_ostream<_CharT, _Traits>& __os) ^~~~ SoundStream.cpp: In member function 'virtual void sf::SoundStream::Run()': SoundStream.cpp:192:50: error: invalid conversion from 'const char*' to 'int' [-fpermissive] ALCheck(alGenBuffers(BuffersCount, myBuffers)); ^ In file included from ../../SFML/Audio/AudioDevice.hpp:31, from SoundStream.cpp:29: ../../SFML/Audio/OpenAL.hpp:71:45: note: initializing argument 1 of 'void sf::priv::ALCheckError(const int&, unsigned int)' inline void ALCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ SoundStream.cpp:221:82: error: invalid conversion from 'const char*' to 'int' [-fpermissive] ALCheck(alGetSourcei(Sound::mySource, AL_BUFFERS_PROCESSED, &NbProcessed)); ^ ../../SFML/Audio/OpenAL.hpp:71:45: note: initializing argument 1 of 'void sf::priv::ALCheckError(const int&, unsigned int)' inline void ALCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ SoundStream.cpp:227:72: error: invalid conversion from 'const char*' to 'int' [-fpermissive] ALCheck(alSourceUnqueueBuffers(Sound::mySource, 1, &Buffer)); ^ ../../SFML/Audio/OpenAL.hpp:71:45: note: initializing argument 1 of 'void sf::priv::ALCheckError(const int&, unsigned int)' inline void ALCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ SoundStream.cpp:248:61: error: invalid conversion from 'const char*' to 'int' [-fpermissive] ALCheck(alGetBufferi(Buffer, AL_SIZE, &Size)); ^ ../../SFML/Audio/OpenAL.hpp:71:45: note: initializing argument 1 of 'void sf::priv::ALCheckError(const int&, unsigned int)' inline void ALCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ SoundStream.cpp:272:53: error: invalid conversion from 'const char*' to 'int' [-fpermissive] ALCheck(alSourcei(Sound::mySource, AL_BUFFER, 0)); ^ ../../SFML/Audio/OpenAL.hpp:71:45: note: initializing argument 1 of 'void sf::priv::ALCheckError(const int&, unsigned int)' inline void ALCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ SoundStream.cpp:273:53: error: invalid conversion from 'const char*' to 'int' [-fpermissive] ALCheck(alDeleteBuffers(BuffersCount, myBuffers)); ^ ../../SFML/Audio/OpenAL.hpp:71:45: note: initializing argument 1 of 'void sf::priv::ALCheckError(const int&, unsigned int)' inline void ALCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ SoundStream.cpp: In member function 'bool sf::SoundStream::FillAndPushBuffer(unsigned int)': SoundStream.cpp:286:26: error: too many initializers for 'sf::SoundStream::Chunk' Chunk Data = {NULL, 0}; ^ SoundStream.cpp:296:40: error: 'struct sf::SoundStream::Chunk' has no member named 'NbSamples'; did you mean 'Samples'? if (!Data.Samples || (Data.NbSamples == 0)) ^~~~~~~~~ Samples SoundStream.cpp:309:30: error: 'struct sf::SoundStream::Chunk' has no member named 'NbSamples'; did you mean 'Samples'? if (Data.Samples && Data.NbSamples) ^~~~~~~~~ Samples SoundStream.cpp:314:50: error: 'struct sf::SoundStream::Chunk' has no member named 'NbSamples'; did you mean 'Samples'? ALsizei Size = static_cast(Data.NbSamples) * sizeof(Int16); ^~~~~~~~~ Samples SoundStream.cpp:315:81: error: invalid conversion from 'const char*' to 'int' [-fpermissive] ALCheck(alBufferData(Buffer, myFormat, Data.Samples, Size, mySampleRate)); ^ In file included from ../../SFML/Audio/AudioDevice.hpp:31, from SoundStream.cpp:29: ../../SFML/Audio/OpenAL.hpp:71:45: note: initializing argument 1 of 'void sf::priv::ALCheckError(const int&, unsigned int)' inline void ALCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ SoundStream.cpp:318:66: error: invalid conversion from 'const char*' to 'int' [-fpermissive] ALCheck(alSourceQueueBuffers(Sound::mySource, 1, &Buffer)); ^ ../../SFML/Audio/OpenAL.hpp:71:45: note: initializing argument 1 of 'void sf::priv::ALCheckError(const int&, unsigned int)' inline void ALCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ SoundStream.cpp: In member function 'void sf::SoundStream::ClearQueue()': SoundStream.cpp:349:72: error: invalid conversion from 'const char*' to 'int' [-fpermissive] ALCheck(alGetSourcei(Sound::mySource, AL_BUFFERS_QUEUED, &NbQueued)); ^ ../../SFML/Audio/OpenAL.hpp:71:45: note: initializing argument 1 of 'void sf::priv::ALCheckError(const int&, unsigned int)' inline void ALCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ SoundStream.cpp:354:68: error: invalid conversion from 'const char*' to 'int' [-fpermissive] ALCheck(alSourceUnqueueBuffers(Sound::mySource, 1, &Buffer)); ^ ../../SFML/Audio/OpenAL.hpp:71:45: note: initializing argument 1 of 'void sf::priv::ALCheckError(const int&, unsigned int)' inline void ALCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ gmake[3]: *** [Makefile:23: Packet.o] Error 1 gmake[3]: *** Waiting for unfinished jobs.... c++ -o String.o -c String.cpp -pipe -O2 -fno-strict-aliasing -I../../../include -I../.. -fPIC -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/include/freetype2 In file included from ../../../include/SFML/System/Unicode.hpp:31, from ../../../include/SFML/Graphics/String.hpp:32, from String.cpp:28: ../../../include/SFML/Config.hpp:60:6: error: #error This operating system is not supported by SFML library #error This operating system is not supported by SFML library ^~~~~ In file included from Sound.cpp:29: ../../../include/SFML/Audio/SoundBuffer.hpp:78:34: error: 'string' in namespace 'sf::std' does not name a type bool LoadFromFile(const std::string& Filename); ^~~~~~ ../../../include/SFML/Audio/SoundBuffer.hpp:89:48: error: 'sf::std::size_t' has not been declared bool LoadFromMemory(const char* Data, std::size_t SizeInBytes); ^~~~~~ ../../../include/SFML/Audio/SoundBuffer.hpp:103:53: error: 'sf::std::size_t' has not been declared bool LoadFromSamples(const Int16* Samples, std::size_t SamplesCount, unsigned int ChannelsCount, unsigned int SampleRate); ^~~~~~ ../../../include/SFML/Audio/SoundBuffer.hpp:113:32: error: 'string' in namespace 'sf::std' does not name a type bool SaveToFile(const std::string& Filename) const; ^~~~~~ ../../../include/SFML/Audio/SoundBuffer.hpp:129:10: error: 'size_t' in namespace 'sf::std' does not name a type std::size_t GetSamplesCount() const; ^~~~~~ ../../../include/SFML/Audio/SoundBuffer.hpp:199:18: error: 'set' in namespace 'sf::std' does not name a template type typedef std::set SoundList; ///< Set of unique sound instances ^~~ ../../../include/SFML/Audio/SoundBuffer.hpp:205:10: error: 'vector' in namespace 'sf::std' does not name a template type std::vector mySamples; ///< Samples buffer ^~~~~~ ../../../include/SFML/Audio/SoundBuffer.hpp:207:13: error: 'SoundList' does not name a type; did you mean 'Sound'? mutable SoundList mySounds; ///< List of sounds that are using this buffer ^~~~~~~~~ Sound In file included from Drawable.cpp:30: ../../../include/SFML/Window/Window.hpp:83:24: error: expected ')' before 'Handle' Window(WindowHandle Handle, const WindowSettings& Params = WindowSettings()); ~ ^~~~~~~ ) ../../../include/SFML/Window/Window.hpp:109:17: error: 'WindowHandle' has not been declared void Create(WindowHandle Handle, const WindowSettings& Params = WindowSettings()); ^~~~~~~~~~~~ gmake[3]: *** [Makefile:23: SelectorBase.o] Error 1 c++ -o Image.o -c Image.cpp -pipe -O2 -fno-strict-aliasing -I../../../include -I../.. -fPIC -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/include/freetype2 gmake[3]: *** [Makefile:25: SoundFile.o] Error 1 gmake[3]: *** Waiting for unfinished jobs.... c++ -o RenderWindow.o -c RenderWindow.cpp -pipe -O2 -fno-strict-aliasing -I../../../include -I../.. -fPIC -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/include/freetype2 gmake[3]: *** [Makefile:33: Drawable.o] Error 1 gmake[3]: *** Waiting for unfinished jobs.... In file included from ../../../include/SFML/Graphics/Color.hpp:31, from ../../../include/SFML/Graphics/Image.hpp:32, from ../../../include/SFML/Graphics/RenderWindow.hpp:31, from RenderWindow.cpp:28: ../../../include/SFML/Config.hpp:60:6: error: #error This operating system is not supported by SFML library #error This operating system is not supported by SFML library ^~~~~ gmake[3]: *** [Makefile:25: SoundStream.o] Error 1 In file included from ../../../include/SFML/Graphics/Color.hpp:31, from ../../../include/SFML/Graphics/Image.hpp:32, from Image.cpp:28: ../../../include/SFML/Config.hpp:60:6: error: #error This operating system is not supported by SFML library #error This operating system is not supported by SFML library ^~~~~ In file included from Sound.cpp:30: ../../SFML/Audio/OpenAL.hpp:71:37: error: 'string' in namespace 'sf::std' does not name a type inline void ALCheckError(const std::string& File, unsigned int Line) ^~~~~~ ../../SFML/Audio/OpenAL.hpp: In function 'void sf::priv::ALCheckError(const int&, unsigned int)': ../../SFML/Audio/OpenAL.hpp:78:14: error: 'string' is not a member of 'sf::std' std::string Error, Desc; ^~~~~~ ../../SFML/Audio/OpenAL.hpp:78:14: note: suggested alternative: In file included from /usr/include/c++/8.0/string:39, from ../../../include/SFML/Audio/SoundBuffer.hpp:33, from Sound.cpp:29: /usr/include/c++/8.0/bits/stringfwd.h:74:33: note: 'std::__cxx11::string' typedef basic_string string; ^~~~~~ In file included from Sound.cpp:30: ../../SFML/Audio/OpenAL.hpp:85:17: error: 'Error' was not declared in this scope Error = "AL_INVALID_NAME"; ^~~~~ ../../SFML/Audio/OpenAL.hpp:85:17: note: suggested alternative: 'perror' Error = "AL_INVALID_NAME"; ^~~~~ perror ../../SFML/Audio/OpenAL.hpp:86:17: error: 'Desc' was not declared in this scope Desc = "an unacceptable name has been specified"; ^~~~ ../../SFML/Audio/OpenAL.hpp:86:17: note: suggested alternative: 'getc' Desc = "an unacceptable name has been specified"; ^~~~ getc ../../SFML/Audio/OpenAL.hpp:92:17: error: 'Error' was not declared in this scope Error = "AL_INVALID_ENUM"; ^~~~~ ../../SFML/Audio/OpenAL.hpp:92:17: note: suggested alternative: 'perror' Error = "AL_INVALID_ENUM"; ^~~~~ perror ../../SFML/Audio/OpenAL.hpp:93:17: error: 'Desc' was not declared in this scope Desc = "an unacceptable value has been specified for an enumerated argument"; ^~~~ ../../SFML/Audio/OpenAL.hpp:93:17: note: suggested alternative: 'getc' Desc = "an unacceptable value has been specified for an enumerated argument"; ^~~~ getc ../../SFML/Audio/OpenAL.hpp:99:17: error: 'Error' was not declared in this scope Error = "AL_INVALID_VALUE"; ^~~~~ ../../SFML/Audio/OpenAL.hpp:99:17: note: suggested alternative: 'perror' Error = "AL_INVALID_VALUE"; ^~~~~ perror ../../SFML/Audio/OpenAL.hpp:100:17: error: 'Desc' was not declared in this scope Desc = "a numeric argument is out of range"; ^~~~ ../../SFML/Audio/OpenAL.hpp:100:17: note: suggested alternative: 'getc' Desc = "a numeric argument is out of range"; ^~~~ getc ../../SFML/Audio/OpenAL.hpp:106:17: error: 'Error' was not declared in this scope Error = "AL_INVALID_OPERATION"; ^~~~~ ../../SFML/Audio/OpenAL.hpp:106:17: note: suggested alternative: 'perror' Error = "AL_INVALID_OPERATION"; ^~~~~ perror ../../SFML/Audio/OpenAL.hpp:107:17: error: 'Desc' was not declared in this scope Desc = "the specified operation is not allowed in the current state"; ^~~~ ../../SFML/Audio/OpenAL.hpp:107:17: note: suggested alternative: 'getc' Desc = "the specified operation is not allowed in the current state"; ^~~~ getc ../../SFML/Audio/OpenAL.hpp:113:17: error: 'Error' was not declared in this scope Error = "AL_OUT_OF_MEMORY"; ^~~~~ ../../SFML/Audio/OpenAL.hpp:113:17: note: suggested alternative: 'perror' Error = "AL_OUT_OF_MEMORY"; ^~~~~ perror ../../SFML/Audio/OpenAL.hpp:114:17: error: 'Desc' was not declared in this scope Desc = "there is not enough memory left to execute the command"; ^~~~ ../../SFML/Audio/OpenAL.hpp:114:17: note: suggested alternative: 'getc' Desc = "there is not enough memory left to execute the command"; ^~~~ getc ../../SFML/Audio/OpenAL.hpp:120:14: error: 'cerr' is not a member of 'sf::std' std::cerr << "An internal OpenAL call failed in " ^~~~ ../../SFML/Audio/OpenAL.hpp:120:14: note: suggested alternative: In file included from ../../SFML/Audio/OpenAL.hpp:41, from Sound.cpp:30: /usr/include/c++/8.0/iostream:62:18: note: 'std::cerr' extern ostream cerr; /// Linked to standard error (unbuffered) ^~~~ In file included from Sound.cpp:30: ../../SFML/Audio/OpenAL.hpp:121:27: error: request for member 'substr' in 'File', which is of non-class type 'const int' << File.substr(File.find_last_of("\\/") + 1) << " (" << Line << ") : " ^~~~~~ ../../SFML/Audio/OpenAL.hpp:121:39: error: request for member 'find_last_of' in 'File', which is of non-class type 'const int' << File.substr(File.find_last_of("\\/") + 1) << " (" << Line << ") : " ^~~~~~~~~~~~ ../../SFML/Audio/OpenAL.hpp:122:22: error: 'Error' was not declared in this scope << Error << ", " << Desc ^~~~~ ../../SFML/Audio/OpenAL.hpp:122:22: note: suggested alternative: 'perror' << Error << ", " << Desc ^~~~~ perror ../../SFML/Audio/OpenAL.hpp:122:39: error: 'Desc' was not declared in this scope << Error << ", " << Desc ^~~~ ../../SFML/Audio/OpenAL.hpp:122:39: note: suggested alternative: 'getc' << Error << ", " << Desc ^~~~ getc ../../SFML/Audio/OpenAL.hpp:123:27: error: 'endl' is not a member of 'sf::std' << std::endl; ^~~~ ../../SFML/Audio/OpenAL.hpp:123:27: note: suggested alternative: In file included from /usr/include/c++/8.0/iostream:39, from ../../SFML/Audio/OpenAL.hpp:41, from Sound.cpp:30: /usr/include/c++/8.0/ostream:590:5: note: 'std::endl' endl(basic_ostream<_CharT, _Traits>& __os) ^~~~ Sound.cpp: In constructor 'sf::Sound::Sound()': Sound.cpp:40:39: error: invalid conversion from 'const char*' to 'int' [-fpermissive] ALCheck(alGenSources(1, &mySource)); ^ In file included from Sound.cpp:30: ../../SFML/Audio/OpenAL.hpp:71:45: note: initializing argument 1 of 'void sf::priv::ALCheckError(const int&, unsigned int)' inline void ALCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Sound.cpp:41:46: error: invalid conversion from 'const char*' to 'int' [-fpermissive] ALCheck(alSourcei(mySource, AL_BUFFER, 0)); ^ ../../SFML/Audio/OpenAL.hpp:71:45: note: initializing argument 1 of 'void sf::priv::ALCheckError(const int&, unsigned int)' inline void ALCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Sound.cpp: In constructor 'sf::Sound::Sound(const sf::SoundBuffer&, bool, float, float, const Vector3f&)': Sound.cpp:51:39: error: invalid conversion from 'const char*' to 'int' [-fpermissive] ALCheck(alGenSources(1, &mySource)); ^ ../../SFML/Audio/OpenAL.hpp:71:45: note: initializing argument 1 of 'void sf::priv::ALCheckError(const int&, unsigned int)' inline void ALCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Sound.cpp: In copy constructor 'sf::Sound::Sound(const sf::Sound&)': Sound.cpp:68:39: error: invalid conversion from 'const char*' to 'int' [-fpermissive] ALCheck(alGenSources(1, &mySource)); ^ ../../SFML/Audio/OpenAL.hpp:71:45: note: initializing argument 1 of 'void sf::priv::ALCheckError(const int&, unsigned int)' inline void ALCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Sound.cpp: In destructor 'virtual sf::Sound::~Sound()': Sound.cpp:92:54: error: invalid conversion from 'const char*' to 'int' [-fpermissive] ALCheck(alSourcei(mySource, AL_BUFFER, 0)); ^ ../../SFML/Audio/OpenAL.hpp:71:45: note: initializing argument 1 of 'void sf::priv::ALCheckError(const int&, unsigned int)' inline void ALCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Sound.cpp:95:46: error: invalid conversion from 'const char*' to 'int' [-fpermissive] ALCheck(alDeleteSources(1, &mySource)); ^ ../../SFML/Audio/OpenAL.hpp:71:45: note: initializing argument 1 of 'void sf::priv::ALCheckError(const int&, unsigned int)' inline void ALCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Sound.cpp: In member function 'void sf::Sound::Play()': Sound.cpp:105:35: error: invalid conversion from 'const char*' to 'int' [-fpermissive] ALCheck(alSourcePlay(mySource)); ^ ../../SFML/Audio/OpenAL.hpp:71:45: note: initializing argument 1 of 'void sf::priv::ALCheckError(const int&, unsigned int)' inline void ALCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Sound.cpp: In member function 'void sf::Sound::Pause()': Sound.cpp:114:36: error: invalid conversion from 'const char*' to 'int' [-fpermissive] ALCheck(alSourcePause(mySource)); ^ ../../SFML/Audio/OpenAL.hpp:71:45: note: initializing argument 1 of 'void sf::priv::ALCheckError(const int&, unsigned int)' inline void ALCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Sound.cpp: In member function 'void sf::Sound::Stop()': Sound.cpp:123:35: error: invalid conversion from 'const char*' to 'int' [-fpermissive] ALCheck(alSourceStop(mySource)); ^ ../../SFML/Audio/OpenAL.hpp:71:45: note: initializing argument 1 of 'void sf::priv::ALCheckError(const int&, unsigned int)' inline void ALCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Sound.cpp: In member function 'void sf::Sound::SetBuffer(const sf::SoundBuffer&)': Sound.cpp:142:63: error: invalid conversion from 'const char*' to 'int' [-fpermissive] ALCheck(alSourcei(mySource, AL_BUFFER, myBuffer->myBuffer)); ^ ../../SFML/Audio/OpenAL.hpp:71:45: note: initializing argument 1 of 'void sf::priv::ALCheckError(const int&, unsigned int)' inline void ALCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Sound.cpp: In member function 'void sf::Sound::SetLoop(bool)': Sound.cpp:151:50: error: invalid conversion from 'const char*' to 'int' [-fpermissive] ALCheck(alSourcei(mySource, AL_LOOPING, Loop)); ^ ../../SFML/Audio/OpenAL.hpp:71:45: note: initializing argument 1 of 'void sf::priv::ALCheckError(const int&, unsigned int)' inline void ALCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Sound.cpp: In member function 'void sf::Sound::SetPitch(float)': Sound.cpp:160:49: error: invalid conversion from 'const char*' to 'int' [-fpermissive] ALCheck(alSourcef(mySource, AL_PITCH, Pitch)); ^ ../../SFML/Audio/OpenAL.hpp:71:45: note: initializing argument 1 of 'void sf::priv::ALCheckError(const int&, unsigned int)' inline void ALCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Sound.cpp: In member function 'void sf::Sound::SetVolume(float)': Sound.cpp:169:57: error: invalid conversion from 'const char*' to 'int' [-fpermissive] ALCheck(alSourcef(mySource, AL_GAIN, Volume * 0.01f)); ^ ../../SFML/Audio/OpenAL.hpp:71:45: note: initializing argument 1 of 'void sf::priv::ALCheckError(const int&, unsigned int)' inline void ALCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Sound.cpp: In member function 'void sf::Sound::SetPosition(float, float, float)': Sound.cpp:178:55: error: invalid conversion from 'const char*' to 'int' [-fpermissive] ALCheck(alSource3f(mySource, AL_POSITION, X, Y, Z)); ^ ../../SFML/Audio/OpenAL.hpp:71:45: note: initializing argument 1 of 'void sf::priv::ALCheckError(const int&, unsigned int)' inline void ALCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Sound.cpp: In member function 'void sf::Sound::SetRelativeToListener(bool)': Sound.cpp:199:62: error: invalid conversion from 'const char*' to 'int' [-fpermissive] ALCheck(alSourcei(mySource, AL_SOURCE_RELATIVE, Relative)); ^ ../../SFML/Audio/OpenAL.hpp:71:45: note: initializing argument 1 of 'void sf::priv::ALCheckError(const int&, unsigned int)' inline void ALCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Sound.cpp: In member function 'void sf::Sound::SetMinDistance(float)': Sound.cpp:210:68: error: invalid conversion from 'const char*' to 'int' [-fpermissive] ALCheck(alSourcef(mySource, AL_REFERENCE_DISTANCE, MinDistance)); ^ ../../SFML/Audio/OpenAL.hpp:71:45: note: initializing argument 1 of 'void sf::priv::ALCheckError(const int&, unsigned int)' inline void ALCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Sound.cpp: In member function 'void sf::Sound::SetAttenuation(float)': Sound.cpp:221:64: error: invalid conversion from 'const char*' to 'int' [-fpermissive] ALCheck(alSourcef(mySource, AL_ROLLOFF_FACTOR, Attenuation)); ^ ../../SFML/Audio/OpenAL.hpp:71:45: note: initializing argument 1 of 'void sf::priv::ALCheckError(const int&, unsigned int)' inline void ALCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Sound.cpp: In member function 'void sf::Sound::SetPlayingOffset(float)': Sound.cpp:230:59: error: invalid conversion from 'const char*' to 'int' [-fpermissive] ALCheck(alSourcef(mySource, AL_SEC_OFFSET, TimeOffset)); ^ ../../SFML/Audio/OpenAL.hpp:71:45: note: initializing argument 1 of 'void sf::priv::ALCheckError(const int&, unsigned int)' inline void ALCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Sound.cpp: In member function 'bool sf::Sound::GetLoop() const': Sound.cpp:249:54: error: invalid conversion from 'const char*' to 'int' [-fpermissive] ALCheck(alGetSourcei(mySource, AL_LOOPING, &Loop)); ^ ../../SFML/Audio/OpenAL.hpp:71:45: note: initializing argument 1 of 'void sf::priv::ALCheckError(const int&, unsigned int)' inline void ALCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Sound.cpp: In member function 'float sf::Sound::GetPitch() const': Sound.cpp:261:53: error: invalid conversion from 'const char*' to 'int' [-fpermissive] ALCheck(alGetSourcef(mySource, AL_PITCH, &Pitch)); ^ ../../SFML/Audio/OpenAL.hpp:71:45: note: initializing argument 1 of 'void sf::priv::ALCheckError(const int&, unsigned int)' inline void ALCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Sound.cpp: In member function 'float sf::Sound::GetVolume() const': Sound.cpp:273:51: error: invalid conversion from 'const char*' to 'int' [-fpermissive] ALCheck(alGetSourcef(mySource, AL_GAIN, &Gain)); ^ ../../SFML/Audio/OpenAL.hpp:71:45: note: initializing argument 1 of 'void sf::priv::ALCheckError(const int&, unsigned int)' inline void ALCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Sound.cpp: In member function 'sf::Vector3f sf::Sound::GetPosition() const': Sound.cpp:285:88: error: invalid conversion from 'const char*' to 'int' [-fpermissive] ALCheck(alGetSource3f(mySource, AL_POSITION, &Position.x, &Position.y, &Position.z)); ^ ../../SFML/Audio/OpenAL.hpp:71:45: note: initializing argument 1 of 'void sf::priv::ALCheckError(const int&, unsigned int)' inline void ALCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Sound.cpp: In member function 'bool sf::Sound::IsRelativeToListener() const': Sound.cpp:298:66: error: invalid conversion from 'const char*' to 'int' [-fpermissive] ALCheck(alGetSourcei(mySource, AL_SOURCE_RELATIVE, &Relative)); ^ ../../SFML/Audio/OpenAL.hpp:71:45: note: initializing argument 1 of 'void sf::priv::ALCheckError(const int&, unsigned int)' inline void ALCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Sound.cpp: In member function 'float sf::Sound::GetMinDistance() const': Sound.cpp:310:72: error: invalid conversion from 'const char*' to 'int' [-fpermissive] ALCheck(alGetSourcef(mySource, AL_REFERENCE_DISTANCE, &MinDistance)); ^ ../../SFML/Audio/OpenAL.hpp:71:45: note: initializing argument 1 of 'void sf::priv::ALCheckError(const int&, unsigned int)' inline void ALCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Sound.cpp: In member function 'float sf::Sound::GetAttenuation() const': Sound.cpp:322:68: error: invalid conversion from 'const char*' to 'int' [-fpermissive] ALCheck(alGetSourcef(mySource, AL_ROLLOFF_FACTOR, &Attenuation)); ^ ../../SFML/Audio/OpenAL.hpp:71:45: note: initializing argument 1 of 'void sf::priv::ALCheckError(const int&, unsigned int)' inline void ALCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Sound.cpp: In member function 'float sf::Sound::GetPlayingOffset() const': Sound.cpp:334:60: error: invalid conversion from 'const char*' to 'int' [-fpermissive] ALCheck(alGetSourcef(mySource, AL_SEC_OFFSET, &Seconds)); ^ ../../SFML/Audio/OpenAL.hpp:71:45: note: initializing argument 1 of 'void sf::priv::ALCheckError(const int&, unsigned int)' inline void ALCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Sound.cpp: In member function 'sf::Sound::Status sf::Sound::GetStatus() const': Sound.cpp:346:60: error: invalid conversion from 'const char*' to 'int' [-fpermissive] ALCheck(alGetSourcei(mySource, AL_SOURCE_STATE, &State)); ^ ../../SFML/Audio/OpenAL.hpp:71:45: note: initializing argument 1 of 'void sf::priv::ALCheckError(const int&, unsigned int)' inline void ALCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Sound.cpp: In member function 'void sf::Sound::ResetBuffer()': Sound.cpp:400:46: error: invalid conversion from 'const char*' to 'int' [-fpermissive] ALCheck(alSourcei(mySource, AL_BUFFER, 0)); ^ ../../SFML/Audio/OpenAL.hpp:71:45: note: initializing argument 1 of 'void sf::priv::ALCheckError(const int&, unsigned int)' inline void ALCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ gmake[3]: *** [Makefile:23: Ftp.o] Error 1 gmake[3]: Leaving directory '/construction/devel/sfml1/SFML-1.6/src/SFML/Network' gmake[2]: *** [Makefile:46: sfml-network] Error 2 In file included from ../../../include/SFML/Graphics/Font.hpp:33, from Font.cpp:28: ../../../include/SFML/System/Unicode.hpp:54:18: error: 'basic_string' in namespace 'sf::std' does not name a template type typedef std::basic_string UTF8String; ^~~~~~~~~~~~ ../../../include/SFML/System/Unicode.hpp:55:18: error: 'basic_string' in namespace 'sf::std' does not name a template type typedef std::basic_string UTF16String; ^~~~~~~~~~~~ ../../../include/SFML/System/Unicode.hpp:56:18: error: 'basic_string' in namespace 'sf::std' does not name a template type typedef std::basic_string UTF32String; ^~~~~~~~~~~~ ../../../include/SFML/System/Unicode.hpp:84:25: error: 'string' in namespace 'sf::std' does not name a type Text(const std::string& Str); ^~~~~~ ../../../include/SFML/System/Unicode.hpp:85:25: error: 'wstring' in namespace 'sf::std' does not name a type Text(const std::wstring& Str); ^~~~~~~ ../../../include/SFML/System/Unicode.hpp:85:9: error: 'sf::Unicode::Text::Text(const int&)' cannot be overloaded with 'sf::Unicode::Text::Text(const int&)' Text(const std::wstring& Str); ^~~~ ../../../include/SFML/System/Unicode.hpp:84:9: note: previous declaration 'sf::Unicode::Text::Text(const int&)' Text(const std::string& Str); ^~~~ ../../../include/SFML/System/Unicode.hpp:86:29: error: invalid use of incomplete type 'class sf::Unicode' Text(const Unicode::UTF8String& Str); ^~~~~~~~~~ ../../../include/SFML/System/Unicode.hpp:44:16: note: forward declaration of 'class sf::Unicode' class SFML_API Unicode ^~~~~~~ ../../../include/SFML/System/Unicode.hpp:86:9: error: 'sf::Unicode::Text::Text(const int&)' cannot be overloaded with 'sf::Unicode::Text::Text(const int&)' Text(const Unicode::UTF8String& Str); ^~~~ ../../../include/SFML/System/Unicode.hpp:84:9: note: previous declaration 'sf::Unicode::Text::Text(const int&)' Text(const std::string& Str); ^~~~ ../../../include/SFML/System/Unicode.hpp:87:29: error: invalid use of incomplete type 'class sf::Unicode' Text(const Unicode::UTF16String& Str); ^~~~~~~~~~~ ../../../include/SFML/System/Unicode.hpp:44:16: note: forward declaration of 'class sf::Unicode' class SFML_API Unicode ^~~~~~~ ../../../include/SFML/System/Unicode.hpp:87:9: error: 'sf::Unicode::Text::Text(const int&)' cannot be overloaded with 'sf::Unicode::Text::Text(const int&)' Text(const Unicode::UTF16String& Str); ^~~~ ../../../include/SFML/System/Unicode.hpp:84:9: note: previous declaration 'sf::Unicode::Text::Text(const int&)' Text(const std::string& Str); ^~~~ ../../../include/SFML/System/Unicode.hpp:88:29: error: invalid use of incomplete type 'class sf::Unicode' Text(const Unicode::UTF32String& Str); ^~~~~~~~~~~ ../../../include/SFML/System/Unicode.hpp:44:16: note: forward declaration of 'class sf::Unicode' class SFML_API Unicode ^~~~~~~ ../../../include/SFML/System/Unicode.hpp:88:9: error: 'sf::Unicode::Text::Text(const int&)' cannot be overloaded with 'sf::Unicode::Text::Text(const int&)' Text(const Unicode::UTF32String& Str); ^~~~ ../../../include/SFML/System/Unicode.hpp:84:9: note: previous declaration 'sf::Unicode::Text::Text(const int&)' Text(const std::string& Str); ^~~~ ../../../include/SFML/System/Unicode.hpp:96:24: error: expected type-specifier operator std::string () const; ^~~ ../../../include/SFML/System/Unicode.hpp:97:24: error: expected type-specifier operator std::wstring () const; ^~~ ../../../include/SFML/System/Unicode.hpp:98:24: error: expected type-specifier operator Unicode::UTF8String () const; ^~~~~~~ ../../../include/SFML/System/Unicode.hpp:99:24: error: expected type-specifier operator Unicode::UTF16String () const; ^~~~~~~ gmake[3]: *** [Makefile:25: Sound.o] Error 1../../../include/SFML/System/Unicode.hpp:100:24: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] operator const Unicode::UTF32String&() const; ^~~~~~~ gmake[3]: Leaving directory '/construction/devel/sfml1/SFML-1.6/src/SFML/Audio' gmake[2]: *** [Makefile:54: sfml-audio] Error 2 ../../../include/SFML/System/Unicode.hpp:100:9: error: 'operator const int' does not name a type operator const Unicode::UTF32String&() const; ^~~~~~~~ ../../../include/SFML/System/Unicode.hpp:107:22: error: invalid use of incomplete type 'class sf::Unicode' sf::Unicode::UTF32String myUTF32String; ///< UTF-32 unicode text ^~~~~~~~~~~ ../../../include/SFML/System/Unicode.hpp:44:16: note: forward declaration of 'class sf::Unicode' class SFML_API Unicode ^~~~~~~ In file included from ../../../include/SFML/Graphics/Font.hpp:33, from Font.cpp:28: ../../../include/SFML/System/Unicode.hpp:124:93: error: 'locale' in namespace 'sf::std' does not name a type static Out UTF32ToANSI(In Begin, In End, Out Output, char Replacement = '?', const std::locale& Locale = GetDefaultLocale()); ^~~~~~ ../../../include/SFML/System/Unicode.hpp:139:69: error: 'locale' in namespace 'sf::std' does not name a type static Out ANSIToUTF32(In Begin, In End, Out Output, const std::locale& Locale = GetDefaultLocale()); ^~~~~~ ../../../include/SFML/System/Unicode.hpp:241:17: error: 'size_t' in namespace 'sf::std' does not name a type static std::size_t GetUTF8Length(In Begin, In End); ^~~~~~ ../../../include/SFML/System/Unicode.hpp:253:17: error: 'size_t' in namespace 'sf::std' does not name a type static std::size_t GetUTF16Length(In Begin, In End); ^~~~~~ ../../../include/SFML/System/Unicode.hpp:265:17: error: 'size_t' in namespace 'sf::std' does not name a type static std::size_t GetUTF32Length(In Begin, In End); ^~~~~~ ../../../include/SFML/System/Unicode.hpp:275:23: error: 'locale' in namespace 'sf::std' does not name a type static const std::locale& GetDefaultLocale(); ^~~~~~ ../../../include/SFML/System/Unicode.hpp:124:110: error: there are no arguments to 'GetDefaultLocale' that depend on a template parameter, so a declaration of 'GetDefaultLocale' must be available [-fpermissive] static Out UTF32ToANSI(In Begin, In End, Out Output, char Replacement = '?', const std::locale& Locale = GetDefaultLocale()); ^~~~~~~~~~~~~~~~ ../../../include/SFML/System/Unicode.hpp:124:110: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) ../../../include/SFML/System/Unicode.hpp:139:86: error: there are no arguments to 'GetDefaultLocale' that depend on a template parameter, so a declaration of 'GetDefaultLocale' must be available [-fpermissive] static Out ANSIToUTF32(In Begin, In End, Out Output, const std::locale& Locale = GetDefaultLocale()); ^~~~~~~~~~~~~~~~ In file included from ../../../include/SFML/System/Unicode.hpp:285, from ../../../include/SFML/Graphics/Font.hpp:33, from Font.cpp:28: ../../../include/SFML/System/Unicode.inl:31:92: error: 'locale' in namespace 'sf::std' does not name a type inline Out Unicode::UTF32ToANSI(In Begin, In End, Out Output, char Replacement, const std::locale& Locale) ^~~~~~ ../../../include/SFML/System/Unicode.inl: In static member function 'static Out sf::Unicode::UTF32ToANSI(In, In, Out, char, const int&)': ../../../include/SFML/System/Unicode.inl:50:20: error: 'ctype' in namespace 'sf::std' does not name a template type const std::ctype& Facet = std::use_facet< std::ctype >(Locale); ^~~~~ ../../../include/SFML/System/Unicode.inl:54:25: error: 'Facet' was not declared in this scope *Output++ = Facet.narrow(static_cast(*Begin++), Replacement); ^~~~~ In file included from ../../../include/SFML/Graphics/String.hpp:32, from String.cpp:28: ../../../include/SFML/System/Unicode.hpp:54:18: error: 'basic_string' in namespace 'sf::std' does not name a template type typedef std::basic_string UTF8String; ^~~~~~~~~~~~ ../../../include/SFML/System/Unicode.hpp:55:18: error: 'basic_string' in namespace 'sf::std' does not name a template type typedef std::basic_string UTF16String; ^~~~~~~~~~~~ ../../../include/SFML/System/Unicode.inl: At global scope: ../../../include/SFML/System/Unicode.inl:67:74: error: 'locale' in namespace 'sf::std' does not name a type inline Out Unicode::ANSIToUTF32(In Begin, In End, Out Output, const std::locale& Locale) ^~~~~~ ../../../include/SFML/System/Unicode.hpp:56:18: error: 'basic_string' in namespace 'sf::std' does no../../../include/SFML/System/Unicode.inl: In static member function 'static Out sf::Unicode::ANSIToUt name a template type typedef std::basic_string UTF32String; ^~~~~~~~~~~~ TF32(In, In, Out, const int&)': ../../../include/SFML/System/Unicode.inl:85:20: error: 'ctype' in namespace 'sf::std' does not name a template type const std::ctype& Facet = std::use_facet< std::ctype >(Locale); ^~~~~ ../../../include/SFML/System/Unicode.inl:89:45: error: 'Facet' was not declared in this scope *Output++ = static_cast(Facet.widen(*Begin++)); ^~~~~ ../../../include/SFML/System/Unicode.hpp:84:25: error: 'string' in namespace 'sf::std' does not name a type Text(const std::string& Str); ^~~~~~ ../../../include/SFML/System/Unicode.hpp:85:25: error: 'wstring' in namespace 'sf::std' does not name a type Text(const std::wstring& Str); ^~~~~~~ ../../../include/SFML/System/Unicode.hpp:85:9: error: 'sf::Unicode::Text::Text(const int&)' cannot be overloaded with 'sf::Unicode::Text::Text(const int&)' Text(const std::wstring& Str); ^~~~ ../../../include/SFML/System/Unicode.hpp:84:9: note: previous declaration 'sf::Unicode::Text::Text(const int&)' Text(const std::string& Str); ^~~~ ../../../include/SFML/System/Unicode.hpp:86:29: error: invalid use of incomplete type 'class sf::Unicode' Text(const Unicode::UTF8String& Str); ^~~~~~~~~~ ../../../include/SFML/System/Unicode.hpp:44:16: note: forward declaration of 'class sf::Unicode' class SFML_API Unicode ^~~~~~~ ../../../include/SFML/System/Unicode.hpp:86:9: error: 'sf::Unicode::Text::Text(const int&)' cannot be overloaded with 'sf::Unicode::Text::Text(const int&)' Text(const Unicode::UTF8String& Str); ^~~~ ../../../include/SFML/System/Unicode.hpp:84:9: note: previous declaration 'sf::Unicode::Text::Text(const int&)' Text(const std::string& Str); ^~~~ ../../../include/SFML/System/Unicode.hpp:87:29: error: invalid use of incomplete type 'class sf::Unicode' Text(const Unicode::UTF16String& Str); ^~~~~~~~~~~ ../../../include/SFML/System/Unicode.hpp:44:16: note: forward declaration of 'class sf::Unicode' class SFML_API Unicode ^~~~~~~ ../../../include/SFML/System/Unicode.hpp:87:9: error: 'sf::Unicode::Text::Text(const int&)' cannot be overloaded with 'sf::Unicode::Text::Text(const int&)' Text(const Unicode::UTF16String& Str); ^~~~ ../../../include/SFML/System/Unicode.hpp:84:9: note: previous declaration 'sf::Unicode::Text::Text(const int&)' Text(const std::string& Str); ^~~~ ../../../include/SFML/System/Unicode.hpp:88:29: error: invalid use of incomplete type 'class sf::Unicode' Text(const Unicode::UTF32String& Str); ^~~~~~~~~~~ ../../../include/SFML/System/Unicode.hpp:44:16: note: forward declaration of 'class sf::Unicode' class SFML_API Unicode ^~~~~~~ ../../../include/SFML/System/Unicode.hpp:88:9: error: 'sf::Unicode::Text::Text(const int&)' cannot be overloaded with 'sf::Unicode::Text::Text(const int&)' Text(const Unicode::UTF32String& Str); ^~~~ ../../../include/SFML/System/Unicode.hpp:84:9: note: previous declaration 'sf::Unicode::Text::Text(const int&)' Text(const std::string& Str); ^~~~ ../../../include/SFML/System/Unicode.hpp:96:24: error: expected type-specifier operator std::string () const; ^~~ ../../../include/SFML/System/Unicode.hpp:97:24: error: expected type-specifier operator ../../../include/SFML/System/Unicode.inl: At global scope: ../../../include/SFML/System/Unicode.inl:422:13: error: 'size_t' in namespace 'sf::std' does not name a type inline std::size_t Unicode::GetUTF8Length(In Begin, In End) ^~~~~~ ../../../include/SFML/System/Unicode.inl:442:13: error: 'size_t' in namespace 'sf::std' does not name a type inline std::size_t Unicode::GetUTF16Length(In Begin, In End) ^~~~~~ ../../../include/SFML/System/Unicode.inl:471:13: error: 'size_t' in namespace 'sf::std' does not name a type inline std::size_t Unicode::GetUTF32Length(In Begin, In End) ^~~~~~ std::wstring () const; ^~~ ../../../include/SFML/System/Unicode.hpp:98:24: error: expected type-specifier operator Unicode::UTF8String () const; ^~~~~~~ ../../../include/SFML/System/Unicode.hpp:99:24: error: expected type-specifier operator Unicode::UTF16String () const; ^~~~~~~ ../../../include/SFML/System/Unicode.hpp:100:24: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] operator const Unicode::UTF32String&() const; ^~~~~~~ ../../../include/SFML/System/Unicode.hpp:100:9: error: 'operator const int' does not name a type operator const Unicode::UTF32String&() const; ^~~~~~~~ ../../../include/SFML/System/Unicode.hpp:107:22: error: invalid use of incomplete type 'class sf::Unicode' sf::Unicode::UTF32String myUTF32String; ///< UTF-32 unicode text ^~~~~~~~~~~ ../../../include/SFML/System/Unicode.hpp:44:16: note: forward declaration of 'class sf::Unicode' class SFML_API Unicode ^~~~~~~ In file included from ../../../include/SFML/Graphics/String.hpp:32, from String.cpp:28: ../../../include/SFML/System/Unicode.hpp:124:93: error: 'locale' in namespace 'sf::std' does not name a type static Out UTF32ToANSI(In Begin, In End, Out Output, char Replacement = '?', const std::locale& Locale = GetDefaultLocale()); ^~~~~~ ../../../include/SFML/System/Unicode.hpp:139:69: error: 'locale' in namespace 'sf::std' does not name a type static Out ANSIToUTF32(In Begin, In End, Out Output, const std::locale& Locale = GetDefaultLocale()); ^~~~~~ ../../../include/SFML/System/Unicode.hpp:241:17: error: 'size_t' in namespace 'sf::std' does not name a type static std::size_t GetUTF8Length(In Begin, In End); ^~~~~~ ../../../include/SFML/System/Unicode.hpp:253:17: error: 'size_t' in namespace 'sf::std' does not name a type static std::size_t GetUTF16Length(In Begin, In End); ^~~~~~ ../../../include/SFML/System/Unicode.hpp:265:17: error: 'size_t' in namespace 'sf::std' does not name a type static std::size_t GetUTF32Length(In Begin, In End); ^~~~~~ ../../../include/SFML/System/Unicode.hpp:275:23: error: 'locale' in namespace 'sf::std' does not name a type static const std::locale& GetDefaultLocale(); ^~~~~~ ../../../include/SFML/System/Unicode.hpp:124:110: error: there are no arguments to 'GetDefaultLocale' that depend on a template parameter, so a declaration of 'GetDefaultLocale' must be available [-fpermissive] static Out UTF32ToANSI(In Begin, In End, Out Output, char Replacement = '?', const std::locale& Locale = GetDefaultLocale()); ^~~~~~~~~~~~~~~~ ../../../include/SFML/System/Unicode.hpp:124:110: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) ../../../include/SFML/System/Unicode.hpp:139:86: error: there are no arguments to 'GetDefaultLocale' that depend on a template parameter, so a declaration of 'GetDefaultLocale' must be available [-fpermissive] static Out ANSIToUTF32(In Begin, In End, Out Output, const std::locale& Locale = GetDefaultLocale()); ^~~~~~~~~~~~~~~~ In file included from ../../../include/SFML/System/Unicode.hpp:285, from ../../../include/SFML/Graphics/String.hpp:32, from String.cpp:28: ../../../include/SFML/System/Unicode.inl:31:92: error: 'locale' in namespace 'sf::std' does not name a type inline Out Unicode::UTF32ToANSI(In Begin, In End, Out Output, char Replacement, const std::locale& Locale) ^~~~~~ ../../../include/SFML/System/Unicode.inl: In static member function 'static Out sf::Unicode::UTF32ToANSI(In, In, Out, char, const int&)': ../../../include/SFML/System/Unicode.inl:50:20: error: 'ctype' in namespace 'sf::std' does not name a template type const std::ctype& Facet = std::use_facet< std::ctype >(Locale); ^~~~~ ../../../include/SFML/System/Unicode.inl:54:25: error: 'Facet' was not declared in this scope *Output++ = Facet.narrow(static_cast(*Begin++), Replacement); ^~~~~ ../../../include/SFML/System/Unicode.inl: At global scope: ../../../include/SFML/System/Unicode.inl:67:74: error: 'locale' in namespace 'sf::std' does not name a type inline Out Unicode::ANSIToUTF32(In Begin, In End, Out Output, const std::locale& Locale) ^~~~~~ ../../../include/SFML/System/Unicode.inl: In static member function 'static Out sf::Unicode::ANSIToUTF32(In, In, Out, const int&)': ../../../include/SFML/System/Unicode.inl:85:20: error: 'ctype' in namespace 'sf::std' does not name a template type const std::ctype& Facet = std::use_facet< std::ctype >(Locale); ^~~~~ ../../../include/SFML/System/Unicode.inl:89:45: error: 'Facet' was not declared in this scope *Output++ = static_cast(Facet.widen(*Begin++)); ^~~~~ ../../../include/SFML/System/Unicode.inl: At global scope: ../../../include/SFML/System/Unicode.inl:422:13: error: 'size_t' in namespace 'sf::std' does not name a type inline std::size_t Unicode::GetUTF8Length(In Begin, In End) ^~~~~~ ../../../include/SFML/System/Unicode.inl:442:13: error: 'size_t' in namespace 'sf::std' does not name a type inline std::size_t Unicode::GetUTF16Length(In Begin, In End) ^~~~~~ ../../../include/SFML/System/Unicode.inl:471:13: error: 'size_t' in namespace 'sf::std' does not name a type inline std::size_t Unicode::GetUTF32Length(In Begin, In End) ^~~~~~ In file included from ../../../include/SFML/Graphics/Rect.hpp:118, from ../../../include/SFML/Graphics/Glyph.hpp:32, from ../../../include/SFML/Graphics/Font.hpp:34, from Font.cpp:28: ../../../include/SFML/Graphics/Rect.inl: In member function 'bool sf::Rect::Intersects(const sf::Rect&, sf::Rect*) const': ../../../include/SFML/Graphics/Rect.inl:104:27: error: 'max' is not a member of 'sf::std' Rect Overlapping(std::max(Left, Rectangle.Left), ^~~ ../../../include/SFML/Graphics/Rect.inl:104:27: note: suggested alternative: In file included from /usr/include/c++/8.0/algorithm:62, from ../../../include/SFML/Graphics/Rect.hpp:31, from ../../../include/SFML/Graphics/Glyph.hpp:32, from ../../../include/SFML/Graphics/Font.hpp:34, from Font.cpp:28: /usr/include/c++/8.0/bits/stl_algo.h:3468:5: note: 'std::max' max(initializer_list<_Tp> __l, _Compare __comp) ^~~ In file included from ../../../include/SFML/Graphics/Rect.hpp:118, from ../../../include/SFML/Graphics/Glyph.hpp:32, from ../../../include/SFML/Graphics/Font.hpp:34, from Font.cpp:28: ../../../include/SFML/Graphics/Rect.inl:105:27: error: 'max' is not a member of 'sf::std' std::max(Top, Rectangle.Top), ^~~ ../../../include/SFML/Graphics/Rect.inl:105:27: note: suggested alternative: In file included from /usr/include/c++/8.0/algorithm:62, from ../../../include/SFML/Graphics/Rect.hpp:31, from ../../../include/SFML/Graphics/Glyph.hpp:32, from ../../../include/SFML/Graphics/Font.hpp:34, from Font.cpp:28: /usr/include/c++/8.0/bits/stl_algo.h:3468:5: note: 'std::max' max(initializer_list<_Tp> __l, _Compare __comp) ^~~ In file included from ../../../include/SFML/Graphics/Rect.hpp:118, from ../../../include/SFML/Graphics/Glyph.hpp:32, from ../../../include/SFML/Graphics/Font.hpp:34, from Font.cpp:28: ../../../include/SFML/Graphics/Rect.inl:106:27: error: 'min' is not a member of 'sf::std' std::min(Right, Rectangle.Right), ^~~ ../../../include/SFML/Graphics/Rect.inl:106:27: note: suggested alternative: In file included from /usr/include/c++/8.0/algorithm:62, from ../../../include/SFML/Graphics/Rect.hpp:31, from ../../../include/SFML/Graphics/Glyph.hpp:32, from ../../../include/SFML/Graphics/Font.hpp:34, from Font.cpp:28: /usr/include/c++/8.0/bits/stl_algo.h:3456:5: note: 'std::min' min(initializer_list<_Tp> __l, _Compare __comp) ^~~ In file included from ../../../include/SFML/Graphics/Rect.hpp:118, from ../../../include/SFML/Graphics/Glyph.hpp:32, from ../../../include/SFML/Graphics/Font.hpp:34, from Font.cpp:28: ../../../include/SFML/Graphics/Rect.inl:107:27: error: 'min' is not a member of 'sf::std' std::min(Bottom, Rectangle.Bottom)); ^~~ ../../../include/SFML/Graphics/Rect.inl:107:27: note: suggested alternative: In file included from /usr/include/c++/8.0/algorithm:62, from ../../../include/SFML/Graphics/Rect.hpp:31, from ../../../include/SFML/Graphics/Glyph.hpp:32, from ../../../include/SFML/Graphics/Font.hpp:34, from Font.cpp:28: /usr/include/c++/8.0/bits/stl_algo.h:3456:5: note: 'std::min' min(initializer_list<_Tp> __l, _Compare __comp) ^~~ In file included from ../../../include/SFML/Graphics/Rect.hpp:118, from ../../../include/SFML/Graphics/Glyph.hpp:32, from ../../../include/SFML/Graphics/Font.hpp:34, from ../../../include/SFML/Graphics/String.hpp:34, from String.cpp:28: ../../../include/SFML/Graphics/Rect.inl: In member function 'bool sf::Rect::Intersects(const sf::Rect&, sf::Rect*) const': ../../../include/SFML/Graphics/Rect.inl:104:27: error: 'max' is not a member of 'sf::std' Rect Overlapping(std::max(Left, Rectangle.Left), ^~~ ../../../include/SFML/Graphics/Rect.inl:104:27: note: suggested alternative: In file included from /usr/include/c++/8.0/algorithm:62, from ../../../include/SFML/Graphics/Rect.hpp:31, from ../../../include/SFML/Graphics/Glyph.hpp:32, from ../../../include/SFML/Graphics/Font.hpp:34, from ../../../include/SFML/Graphics/String.hpp:34, from String.cpp:28: /usr/include/c++/8.0/bits/stl_algo.h:3468:5: note: 'std::max' max(initializer_list<_Tp> __l, _Compare __comp) ^~~ In file included from ../../../include/SFML/Graphics/Rect.hpp:118, from ../../../include/SFML/Graphics/Glyph.hpp:32, from ../../../include/SFML/Graphics/Font.hpp:34, from ../../../include/SFML/Graphics/String.hpp:34, from String.cpp:28: ../../../include/SFML/Graphics/Rect.inl:105:27: error: 'max' is not a member of 'sf::std' std::max(Top, Rectangle.Top), ^~~ ../../../include/SFML/Graphics/Rect.inl:105:27: note: suggested alternative: In file included from /usr/include/c++/8.0/algorithm:62, from ../../../include/SFML/Graphics/Rect.hpp:31, from ../../../include/SFML/Graphics/Glyph.hpp:32, from ../../../include/SFML/Graphics/Font.hpp:34, from ../../../include/SFML/Graphics/String.hpp:34, from String.cpp:28: /usr/include/c++/8.0/bits/stl_algo.h:3468:5: note: 'std::max' max(initializer_list<_Tp> __l, _Compare __comp) ^~~ In file included from ../../../include/SFML/Graphics/Rect.hpp:118, from ../../../include/SFML/Graphics/Glyph.hpp:32, from ../../../include/SFML/Graphics/Font.hpp:34, from ../../../include/SFML/Graphics/String.hpp:34, from String.cpp:28: ../../../include/SFML/Graphics/Rect.inl:106:27: error: 'min' is not a member of 'sf::std' std::min(Right, Rectangle.Right), ^~~ ../../../include/SFML/Graphics/Rect.inl:106:27: note: suggested alternative: In file included from /usr/include/c++/8.0/algorithm:62, from ../../../include/SFML/Graphics/Rect.hpp:31, from ../../../include/SFML/Graphics/Glyph.hpp:32, from ../../../include/SFML/Graphics/Font.hpp:34, from ../../../include/SFML/Graphics/String.hpp:34, from String.cpp:28: /usr/include/c++/8.0/bits/stl_algo.h:3456:5: note: 'std::min' min(initializer_list<_Tp> __l, _Compare __comp) ^~~ In file included from ../../../include/SFML/Graphics/Rect.hpp:118, from ../../../include/SFML/Graphics/Glyph.hpp:32, from ../../../include/SFML/Graphics/Font.hpp:34, from ../../../include/SFML/Graphics/String.hpp:34, from String.cpp:28: ../../../include/SFML/Graphics/Rect.inl:107:27: error: 'min' is not a member of 'sf::std' std::min(Bottom, Rectangle.Bottom)); ^~~ ../../../include/SFML/Graphics/Rect.inl:107:27: note: suggested alternative: In file included from /usr/include/c++/8.0/algorithm:62, from ../../../include/SFML/Graphics/Rect.hpp:31, from ../../../include/SFML/Graphics/Glyph.hpp:32, from ../../../include/SFML/Graphics/Font.hpp:34, from ../../../include/SFML/Graphics/String.hpp:34, from String.cpp:28: /usr/include/c++/8.0/bits/stl_algo.h:3456:5: note: 'std::min' min(initializer_list<_Tp> __l, _Compare __comp) ^~~ In file included from ../../../include/SFML/Graphics/Rect.hpp:118, from ../../../include/SFML/Graphics/Image.hpp:33, from ../../../include/SFML/Graphics/RenderWindow.hpp:31, from RenderWindow.cpp:28: ../../../include/SFML/Graphics/Rect.inl: In member function 'bool sf::Rect::Intersects(const sf::Rect&, sf::Rect*) const': ../../../include/SFML/Graphics/Rect.inl:104:27: error: 'max' is not a member of 'sf::std' Rect Overlapping(std::max(Left, Rectangle.Left), ^~~ ../../../include/SFML/Graphics/Rect.inl:104:27: note: suggested alternative: In file included from ../../../include/SFML/Graphics/Rect.hpp:118, from ../../../include/SFML/Graphics/Glyph.hpp:32, from ../../../include/SFML/Graphics/Font.hpp:34, from FontLoader.cpp:30: ../../../include/SFML/Graphics/Rect.inl: In member function 'bool sf::Rect::Intersects(const sf::Rect&, sf::Rect*) const': ../../../include/SFML/Graphics/Rect.inl:104:27: error: 'max' is not a member of 'sf::std' Rect Overlapping(std::max(Left, Rectangle.Left), ^~~ ../../../include/SFML/Graphics/Rect.inl:104:27: note: suggested alternative: In file included from /usr/include/c++/8.0/algorithm:62, from ../../../include/SFML/Graphics/Rect.hpp:31, from ../../../include/SFML/Graphics/Glyph.hpp:32, from ../../../include/SFML/Graphics/Font.hpp:34, from FontLoader.cpp:30: /usr/include/c++/8.0/bits/stl_algo.h:3468:5: note: 'std::max' max(initializer_list<_Tp> __l, _CoIn file included from /usr/include/c++/8.0/algorithm:62, from ../../../include/SFML/Graphics/Rect.hpp:31, from ../../../include/SFML/Graphics/Image.hpp:33, from ../../../include/SFML/Graphics/RenderWindow.hpp:31, from RenderWindow.cpp:28: /usr/include/c++/8.0/bits/stl_algo.h:3468:5: note: 'std::max' max(initializer_list<_Tp> __l, _Compare __comp) ^~~ mpare __comp) ^~~ In file included from ../../../include/SFML/Graphics/Rect.hpp:118, from ../../../include/SFML/Graphics/Glyph.hpp:32, from ../../../include/SFML/Graphics/Font.hpp:34, from FontLoader.cpp:30: ../../../include/SFML/Graphics/Rect.inl:105:27: error: 'max' is not a member of 'sf::std' std::max(Top, Rectangle.Top), ^~~ In file included from ../../../include/SFML/Graphics/Rect.hpp:118, from ../../../include/SFML/Graphics/Image.hpp:33, from ../../../include/SFML/Graphics/RenderWindow.hpp:31, from RenderWindow.cpp:28: ../../../include/SFML/Graphics/Rect.inl:105:27: error: 'max' is not a member of 'sf::std' std::max(Top, Rectangle.Top), ^~~ ../../../include/SFML/Graphics/Rect.inl:105:27: note: suggested alternative: In file included from /usr/include/c++/8.0/algorithm:62, from ../../../include/SFML/Graphics/Rect.hpp:31, from ../../../include/SFML/Graphics/Glyph.hpp:32, from ../../../include/SFML/Graphics/Font.hpp:34, from FontLoader.cpp:30: /usr/include/c++/8.0/bits/stl_algo.h:3468:5: note: 'std::max' max(initializer_list<_Tp> __l, _Compare __comp) ^~~ In file included from ../../../include/SFML/Graphics/Font.hpp:35, from Font.cpp:28: ../../../include/SFML/Graphics/Image.hpp: At global scope: ../../../include/SFML/Graphics/Image.hpp:98:34: error: 'string' in namespace 'sf::std' does not name a type bool LoadFromFile(const std::string& Filename); ^~~~~~ In file included from ../../../include/SFML/Graphics/Rect.hpp:118, from ../../../include/SFML/Graphics/Glyph.hpp:32, from ../../../include/SFML/Graphics/Font.hpp:34, from FontLoader.cpp:30: ../../../include/SFML/Graphics/Rect.inl:106:27: error: 'min' is not a member of 'sf::std' std::min(Right, Rectangle.Right), ^~~ ../../../include/SFML/Graphics/Rect.inl:105:27: note: suggested alternative: ../../../include/SFML/Graphics/Image.hpp:109:48: error: 'sf::std::size_t' has not been declared bool LoadFromMemory(const char* Data, std::size_t SizeInBytes); ^~~~~~ In file included from /usr/include/c++/8.0/algorithm:62, from ../../../include/SFML/Graphics/Rect.hpp:31, from ../../../include/SFML/Graphics/Image.hpp:33, from ../../../include/SFML/Graphics/RenderWindow.hpp:31, from RenderWindow.cpp:28: /usr/include/c++/8.0/bits/stl_algo.h:3468:5: note: 'std::max' max(initializer_list<_Tp> __l, _Compare __comp) ^~~ ../../../include/SFML/Graphics/Image.hpp:131:32: error: 'string' in namespace 'sf::std' does not name a type bool SaveToFile(const std::string& Filename) const; ^~~~~~ ../../../include/SFML/Graphics/Rect.inl:106:27: note: suggested alternative: In file included from /usr/include/c++/8.0/algorithm:62, from ../../../include/SFML/Graphics/Rect.hpp:31, from ../../../include/SFML/Graphics/Glyph.hpp:32, from ../../../include/SFML/Graphics/Font.hpp:34, from FontLoader.cpp:30: /usr/include/c++/8.0/bits/stl_algo.h:3456:5: note: 'std::min' min(initializer_list<_Tp> __l, _Compare __comp) ^~~ In file included from ../../../include/SFML/Graphics/Font.hpp:35, from Font.cpp:28: ../../../include/SFML/Graphics/Image.hpp:324:18: error: 'vector' in namespace 'sf::std' does not name a template type mutable std::vector myPixels; ///< Pixels of the image ^~~~~~ In file included from ../../../include/SFML/Graphics/Rect.hpp:118, from ../../../include/SFML/Graphics/Glyph.hpp:32, from ../../../include/SFML/Graphics/Font.hpp:34, from FontLoader.cpp:30: ../../../include/SFML/Graphics/Rect.inl:107:27: error: 'min' is not a member of 'sf::std' std::min(Bottom, Rectangle.Bottom)); ^~~ ../../../include/SFML/Graphics/Rect.inl:107:27: note: suggested alternative: In file included from /usr/include/c++/8.0/algorithm:62, from ../../../include/SFML/Graphics/Rect.hpp:31, from ../../../include/SFML/Graphics/Glyph.hpp:32, from ../../../include/SFML/Graphics/Font.hpp:34, from FontLoader.cpp:30: /usr/include/c++/8.0/bits/stl_algo.h:3456:5: note: 'std::min' min(initializer_list<_Tp> __l, _Compare __comp) ^~~ In file included from ../../../include/SFML/Graphics/Font.hpp:35, from ../../../include/SFML/Graphics/String.hpp:34, from String.cpp:28: ../../../include/SFML/Graphics/Image.hpp: At global scope: ../../../include/SFML/Graphics/Image.hpp:98:34: error: 'string' in namespace 'sf::std' does not name a type bool LoadFromFile(const std::string& Filename); ^~~~~~ ../../../include/SFML/Graphics/Image.hpp:109:48: error: 'sf::std::size_t' has not been declared bool LoadFromMemory(const char* Data, std::size_t SizeInBytes); ^~~~~~ In file included from Font.cpp:28: ../../../include/SFML/Graphics/Font.hpp:74:34: error: 'string' in namespace 'sf::std' does not name a type bool LoadFromFile(const std::string& Filename, unsigned int CharSize = 30, const Unicode::Text& Charset = ourDefaultCharset); ^~~~~~ In file included from Font.cpp:28: ../../../include/SFML/Graphics/Font.hpp:87:48: error: 'sf::std::size_t' has not been declared bool LoadFromMemory(const char* Data, std::size_t SizeInBytes, unsigned int CharSize = 30, const Unicode::Text& Charset = ourDefaultCharset); ^~~~~~ ../../../include/SFML/Graphics/Font.hpp:139:10: error: 'map' in namespace 'sf::std' does not name a template type std::map myGlyphs; ///< Rendering settings of each character (glyph) ^~~ In file included from ../../../include/SFML/Graphics/Rect.hpp:118, from ../../../include/SFML/Graphics/Image.hpp:33, from Image.cpp:28: ../../../include/SFML/Graphics/Rect.inl: In member function 'bool sf::Rect::Intersects(const sf::Rect&, sf::Rect*) const': ../../../include/SFML/Graphics/Rect.inl:104:27: error: 'max' is not a member of 'sf::std' Rect Overlapping(std::max(Left, Rectangle.Left), ^~~ ../../../include/SFML/Graphics/Rect.inl:104:27: note: suggested alternative: In file included from /usr/include/c++/8.0/algorithm:62, from ../../../include/SFML/Graphics/Rect.hpp:31, from ../../../include/SFML/Graphics/Image.hpp:33, from Image.cpp:28: /usr/include/c++/8.0/bits/stl_algo.h:3468:5: note: 'std::max' max(initializer_list<_Tp> __l, _Compare __comp) ^~~ In file included from ../../../include/SFML/Graphics/Rect.hpp:118, from ../../../include/SFML/Graphics/Image.hpp:33, from Image.cpp:28: ../../../include/SFML/Graphics/Rect.inl:105:27: error: 'max' is not a member of 'sf::std' std::max(Top, Rectangle.Top), ^~~ ../../../include/SFML/Graphics/Rect.inl:105:27: note: suggested alternative: In file included from /usr/include/c++/8.0/algorithm:62, from ../../../include/SFML/Graphics/Rect.hpp:31, from ../../../include/SFML/Graphics/Image.hpp:33, from Image.cpp:28: /usr/include/c++/8.0/bits/stl_algo.h:3468:5: note: 'std::max' max(initializer_list<_Tp> __l, _Compare __comp) ^~~ In file included from ../../../include/SFML/Graphics/Rect.hpp:118, from ../../../include/SFML/Graphics/Image.hpp:33, from Image.cpp:28: ../../../include/SFML/Graphics/Rect.inl:106:27: error: 'min' is not a member of 'sf::std' std::min(Right, Rectangle.Right), ^~~ ../../../include/SFML/Graphics/Rect.inl:106:27: note: suggested alternative: In file included from /usr/include/c++/8.0/algorithm:62, from ../../../include/SFML/Graphics/Rect.hpp:31, from ../../../include/SFML/Graphics/Image.hpp:33, from Image.cpp:28: /usr/include/c++/8.0/bits/stl_algo.h:3456:5: note: 'std::min' min(initializer_list<_Tp> __l, _Compare __comp) ^~~ In file included from ../../../include/SFML/Graphics/Rect.hpp:118, from ../../../include/SFML/Graphics/Image.hpp:33, from Image.cpp:28: ../../../include/SFML/Graphics/Rect.inl:107:27: error: 'min' is not a member of 'sf::std' std::min(Bottom, Rectangle.Bottom)); ^~~ ../../../include/SFML/Graphics/Rect.inl:107:27: note: suggested alternative: In file included from /usr/include/c++/8.0/algorithm:62, from ../../../include/SFML/Graphics/Rect.hpp:31, from ../../../include/SFML/Graphics/Image.hpp:33, from Image.cpp:28: /usr/include/c++/8.0/bits/stl_algo.h:3456:5: note: 'std::min' min(initializer_list<_Tp> __l, _Compare __comp) ^~~ In file included from Font.cpp:29: ../../SFML/Graphics/FontLoader.hpp:70:38: error: 'string' in namespace 'sf::std' does not name a type bool LoadFontFromFile(const std::string& Filename, unsigned int CharSize, const Unicode::UTF32String& Charset, Font& LoadedFont); ^~~~~~ ../../SFML/Graphics/FontLoader.hpp:70:94: error: 'UTF32String' in 'class sf::Unicode' does not name a type bool LoadFontFromFile(const std::string& Filename, unsigned int CharSize, const Unicode::UTF32String& Charset, Font& LoadedFont); ^~~~~~~~~~~ In file included from Font.cpp:29: ../../SFML/Graphics/FontLoader.hpp:84:52: error: 'sf::std::size_t' has not been declared bool LoadFontFromMemory(const char* Data, std::size_t SizeInBytes, unsigned int CharSize, const Unicode::UTF32String& Charset, Font& LoadedFont); ^~~~~~ ../../SFML/Graphics/FontLoader.hpp:84:110: error: 'UTF32String' in 'class sf::Unicode' does not name a type bool LoadFontFromMemory(const char* Data, std::size_t SizeInBytes, unsigned int CharSize, const Unicode::UTF32String& Charset, Font& LoadedFont); ^~~~~~~~~~~ ../../SFML/Graphics/FontLoader.hpp:109:87: error: 'UTF32String' in 'class sf::Unicode' does not name a type FT_Error CreateBitmapFont(FT_Face FontFace, unsigned int CharSize, const Unicode::UTF32String& Charset, Font& LoadedFont); ^~~~~~~~~~~ ../../SFML/Graphics/FontLoader.hpp:119:17: error: 'string' in namespace 'sf::std' does not name a type static std::string GetErrorDesc(FT_Error Error); ^~~~~~ Font.cpp:74:36: error: 'string' in namespace 'sf::std' does not name a type bool Font::LoadFromFile(const std::string& Filename, unsigned int CharSize, const Unicode::Text& Charset) ^~~~~~ Font.cpp: In member function 'bool sf::Font::LoadFromFile(const int&, unsigned int, const sf::Unicode::Text&)': Font.cpp:77:5: error: 'myGlyphs' was not declared in this scope myGlyphs.clear(); ^~~~~~~~ Font.cpp:77:5: note: suggested alternative: 'Glyph' myGlyphs.clear(); ^~~~~~~~ Glyph Font.cpp:80:14: error: 'UTF32String' is not a member of 'sf::Unicode' Unicode::UTF32String UTFCharset = Charset; ^~~~~~~~~~~ Font.cpp:81:9: error: 'UTFCharset' was not declared in this scope if (UTFCharset.find(L' ') != Unicode::UTF32String::npos) UTFCharset += L' '; ^~~~~~~~~~ Font.cpp:81:9: note: suggested alternative: 'Charset' if (UTFCharset.find(L' ') != Unicode::UTF32String::npos) UTFCharset += L' '; ^~~~~~~~~~ Charset Font.cpp:81:44: error: 'sf::Unicode::UTF32String' has not been declared if (UTFCharset.find(L' ') != Unicode::UTF32String::npos) UTFCharset += L' '; ^~~~~~~~~~~ Font.cpp:82:9: error: 'UTFCharset' was not declared in this scope if (UTFCharset.find(L'\n') != Unicode::UTF32String::npos) UTFCharset += L'\n'; ^~~~~~~~~~ Font.cpp:82:9: note: suggested alternative: 'Charset' if (UTFCharset.find(L'\n') != Unicode::UTF32String::npos) UTFCharset += L'\n'; ^~~~~~~~~~ Charset Font.cpp:82:44: error: 'sf::Unicode::UTF32String' has not been declared if (UTFCharset.find(L'\n') != Unicode::UTF32String::npos) UTFCharset += L'\n'; ^~~~~~~~~~~ Font.cpp:83:9: error: 'UTFCharset' was not declared in this scope if (UTFCharset.find(L'\v') != Unicode::UTF32String::npos) UTFCharset += L'\v'; ^~~~~~~~~~ Font.cpp:83:9: note: suggested alternative: 'Charset' if (UTFCharset.find(L'\v') != Unicode::UTF32String::npos) UTFCharset += L'\v'; ^~~~~~~~~~ Charset Font.cpp:83:44: error: 'sf::Unicode::UTF32String' has not been declared if (UTFCharset.find(L'\v') != Unicode::UTF32String::npos) UTFCharset += L'\v'; ^~~~~~~~~~~ Font.cpp:84:9: error: 'UTFCharset' was not declared in this scope if (UTFCharset.find(L'\t') != Unicode::UTF32String::npos) UTFCharset += L'\t'; ^~~~~~~~~~ In file included from ../../../include/SFML/Graphics/Font.hpp:35, from FontLoader.cpp:30: ../../../include/SFML/Graphics/Image.hpp: At global scope: ../../../include/SFML/Graphics/Image.hpp:98:34: error: 'string' in namespace 'sf::std' does not name a type bool LoadFromFile(const std::string& Filename); ^~~~~~ Font.cpp:84:9: note: suggested alternative: 'Charset' if (UTFCharset.find(L'\t') != Unicode::UTF32String::npos) UTFCharset += L'\t'; ^~~~~~~~~~ Charset Font.cpp:84:44: error: 'sf::Unicode::UTF32String' has not been declared if (UTFCharset.find(L'\t') != Unicode::UTF32String::npos) UTFCharset += L'\t'; ^~~~~~~~~~~ ../../../include/SFML/Graphics/Image.hpp:109:48: error: 'sf::std::size_t' has not been declared bool LoadFromMemory(const char* Data, std::size_t SizeInBytes); ^~~~~~ Font.cpp:86:81: error: 'UTFCharset' was not declared in this scope return priv::FontLoader::GetInstance().LoadFontFromFile(Filename, CharSize, UTFCharset, *this); ^~~~~~~~~~ ../../../include/SFML/Graphics/Image.hpp:131:32: error: 'string' in namespace 'sf::std' does not name a type bool SaveToFile(const std::string& Filename) const; ^~~~~~ In file included from ../../../include/SFML/Graphics/Font.hpp:35, from FontLoader.cpp:30: ../../../include/SFML/Graphics/Image.hpp:324:18: error: 'vector' in namespace 'sf::std' does not name a template type mutable std::vector myPixels; ///< Pixels of the image ^~~~~~ Font.cpp:86:81: note: suggested alternative: 'Charset' return priv::FontLoader::GetInstance().LoadFontFromFile(Filename, CharSize, UTFCharset, *this); ^~~~~~~~~~ Charset Font.cpp: At global scope: Font.cpp:93:50: error: 'sf::std::size_t' has not been declared bool Font::LoadFromMemory(const char* Data, std::size_t SizeInBytes, unsigned int CharSize, const Unicode::Text& Charset) ^~~~~~ Font.cpp: In member function 'bool sf::Font::LoadFromMemory(const char*, int, unsigned int, const sf::Unicode::Text&)': Font.cpp:96:5: error: 'myGlyphs' was not declared in this scope myGlyphs.clear(); ^~~~~~~~ ../../../include/SFML/Graphics/Image.hpp:131:32: error: 'string' in namespace 'sf::std' does not name a type bool SaveToFile(const std::string& Filename) const; ^~~~~~ In file included from ../../../include/SFML/Graphics/Font.hpp:35, from ../../../include/SFML/Graphics/String.hpp:34, from String.cpp:28: ../../../include/SFML/Graphics/Image.hpp:324:18: error: 'vector' in namespace 'sf::std' does not name a template type mutable std::vector myPixels; ///< Pixels of the image ^~~~~~ Font.cpp:96:5: note: suggested alternative: 'Glyph' myGlyphs.clear(); ^~~~~~~~ Glyph Font.cpp:101:14: error: 'cerr' is not a member of 'sf::std' std::cerr << "Failed to load font from memory, no data provided" << std::endl; ^~~~ Font.cpp:101:14: note: suggested alternative: In file included from Font.cpp:30: /usr/include/c++/8.0/iostream:62:18: note: 'std::cerr' extern ostream cerr; /// Linked to standard error (unbuffered) ^~~~ Font.cpp:101:82: error: 'endl' is not a member of 'sf::std' std::cerr << "Failed to load font from memory, no data provided" << std::endl; ^~~~ Font.cpp:101:82: note: suggested alternative: In file included from /usr/include/c++/8.0/iterator:64, from ../../../include/SFML/System/Unicode.hpp:32, from ../../../include/SFML/Graphics/Font.hpp:33, from Font.cpp:28: /usr/include/c++/8.0/ostream:590:5: note: 'std::endl' endl(basic_ostream<_CharT, _Traits>& __os) ^~~~ Font.cpp:106:14: error: 'UTF32String' is not a member of 'sf::Unicode' Unicode::UTF32String UTFCharset = Charset; ^~~~~~~~~~~ Font.cpp:107:9: error: 'UTFCharset' was not declared in this scope if (UTFCharset.find(L' ') != Unicode::UTF32String::npos) UTFCharset += L' '; ^~~~~~~~~~ Font.cpp:107:9: note: suggested alternative: 'Charset' if (UTFCharset.find(L' ') != Unicode::UTF32String::npos) UTFCharset += L' '; ^~~~~~~~~~ Charset Font.cpp:107:44: error: 'sf::Unicode::UTF32String' has not been declared if (UTFCharset.find(L' ') != Unicode::UTF32String::npos) UTFCharset += L' '; ^~~~~~~~~~~ Font.cpp:108:9: error: 'UTFCharset' was not declared in this scope if (UTFCharset.find(L'\n') != Unicode::UTF32String::npos) UTFCharset += L'\n'; ^~~~~~~~~~ Font.cpp:108:9: note: suggested alternative: 'Charset' if (UTFCharset.find(L'\n') != Unicode::UTF32String::npos) UTFCharset += L'\n'; ^~~~~~~~~~ Charset Font.cpp:108:44: error: 'sf::Unicode::UTF32String' has not been declared if (UTFCharset.find(L'\n') != Unicode::UTF32String::npos) UTFCharset += L'\n'; ^~~~~~~~~~~ Font.cpp:109:9: error: 'UTFCharset' was not declared in this scope if (UTFCharset.find(L'\v') != Unicode::UTF32String::npos) UTFCharset += L'\v'; ^~~~~~~~~~ Font.cpp:109:9: note: suggested alternative: 'Charset' if (UTFCharset.find(L'\v') != Unicode::UTF32String::npos) UTFCharset += L'\v'; ^~~~~~~~~~ Charset Font.cpp:109:44: error: 'sf::Unicode::UTF32String' has not been declared if (UTFCharset.find(L'\v') != Unicode::UTF32String::npos) UTFCharset += L'\v'; ^~~~~~~~~~~ Font.cpp:110:9: error: 'UTFCharset' was not declared in this scope if (UTFCharset.find(L'\t') != Unicode::UTF32String::npos) UTFCharset += L'\t'; ^~~~~~~~~~ Font.cpp:110:9: note: suggested alternative: 'Charset' if (UTFCharset.find(L'\t') != Unicode::UTF32String::npos) UTFCharset += L'\t'; ^~~~~~~~~~ Charset Font.cpp:110:44: error: 'sf::Unicode::UTF32String' has not been declared if (UTFCharset.find(L'\t') != Unicode::UTF32String::npos) UTFCharset += L'\t'; ^~~~~~~~~~~ Font.cpp:112:92: error: 'UTFCharset' was not declared in this scope return priv::FontLoader::GetInstance().LoadFontFromMemory(Data, SizeInBytes, CharSize, UTFCharset, *this); ^~~~~~~~~~ Font.cpp:112:92: note: suggested alternative: 'Charset' return priv::FontLoader::GetInstance().LoadFontFromMemory(Data, SizeInBytes, CharSize, UTFCharset, *this); ^~~~~~~~~~ Charset Font.cpp: In member function 'const sf::Glyph& sf::Font::GetGlyph(sf::Uint32) const': Font.cpp:132:10: error: 'map' is not a member of 'sf::std' std::map::const_iterator It = myGlyphs.find(CodePoint); ^~~ In file included from FontLoader.cpp:30: ../../../include/SFML/Graphics/Font.hpp:74:34: error: 'string' in namespace 'sf::std' does not name a type bool LoadFromFile(const std::string& Filename, unsigned int CharSize = 30, const Unicode::Text& Charset = ourDefaultCharset); ^~~~~~ In file included from FontLoader.cpp:30: ../../../include/SFML/Graphics/Font.hpp:87:48: error: 'sf::std::size_t' has not been declared bool LoadFromMemory(const char* Data, std::size_t SizeInBytes, unsigned int CharSize = 30, const Unicode::Text& Charset = ourDefaultCharset); ^~~~~~ Font.cpp:132:10: note: suggested alternative: ../../../include/SFML/Graphics/Font.hpp:139:10: error: 'map' in namespace 'sf::std' does not name a template type std::map myGlyphs; ///< Rendering settings of each character (glyph) ^~~ In file included from /usr/include/c++/8.0/map:61, from ../../../include/SFML/Graphics/Font.hpp:37, from Font.cpp:28: /usr/include/c++/8.0/bits/stl_map.h:100:11: note: 'std::map' class map ^~~ Font.cpp:132:20: error: expected primary-expression before ',' token std::map::const_iterator It = myGlyphs.find(CodePoint); ^ In file included from ../../../include/SFML/Graphics/String.hpp:34, from String.cpp:28: ../../../include/SFML/Graphics/Font.hpp:74:34: error: 'string' in namespace 'sf::std' does not name a type bool LoadFromFile(const std::string& Filename, unsigned int CharSize = 30, const Unicode::Text& Charset = ourDefaultCharset); ^~~~~~ Font.cpp:132:27: error: expected primary-expression before '>' token std::map::const_iterator It = myGlyphs.find(CodePoint); ^ Font.cpp:132:30: error: '::const_iterator' has not been declared std::map::const_iterator It = myGlyphs.find(CodePoint); ^~~~~~~~~~~~~~ In file included from ../../../include/SFML/Graphics/String.hpp:34, from String.cpp:28: ../../../include/SFML/Graphics/Font.hpp:87:48: error: 'sf::std::size_t' has not been declared bool LoadFromMemory(const char* Data, std::size_t SizeInBytes, unsigned int CharSize = 30, const Unicode::Text& Charset = ourDefaultCharset); ^~~~~~ ../../../include/SFML/Graphics/Font.hpp:139:10: error: 'map' in namespace 'sf::std' does not name a template type std::map myGlyphs; ///< Rendering settings of each character (glyph) ^~~ In file included from String.cpp:28: ../../../include/SFML/Graphics/String.hpp:151:39: error: 'sf::std::size_t' has not been declared sf::Vector2f GetCharacterPos(std::size_t Index) const; ^~~~~~ Font.cpp:132:30: note: suggested alternative: 'constexpr' std::map::const_iterator It = myGlyphs.find(CodePoint); ^~~~~~~~~~~~~~ constexpr Font.cpp:133:9: error: 'It' was not declared in this scope if (It != myGlyphs.end()) ^~ Font.cpp:133:9: note: suggested alternative: 'Int8' if (It != myGlyphs.end()) ^~ Int8 Font.cpp:133:15: error: 'myGlyphs' was not declared in this scope if (It != myGlyphs.end()) ^~~~~~~~ Font.cpp:133:15: note: suggested alternative: 'Glyph' if (It != myGlyphs.end()) ^~~~~~~~ Glyph In file included from ../../../include/SFML/Graphics/Rect.hpp:118, from ../../../include/SFML/Graphics/Image.hpp:33, from ../../../include/SFML/Graphics/RenderWindow.hpp:31, from RenderWindow.cpp:28: ../../../include/SFML/Graphics/Rect.inl:106:27: error: 'min' is not a member of 'sf::std' std::min(Right, Rectangle.Right), ^~~ ../../../include/SFML/Graphics/Rect.inl:106:27: note: suggested alternative: In file included from /usr/include/c++/8.0/algorithm:62, from ../../../include/SFML/Graphics/Rect.hpp:31, from ../../../include/SFML/Graphics/Image.hpp:33, from ../../../include/SFML/Graphics/RenderWindow.hpp:31, from RenderWindow.cpp:28: /usr/include/c++/8.0/bits/stl_algo.h:3456:5: note: 'std::min' min(initializer_list<_Tp> __l, _Compare __comp) ^~~ In file included from ../../../include/SFML/Graphics/Rect.hpp:118, from ../../../include/SFML/Graphics/Image.hpp:33, from ../../../include/SFML/Graphics/RenderWindow.hpp:31, from RenderWindow.cpp:28: ../../../include/SFML/Graphics/Rect.inl:107:27: error: 'min' is not a member of 'sf::std' std::min(Bottom, Rectangle.Bottom)); ^~~ ../../../include/SFML/Graphics/Rect.inl:107:27: note: suggested alternative: In file included from /usr/include/c++/8.0/algorithm:62, from ../../../include/SFML/Graphics/Rect.hpp:31, from ../../../include/SFML/Graphics/Image.hpp:33, from ../../../include/SFML/Graphics/RenderWindow.hpp:31, from RenderWindow.cpp:28: /usr/include/c++/8.0/bits/stl_algo.h:3456:5: note: 'std::min' min(initializer_list<_Tp> __l, _Compare __comp) ^~~ In file included from FontLoader.cpp:32: ../../SFML/Graphics/GraphicsContext.hpp:102:37: error: 'string' in namespace 'sf::std' does not name a type inline void GLCheckError(const std::string& File, unsigned int Line) ^~~~~~ ../../SFML/Graphics/GraphicsContext.hpp: In function 'void sf::GLCheckError(const int&, unsigned int)': ../../SFML/Graphics/GraphicsContext.hpp:109:14: error: 'string' is not a member of 'sf::std' std::string Error = "unknown error"; ^~~~~~ ../../SFML/Graphics/GraphicsContext.hpp:109:14: note: suggested alternative: In file included from /usr/include/c++/8.0/iosfwd:39, from /usr/include/c++/8.0/ios:38, from /usr/include/c++/8.0/ostream:38, from /usr/include/c++/8.0/iterator:64, from ../../../include/SFML/System/Unicode.hpp:32, from ../../SFML/Graphics/FontLoader.hpp:32, from FontLoader.cpp:28: /usr/include/c++/8.0/bits/stringfwd.h:74:33: note: 'std::__cxx11::string' typedef basic_string string; ^~~~~~ In file included from FontLoader.cpp:32: ../../SFML/Graphics/GraphicsContext.hpp:110:14: error: 'string' is not a member of 'sf::std' std::string Desc = "no description"; ^~~~~~ ../../SFML/Graphics/GraphicsContext.hpp:110:14: note: suggested alternative: In file included from /usr/include/c++/8.0/iosfwd:39, from /usr/include/c++/8.0/ios:38, from /usr/include/c++/8.0/ostream:38, from /usr/include/c++/8.0/iterator:64, from ../../../include/SFML/System/Unicode.hpp:32, from ../../SFML/Graphics/FontLoader.hpp:32, from FontLoader.cpp:28: /usr/include/c++/8.0/bits/stringfwd.h:74:33: note: 'std::__cxx11::string' typedef basic_string string; ^~~~~~ In file included from FontLoader.cpp:32: ../../SFML/Graphics/GraphicsContext.hpp:117:17: error: 'Error' was not declared in this scope Error = "GL_INVALID_ENUM"; ^~~~~ In file included from String.cpp:30: ../../SFML/Graphics/GraphicsContext.hpp:102:37: error: 'string' in namespace 'sf::std' does not name a type inline void GLCheckError(const std::string& File, unsigned int Line) ^~~~~~ ../../SFML/Graphics/GraphicsContext.hpp: In function 'void sf::GLCheckError(const int&, unsigned int)': ../../SFML/Graphics/GraphicsContext.hpp:109:14: error: 'string' is not a member of 'sf::std' std::string Error = "unknown error"; ^~~~~~ ../../SFML/Graphics/GraphicsContext.hpp:109:14: note: suggested alternative: In file included from /usr/include/c++/8.0/iosfwd:39, from /usr/include/c++/8.0/ios:38, from /usr/include/c++/8.0/ostream:38, from /usr/include/c++/8.0/iterator:64, from ../../../include/SFML/System/Unicode.hpp:32, from ../../../include/SFML/Graphics/String.hpp:32, from String.cpp:28: /usr/include/c++/8.0/bits/stringfwd.h:74:33: note: 'std::__cxx11::string' typedef basic_string string; ^~~~~~ In file included from String.cpp:30: ../../SFML/Graphics/GraphicsContext.hpp:110:14: error: 'string' is not a member of 'sf::std' std::string Desc = "no description"; ^~~~~~ ../../SFML/Graphics/GraphicsContext.hpp:110:14: note: suggested alternative: In file included from /usr/include/c++/8.0/iosfwd:39, from /usr/include/c++/8.0/ios:38, from /usr/include/c++/8.0/ostream:38, from /usr/include/c++/8.0/iterator:64, from ../../../include/SFML/System/Unicode.hpp:32, from ../../../include/SFML/Graphics/String.hpp:32, from String.cpp:28: /usr/include/c++/8.0/bits/stringfwd.h:74:33: note: 'std::__cxx11::string' typedef basic_string string; ^~~~~~ ../../SFML/Graphics/GraphicsContext.hpp:117:17: note: suggested alternative: 'perror' Error = "GL_INVALID_ENUM"; ^~~~~ perror In file included from String.cpp:30: ../../SFML/Graphics/GraphicsContext.hpp:117:17: error: 'Error' was not declared in this scope Error = "GL_INVALID_ENUM"; ^~~~~ ../../SFML/Graphics/GraphicsContext.hpp:118:17: error: 'Desc' was not declared in this scope Desc = "an unacceptable value has been specified for an enumerated argument"; ^~~~ ../../SFML/Graphics/GraphicsContext.hpp:117:17: note: suggested alternative: 'perror' Error = "GL_INVALID_ENUM"; ^~~~~ perror ../../SFML/Graphics/GraphicsContext.hpp:118:17: error: 'Desc' was not declared in this scope Desc = "an unacceptable value has been specified for an enumerated argument"; ^~~~ ../../SFML/Graphics/GraphicsContext.hpp:118:17: note: suggested alternative: 'getc' Desc = "an unacceptable value has been specified for an enumerated argument"; ^~~~ getc ../../SFML/Graphics/GraphicsContext.hpp:124:17: error: 'Error' was not declared in this scope Error = "GL_INVALID_VALUE"; ^~~~~ ../../SFML/Graphics/GraphicsContext.hpp:118:17: note: suggested alternative: 'getc' Desc = "an unacceptable value has been specified for an enumerated argument"; ^~~~ getc ../../SFML/Graphics/GraphicsContext.hpp:124:17: error: 'Error' was not declared in this scope Error = "GL_INVALID_VALUE"; ^~~~~ ../../SFML/Graphics/GraphicsContext.hpp:124:17: note: suggested alternative: 'perror' Error = "GL_INVALID_VALUE"; ^~~~~ perror ../../SFML/Graphics/GraphicsContext.hpp:125:17: error: 'Desc' was not declared in this scope Desc = "a numeric argument is out of range"; ^~~~ ../../SFML/Graphics/GraphicsContext.hpp:124:17: note: suggested alternative: 'perror' Error = "GL_INVALID_VALUE"; ^~~~~ perror ../../SFML/Graphics/GraphicsContext.hpp:125:17: error: 'Desc' was not declared in this scope Desc = "a numeric argument is out of range"; ^~~~ ../../SFML/Graphics/GraphicsContext.hpp:125:17: note: suggested alternative: 'getc' Desc = "a numeric argument is out of range"; ^~~~ getc ../../SFML/Graphics/GraphicsContext.hpp:131:17: error: 'Error' was not declared in this scope Error = "GL_INVALID_OPERATION"; ^~~~~ ../../SFML/Graphics/GraphicsContext.hpp:125:17: note: suggested alternative: 'getc' Desc = "a numeric argument is out of range"; ^~~~ getc ../../SFML/Graphics/GraphicsContext.hpp:131:17: error: 'Error' was not declared in this scope Error = "GL_INVALID_OPERATION"; ^~~~~ ../../SFML/Graphics/GraphicsContext.hpp:131:17: note: suggested alternative: 'perror' Error = "GL_INVALID_OPERATION"; ^~~~~ perror ../../SFML/Graphics/GraphicsContext.hpp:132:17: error: 'Desc' was not declared in this scope Desc = "the specified operation is not allowed in the current state"; ^~~~ ../../SFML/Graphics/GraphicsContext.hpp:131:17: note: suggested alternative: 'perror' Error = "GL_INVALID_OPERATION"; ^~~~~ perror ../../SFML/Graphics/GraphicsContext.hpp:132:17: error: 'Desc' was not declared in this scope Desc = "the specified operation is not allowed in the current state"; ^~~~ ../../SFML/Graphics/GraphicsContext.hpp:132:17: note: suggested alternative: 'getc' Desc = "the specified operation is not allowed in the current state"; ^~~~ getc ../../SFML/Graphics/GraphicsContext.hpp:138:17: error: 'Error' was not declared in this scope Error = "GL_STACK_OVERFLOW"; ^~~~~ ../../SFML/Graphics/GraphicsContext.hpp:132:17: note: suggested alternative: 'getc' Desc = "the specified operation is not allowed in the current state"; ^~~~ getc ../../SFML/Graphics/GraphicsContext.hpp:138:17: error: 'Error' was not declared in this scope Error = "GL_STACK_OVERFLOW"; ^~~~~ ../../SFML/Graphics/GraphicsContext.hpp:138:17: note: suggested alternative: 'perror' Error = "GL_STACK_OVERFLOW"; ^~~~~ perror ../../SFML/Graphics/GraphicsContext.hpp:139:17: error: 'Desc' was not declared in this scope Desc = "this command would cause a stack overflow"; ^~~~ ../../SFML/Graphics/GraphicsContext.hpp:138:17: note: suggested alternative: 'perror' Error = "GL_STACK_OVERFLOW"; ^~~~~ perror ../../SFML/Graphics/GraphicsContext.hpp:139:17: error: 'Desc' was not declared in this scope Desc = "this command would cause a stack overflow"; ^~~~ ../../SFML/Graphics/GraphicsContext.hpp:139:17: note: suggested alternative: 'getc' Desc = "this command would cause a stack overflow"; ^~~~ getc ../../SFML/Graphics/GraphicsContext.hpp:145:17: error: 'Error' was not declared in this scope Error = "GL_STACK_UNDERFLOW"; ^~~~~ ../../SFML/Graphics/GraphicsContext.hpp:139:17: note: suggested alternative: 'getc' Desc = "this command would cause a stack overflow"; ^~~~ getc ../../SFML/Graphics/GraphicsContext.hpp:145:17: error: 'Error' was not declared in this scope Error = "GL_STACK_UNDERFLOW"; ^~~~~ ../../SFML/Graphics/GraphicsContext.hpp:145:17: note: suggested alternative: 'perror' Error = "GL_STACK_UNDERFLOW"; ^~~~~ perror ../../SFML/Graphics/GraphicsContext.hpp:146:17: error: 'Desc' was not declared in this scope Desc = "this command would cause a stack underflow"; ^~~~ ../../SFML/Graphics/GraphicsContext.hpp:146:17: note: suggested alternative: 'getc' Desc = "this command would cause a stack underflow"; ^~~~ getc ../../SFML/Graphics/GraphicsContext.hpp:152:17: error: 'Error' was not declared in this scope Error = "GL_OUT_OF_MEMORY"; ^~~~~ ../../SFML/Graphics/GraphicsContext.hpp:152:17: note: suggested alternative: 'perror' Error = "GL_OUT_OF_MEMORY"; ^~~~~ perror ../../SFML/Graphics/GraphicsContext.hpp:153:17: error: 'Desc' was not declared in this scope Desc = "there is not enough memory left to execute the command"; ^~~~ ../../SFML/Graphics/GraphicsContext.hpp:153:17: note: suggested alternative: 'getc' Desc = "there is not enough memory left to execute the command"; ^~~~ getc ../../SFML/Graphics/GraphicsContext.hpp:159:17: error: 'Error' was not declared in this scope Error = "GL_INVALID_FRAMEBUFFER_OPERATION_EXT"; ^~~~~ ../../SFML/Graphics/GraphicsContext.hpp:159:17: note: suggested alternative: 'perror' Error = "GL_INVALID_FRAMEBUFFER_OPERATION_EXT"; ^~~~~ perror ../../SFML/Graphics/GraphicsContext.hpp:160:17: error: 'Desc' was not declared in this scope Desc = "the object bound to FRAMEBUFFER_BINDING_EXT is not \"framebuffer complete\""; ^~~~ ../../SFML/Graphics/GraphicsContext.hpp:160:17: note: suggested alternative: 'getc' Desc = "the object bound to FRAMEBUFFER_BINDING_EXT is not \"framebuffer complete\""; ^~~~ getc ../../SFML/Graphics/GraphicsContext.hpp:166:14: error: 'cerr' is not a member of 'sf::std' std::cerr << "An internal OpenGL call failed in " ^~~~ ../../SFML/Graphics/GraphicsContext.hpp:166:14: note: suggested alternative: In file included from ../../SFML/Graphics/GraphicsContext.hpp:34, from String.cpp:30: /usr/include/c++/8.0/iostream:62:18: note: 'std::cerr' extern ostream cerr; /// Linked to standard error (unbuffered) ^~~~ In file included from String.cpp:30: ../../SFML/Graphics/GraphicsContext.hpp:167:27: error: request for member 'substr' in 'File', which is of non-class type 'const int' << File.substr(File.find_last_of("\\/") + 1) << " (" << Line << ") : " ^~~~~~ ../../SFML/Graphics/GraphicsContext.hpp:167:39: error: request for member 'find_last_of' in 'File', which is of non-class type 'const int' << File.substr(File.find_last_of("\\/") + 1) << " (" << Line << ") : " ^~~~~~~~~~~~ ../../SFML/Graphics/GraphicsContext.hpp:168:22: error: 'Error' was not declared in this scope << Error << ", " << Desc ^~~~~ ../../SFML/Graphics/GraphicsContext.hpp:168:22: note: suggested alternative: 'perror' << Error << ", " << Desc ^~~~~ perror ../../SFML/Graphics/GraphicsContext.hpp:168:39: error: 'Desc' was not declared in this scope << Error << ", " << Desc ^~~~ ../../SFML/Graphics/GraphicsContext.hpp:168:39: note: suggested alternative: 'getc' << Error << ", " << Desc ^~~~ getc ../../SFML/Graphics/GraphicsContext.hpp:169:27: error: 'endl' is not a member of 'sf::std' << std::endl; ^~~~ ../../SFML/Graphics/GraphicsContext.hpp:169:27: note: suggested alternative: In file included from /usr/include/c++/8.0/iterator:64, from ../../../include/SFML/System/Unicode.hpp:32, from ../../../include/SFML/Graphics/String.hpp:32, from String.cpp:28: /usr/include/c++/8.0/ostream:590:5: note: 'std::endl' endl(basic_ostream<_CharT, _Traits>& __os) ^~~~ String.cpp: At global scope: String.cpp:153:43: error: 'sf::Vector2f sf::String::GetCharacterPos' is not a static data member of 'class sf::String' sf::Vector2f String::GetCharacterPos(std::size_t Index) const ^~~~~~ String.cpp:153:43: error: 'size_t' is not a member of 'sf::std' String.cpp:153:43: note: suggested alternatives: In file included from /usr/include/c++/8.0/bits/cxxabi_init_exception.h:38, from /usr/include/c++/8.0/bits/exception_ptr.h:38, from /usr/include/c++/8.0/exception:143, from /usr/include/c++/8.0/new:40, from /usr/include/c++/8.0/ext/new_allocator.h:33, from /usr/include/c++/8.0/bits/c++allocator.h:33, from /usr/include/c++/8.0/bits/allocator.h:46, from /usr/include/c++/8.0/bits/stl_tree.h:64, from /usr/include/c++/8.0/set:60, from ../../../include/SFML/System/Resource.hpp:31, from ../../../include/SFML/Graphics/String.hpp:31, from String.cpp:28: /usr/include/stddef.h:45:18: note: 'size_t' typedef __size_t size_t; /* open group, _GCC_SIZE_T OK */ ^~~~~~ In file included from /usr/include/c++/8.0/bits/stl_algobase.h:59, from /usr/include/c++/8.0/bits/stl_tree.h:63, from /usr/include/c++/8.0/set:60, from ../../../include/SFML/System/Resource.hpp:31, from ../../../include/SFML/Graphics/String.hpp:31, from String.cpp:28: /usr/include/c++/8.0/bits/c++config.h:238:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ /usr/include/c++/8.0/bits/c++config.h:238:26: note: 'std::size_t' String.cpp:153:57: error: expected ',' or ';' before 'const' sf::Vector2f String::GetCharacterPos(std::size_t Index) const ^~~~~ ../../SFML/Graphics/GraphicsContext.hpp:145:17: note: suggested alternative: 'perror' Error = "GL_STACK_UNDERFLOW"; ^~~~~ perror ../../SFML/Graphics/GraphicsContext.hpp:146:17: error: 'Desc' was not declared in this scope Desc = "this command would cause a stack underflow"; ^~~~ String.cpp: In member function 'virtual void sf::String::Render(sf::RenderTarget&) const': String.cpp:216:20: error: 'UTF32String' in 'class sf::Unicode' does not name a type const Unicode::UTF32String& Text = myText; ^~~~~~~~~~~ String.cpp:219:9: error: 'Text' was not declared in this scope if (Text.empty()) ^~~~ ../../SFML/Graphics/GraphicsContext.hpp:146:17: note: suggested alternative: 'getc' Desc = "this command would cause a stack underflow"; ^~~~ getc ../../SFML/Graphics/GraphicsContext.hpp:152:17: error: 'Error' was not declared in this scope Error = "GL_OUT_OF_MEMORY"; ^~~~~ String.cpp:219:9: note: suggested alternative: 'myText' if (Text.empty()) ^~~~ myText String.cpp:225:42: error: invalid conversion from 'const char*' to 'int' [-fpermissive] GLCheck(glScalef(Factor, Factor, 1.f)); ^ In file included from String.cpp:30: ../../SFML/Graphics/GraphicsContext.hpp:102:45: note: initializing argument 1 of 'void sf::GLCheckError(const int&, unsigned int)' inline void GLCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ String.cpp:235:10: error: 'vector' is not a member of 'sf::std' std::vector UnderlineCoords; ^~~~~~ String.cpp:235:10: note: suggested alternative: In file included from /usr/include/c++/8.0/vector:64, from ../../../include/SFML/Graphics/Image.hpp:35, from ../../../include/SFML/Graphics/Font.hpp:35, from ../../../include/SFML/Graphics/String.hpp:34, from String.cpp:28: /usr/include/c++/8.0/bits/stl_vector.h:339:11: note: 'std::vector' class vector : protected _Vector_base<_Tp, _Alloc> ^~~~~~ ../../SFML/Graphics/GraphicsContext.hpp:152:17: note: suggested alternative: 'perror' Error = "GL_OUT_OF_MEMORY"; ^~~~~ perror String.cpp:235:17: error: expected primary-expression before 'float' std::vector UnderlineCoords; ^~~~~ String.cpp:236:5: error: 'UnderlineCoords' was not declared in this scope UnderlineCoords.reserve(16); ^~~~~~~~~~~~~~~ ../../SFML/Graphics/GraphicsContext.hpp:153:17: error: 'Desc' was not declared in this scope Desc = "there is not enough memory left to execute the command"; ^~~~ ../../SFML/Graphics/GraphicsContext.hpp:153:17: note: suggested alternative: 'getc' Desc = "there is not enough memory left to execute the command"; ^~~~ getc ../../SFML/Graphics/GraphicsContext.hpp:159:17: error: 'Error' was not declared in this scope Error = "GL_INVALID_FRAMEBUFFER_OPERATION_EXT"; ^~~~~ ../../SFML/Graphics/GraphicsContext.hpp:159:17: note: suggested alternative: 'perror' Error = "GL_INVALID_FRAMEBUFFER_OPERATION_EXT"; ^~~~~ perror ../../SFML/Graphics/GraphicsContext.hpp:160:17: error: 'Desc' was not declared in this scope Desc = "the object bound to FRAMEBUFFER_BINDING_EXT is not \"framebuffer complete\""; ^~~~ ../../SFML/Graphics/GraphicsContext.hpp:160:17: note: suggested alternative: 'getc' Desc = "the object bound to FRAMEBUFFER_BINDING_EXT is not \"framebuffer complete\""; ^~~~ getc ../../SFML/Graphics/GraphicsContext.hpp:166:14: error: 'cerr' is not a member of 'sf::std' std::cerr << "An internal OpenGL call failed in " ^~~~ ../../SFML/Graphics/GraphicsContext.hpp:166:14: note: suggested alternative: In file included from ../../SFML/Graphics/GraphicsContext.hpp:34, from FontLoader.cpp:32: /usr/include/c++/8.0/iostream:62:18: note: 'std::cerr' extern ostream cerr; /// Linked to standard error (unbuffered) ^~~~ In file included from FontLoader.cpp:32: ../../SFML/Graphics/GraphicsContext.hpp:167:27: error: request for member 'substr' in 'File', which is of non-class type 'const int' << File.substr(File.find_last_of("\\/") + 1) << " (" << Line << ") : " ^~~~~~ ../../SFML/Graphics/GraphicsContext.hpp:167:39: error: request for member 'find_last_of' in 'File', which is of non-class type 'const int' << File.substr(File.find_last_of("\\/") + 1) << " (" << Line << ") : " ^~~~~~~~~~~~ String.cpp:236:5: note: suggested alternative: 'Underlined' UnderlineCoords.reserve(16); ^~~~~~~~~~~~~~~ Underlined ../../SFML/Graphics/GraphicsContext.hpp:168:22: error: 'Error' was not declared in this scope << Error << ", " << Desc ^~~~~ String.cpp:243:15: error: 'size_t' is not a member of 'sf::std' for (std::size_t i = 0; i < Text.size(); ++i) ^~~~~~ String.cpp:243:15: note: suggested alternatives: In file included from /usr/include/c++/8.0/bits/cxxabi_init_exception.h:38, from /usr/include/c++/8.0/bits/exception_ptr.h:38, from /usr/include/c++/8.0/exception:143, from /usr/include/c++/8.0/new:40, from /usr/include/c++/8.0/ext/new_allocator.h:33, from /usr/include/c++/8.0/bits/c++allocator.h:33, from /usr/include/c++/8.0/bits/allocator.h:46, from /usr/include/c++/8.0/bits/stl_tree.h:64, from /usr/include/c++/8.0/set:60, from ../../../include/SFML/System/Resource.hpp:31, from ../../../include/SFML/Graphics/String.hpp:31, from String.cpp:28: /usr/include/stddef.h:45:18: note: 'size_t' typedef __size_t size_t; /* open group, _GCC_SIZE_T OK */ ^~~~~~ In file included from /usr/include/c++/8.0/bits/stl_algobase.h:59, from /usr/include/c++/8.0/bits/stl_tree.h:63, from /usr/include/c++/8.0/set:60, from ../../../include/SFML/System/Resource.hpp:31, from ../../../include/SFML/Graphics/String.hpp:31, from String.cpp:28: /usr/include/c++/8.0/bits/c++config.h:238:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ ../../SFML/Graphics/GraphicsContext.hpp:168:22: note: suggested alternative: 'perror' << Error << ", " << Desc ^~~~~ perror /usr/include/c++/8.0/bits/c++config.h:238:26: note: 'std::size_t' String.cpp:243:29: error: 'i' was not declared in this scope for (std::size_t i = 0; i < Text.size(); ++i) ^ ../../SFML/Graphics/GraphicsContext.hpp:168:39: error: 'Desc' was not declared in this scope << Error << ", " << Desc ^~~~ ../../SFML/Graphics/GraphicsContext.hpp:168:39: note: suggested alternative: 'getc' << Error << ", " << Desc ^~~~ getc ../../SFML/Graphics/GraphicsContext.hpp:169:27: error: 'endl' is not a member of 'sf::std' << std::endl; ^~~~ ../../SFML/Graphics/GraphicsContext.hpp:169:27: note: suggested alternative: String.cpp:243:33: error: 'Text' was not declared in this scope for (std::size_t i = 0; i < Text.size(); ++i) ^~~~ In file included from /usr/include/c++/8.0/iterator:64, from ../../../include/SFML/System/Unicode.hpp:32, from ../../SFML/Graphics/FontLoader.hpp:32, from FontLoader.cpp:28: /usr/include/c++/8.0/ostream:590:5: note: 'std::endl' endl(basic_ostream<_CharT, _Traits>& __os) ^~~~ String.cpp:243:33: note: suggested alternative: 'myText' for (std::size_t i = 0; i < Text.size(); ++i) ^~~~ myText String.cpp:307:41: error: invalid conversion from 'const char*' to 'int' [-fpermissive] GLCheck(glDisable(GL_TEXTURE_2D)); ^ In file included from String.cpp:30: ../../SFML/Graphics/GraphicsContext.hpp:102:45: note: initializing argument 1 of 'void sf::GLCheckError(const int&, unsigned int)' inline void GLCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ FontLoader.cpp: In constructor 'sf::priv::FontLoader::FontLoader()': FontLoader.cpp:78:14: error: 'cerr' is not a member of 'sf::std' std::cerr << "Failed to initialize FreeType library (error code : " << Error << ")" << std::endl; ^~~~ String.cpp:309:19: error: 'size_t' is not a member of 'sf::std' for (std::size_t i = 0; i < UnderlineCoords.size(); i += 2) ^~~~~~ FontLoader.cpp:78:14: note: suggested alternative: In file included from ../../SFML/Graphics/GraphicsContext.hpp:34, from FontLoader.cString.cpp:309:19: note: suggested alternatives: pp:32: /usr/include/c++/8.0/iostream:62:18: note: 'std::cerr' extern ostream cerr; /// Linked to standard error (unbuffered) ^~~~ In file included from /usr/include/c++/8.0/bits/cxxabi_init_exception.h:38, from /usr/include/c++/8.0/bits/exception_ptr.h:38, from /usr/include/c++/8.0/exception:143, from /usr/include/c++/8.0/new:40, from /usr/include/c++/8.0/ext/new_allocator.h:33, from /usr/include/c++/8.0/bits/c++allocator.h:33, FontLoader.cpp:78:101: error: 'endl' is not a member of 'sf::std' std::cerr << "Failed to initialize FreeType library (error code : " << Error << ")" << std::endl; ^~~~ from /usr/include/c++/8.0/bits/allocator.h:46, from /usr/include/c++/8.0/bits/stl_tree.h:64, from /usr/include/c++/8.0/set:60, from ../../../include/SFML/System/Resource.hpp:31, from ../../../include/SFML/Graphics/String.hpp:31, from String.cpp:28: /usr/include/stddef.h:45:18: note: 'size_t' typedef __size_t size_t; /* open group, _GCC_SIZE_T OK */ ^~~~~~ In file included from /usr/include/c++/8.0/bits/stl_algobase.h:59, from /usr/include/c++/8.0/bits/stl_tree.h:63, from /usr/include/c++/8.0/set:60, from ../../../include/SFML/System/Resource.hpp:31, from ../../../include/SFML/Graphics/String.hpp:31, from String.cpp:28: /usr/include/c++/8.0/bits/c++config.h:238:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ /usr/include/c++/8.0/bits/c++config.h:238:26: note: 'std::size_t' String.cpp:309:33: error: 'i' was not declared in this scope for (std::size_t i = 0; i < UnderlineCoords.size(); i += 2) ^ FontLoader.cpp:78:101: note: suggested alternative: In file included from /usr/include/c++/8.0/iterator:64, from ../../../include/SFML/System/Unicode.hpp:32, from ../../SFML/Graphics/FontLoader.hpp:32, from FontLoader.cpp:28: /usr/include/c++/8.0/ostream:590:5: note: 'std::endl' endl(basic_ostream<_CharT, _Traits>& __os) ^~~~ FontLoader.cpp: At global scope: FontLoader.cpp:98:46: error: 'string' in namespace 'sf::std' does not name a type bool FontLoader::LoadFontFromFile(const std::string& Filename, unsigned int CharSize, const Unicode::UTF32String& Charset, Font& LoadedFont) ^~~~~~ String.cpp: In member function 'void sf::String::RecomputeRect()': String.cpp:327:20: error: 'UTF32String' in 'class sf::Unicode' does not name a type const Unicode::UTF32String& Text = myText; ^~~~~~~~~~~ String.cpp:333:9: error: 'Text' was not declared in this scope if (Text.empty()) ^~~~ FontLoader.cpp:98:6: error: no declaration matches 'bool sf::priv::FontLoader::LoadFontFromFile(const int&, unsigned int, const UTF32String&, sf::Font&)' bool FontLoader::LoadFontFromFile(const std::string& Filename, unsigned int CharSize, const Unicode::UTF32String& Charset, Font& LoadedFont) ^~~~~~~~~~ In file included from FontLoader.cpp:28: ../../SFML/Graphics/FontLoader.hpp:70:10: note: candidate is: 'bool sf::priv::FontLoader::LoadFontFromFile(const string&, unsigned int, const UTF32String&, sf::Font&)' bool LoadFontFromFile(const std::string& Filename, unsigned int CharSize, const Unicode::UTF32String& Charset, Font& LoadedFont); ^~~~~~~~~~~~~~~~ ../../SFML/Graphics/FontLoader.hpp:47:7: note: 'class sf::priv::FontLoader' defined here class FontLoader : NonCopyable ^~~~~~~~~~ String.cpp:333:9: note: suggested alternative: 'myText' if (Text.empty()) ^~~~ myText FontLoader.cpp:131:60: error: 'sf::std::size_t' has not been declared bool FontLoader::LoadFontFromMemory(const char* Data, std::size_t SizeInBytes, unsigned int CharSize, const Unicode::UTF32String& Charset, Font& LoadedFont) ^~~~~~ FontLoader.cpp:131:6: error: no declaration matches 'bool sf::priv::FontLoader::LoadFontFromMemory(const char*, int, unsigned int, const UTF32String&, sf::Font&)' bool FontLoader::LoadFontFromMemory(const char* Data, std::size_t SizeInBytes, unsigned int CharSize, const Unicode::UTF32String& Charset, Font& LoadedFont) ^~~~~~~~~~ String.cpp:347:15: error: 'size_t' is not a member of 'sf::std' for (std::size_t i = 0; i < Text.size(); ++i) ^~~~~~ In file included from FontLoader.cpp:28: ../../SFML/Graphics/FontLoader.hpp:84:10: note: candidate is: 'bool sf::priv::FontLoader::LoadFontFromMemory(const char*, std::size_t, unsigned int, const UTF32String&, sf::Font&)' bool LoadFontFromMemory(const char* Data, std::size_t SizeInBytes, unsigned int CharSize, const Unicode::UTF32String& Charset, Font& LoadedFont); ^~~~~~~~~~~~~~~~~~ String.cpp:347:15: note: suggested alternatives: In file included from FontLoader.cpp:28: ../../SFML/Graphics/FontLoader.hpp:47:7: note: 'class sf::priv::FontLoader' defined here class FontLoader : NonCopyable ^~~~~~~~~~ In file included from /usr/include/c++/8.0/bits/cxxabi_init_exception.h:38, from /usr/include/c++/8.0/bits/exception_ptr.h:38, from /usr/include/c++/8.0/exception:143, from /usr/include/c++/8.0/new:40, from /usr/include/c++/8.0/ext/new_allocator.h:33, from /usr/include/c++/8.0/bits/c++allocator.h:33, from /usr/include/c++/8.0/bits/allocator.h:46, from /usr/include/c++/8.0/bits/stl_tree.h:64, from /usr/include/c++/8.0/set:60, from ../../../include/SFML/System/Resource.hpp:31, from ../../../include/SFML/Graphics/String.hpp:31, from String.cpp:28: /usr/include/stddef.h:45:18: note: 'size_t' typedef __size_t size_t; /* open group, _GCC_SIZE_T OK */ ^~~~~~ FontLoader.cpp: In member function 'FT_Error sf::priv::FontLoader::CreateBitmapFont(FT_Face, unsigned int, const UTF32String&, sf::Font&)': FontLoader.cpp:171:57: error: invalid conversion from 'const char*' to 'int' [-fpermissive] GLCheck(glGetIntegerv(GL_MAX_TEXTURE_SIZE, &MaxSize)); ^ In file included from /usr/include/c++/8.0/bits/stl_algobase.h:59, from /usr/include/c++/8.0/bits/stl_tree.h:63, from /usr/include/c++/8.0/set:60, from ../../../include/SFML/System/Resource.hpp:31, from ../../../include/SFML/Graphics/String.hpp:31, from String.cpp:28: /usr/include/c++/8.0/bits/c++config.h:238:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ /usr/include/c++/8.0/bits/c++config.h:238:26: note: 'std::size_t' String.cpp:347:29: error: 'i' was not declared in this scope for (std::size_t i = 0; i < Text.size(); ++i) ^ String.cpp:347:33: error: 'Text' was not declared in this scope for (std::size_t i = 0; i < Text.size(); ++i) ^~~~ In file included from FontLoader.cpp:32: ../../SFML/Graphics/GraphicsContext.hpp:102:45: note: initializing argument 1 of 'void sf::GLCheckError(const int&, unsigned int)' inline void GLCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ FontLoader.cpp:183:10: error: 'vector' is not a member of 'sf::std' std::vector Tops(TexWidth, 0); ^~~~~~ FontLoader.cpp:183:10: note: suggested alternative: In file included from /usr/include/c++/8.0/vector:64, from ../../../include/SFML/Graphics/Image.hpp:35, from ../../../include/SFML/Graphics/Font.hpp:35, from FontLoader.cpp:30: /usr/include/c++/8.0/bits/stl_vector.h:339:11: note: 'std::vector' class vector : protected _Vector_base<_Tp, _Alloc> ^~~~~~ FontLoader.cpp:183:17: error: expected primary-expression before 'unsigned' std::vector Tops(TexWidth, 0); ^~~~~~~~ FontLoader.cpp:186:10: error: 'vector' is not a member of 'sf::std' std::vector GlyphsBuffer(TexWidth * TexHeight * 4); ^~~~~~ FontLoader.cpp:186:10: note: suggested alternative: In file included from /usr/include/c++/8.0/vector:64, from ../../../include/SFML/Graphics/Image.hpp:35, from ../../../include/SFML/Graphics/Font.hpp:35, from FontLoader.cpp:30: /usr/include/c++/8.0/bits/stl_vector.h:339:11: note: 'std::vector' class vector : protected _Vector_base<_Tp, _Alloc> ^~~~~~ FontLoader.cpp:186:22: error: expected primary-expression before '>' token std::vector GlyphsBuffer(TexWidth * TexHeight * 4); ^ FontLoader.cpp:186:24: error: 'GlyphsBuffer' was not declared in this scope std::vector GlyphsBuffer(TexWidth * TexHeight * 4); ^~~~~~~~~~~~ FontLoader.cpp:186:24: note: suggested alternative: 'glIsBuffer' std::vector GlyphsBuffer(TexWidth * TexHeight * 4); ^~~~~~~~~~~~ glIsBuffer FontLoader.cpp:199:18: error: 'multimap' in namespace 'sf::std' does not name a template type typedef std::multimap GlyphTable; ^~~~~~~~ FontLoader.cpp:200:5: error: 'GlyphTable' was not declared in this scope GlyphTable Glyphs; ^~~~~~~~~~ FontLoader.cpp:200:5: note: suggested alternative: 'Glyph' GlyphTable Glyphs; ^~~~~~~~~~ Glyph FontLoader.cpp:201:15: error: 'size_t' is not a member of 'sf::std' for (std::size_t i = 0; i < Charset.length(); ++i) ^~~~~~ FontLoader.cpp:201:15: note: suggested alternatives: In file included from /usr/include/wchar.h:65, from /usr/include/c++/8.0/cwchar:44, from /usr/include/c++/8.0/bits/postypes.h:40, from /usr/include/c++/8.0/iosfwd:40, from /usr/include/c++/8.0/ios:38, from /usr/include/c++/8.0/ostream:38, from /usr/include/c++/8.0/iterator:64, from ../../../include/SFML/System/Unicode.hpp:32, from ../../SFML/Graphics/FontLoader.hpp:32, from FontLoader.cpp:28: /usr/include/sys/types.h:228:18: note: 'size_t' typedef __size_t size_t; /* _GCC_SIZE_T OK */ ^~~~~~ In file included from /usr/include/c++/8.0/climits:41, from ../../../include/SFML/Config.hpp:122, from ../../../include/SFML/System/NonCopyable.hpp:31, from ../../SFML/Graphics/FontLoader.hpp:31, from FontLoader.cpp:28: /usr/include/c++/8.0/bits/c++config.h:238:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ /usr/include/c++/8.0/bits/c++config.h:238:26: note: 'std::size_t' FontLoader.cpp:201:29: error: 'i' was not declared in this scope for (std::size_t i = 0; i < Charset.length(); ++i) ^ FontLoader.cpp:217:9: error: 'Glyphs' was not declared in this scope Glyphs.insert(std::make_pair(BitmapGlyph, Charset[i])); ^~~~~~ FontLoader.cpp:217:9: note: suggested alternative: 'Glyph' Glyphs.insert(std::make_pair(BitmapGlyph, Charset[i])); ^~~~~~ Glyph FontLoader.cpp:217:28: error: 'make_pair' is not a member of 'sf::std' Glyphs.insert(std::make_pair(BitmapGlyph, Charset[i])); ^~~~~~~~~ FontLoader.cpp:217:28: note: suggested alternative: In file included from /usr/include/c++/8.0/bits/stl_algobase.h:64, from /usr/include/c++/8.0/bits/char_traits.h:39, from /usr/include/c++/8.0/ios:40, from /usr/include/c++/8.0/ostream:38, from /usr/include/c++/8.0/iterator:64, from ../../../include/SFML/System/Unicode.hpp:32, from ../../SFML/Graphics/FontLoader.hpp:32, from FontLoader.cpp:28: /usr/include/c++/8.0/bits/stl_pair.h:524:5: note: 'std::make_pair' make_pair(_T1&& __x, _T2&& __y) ^~~~~~~~~ FontLoader.cpp:222:10: error: 'map' is not a member of 'sf::std' std::map Coords; ^~~ FontLoader.cpp:222:10: note: suggested alternative: In file included from /usr/include/c++/8.0/map:61, from ../../../include/SFML/Graphics/Font.hpp:37, from FontLoader.cpp:30: /usr/include/c++/8.0/bits/stl_map.h:100:11: note: 'std::map' class map ^~~ FontLoader.cpp:222:20: error: expected primary-expression before ',' token std::map Coords; ^ FontLoader.cpp:222:29: error: expected primary-expression before '>' token std::map Coords; ^ FontLoader.cpp:222:31: error: 'Coords' was not declared in this scope std::map Coords; ^~~~~~ FontLoader.cpp:222:31: note: suggested alternative: 'Color' std::map Coords; ^~~~~~ Color FontLoader.cpp:223:10: error: 'GlyphTable' is not a class, namespace, or enumeration for (GlyphTable::const_iterator i = Glyphs.begin(); i != Glyphs.end(); ++i) ^~~~~~~~~~ FontLoader.cpp:223:57: error: 'i' was not declared in this scope for (GlyphTable::const_iterator i = Glyphs.begin(); i != Glyphs.end(); ++i) ^ FontLoader.cpp:223:62: error: 'Glyphs' was not declared in this scope for (GlyphTable::const_iterator i = Glyphs.begin(); i != Glyphs.end(); ++i) ^~~~~~ FontLoader.cpp:223:62: note: suggested alternative: 'Glyph' for (GlyphTable::const_iterator i = Glyphs.begin(); i != Glyphs.end(); ++i) ^~~~~~ Glyph FontLoader.cpp:226:49: error: 'class sf::Font' has no member named 'myGlyphs'; did you mean 'GetGlyph'? Glyph& CurGlyph = LoadedFont.myGlyphs[i->second]; ^~~~~~~~ GetGlyph FontLoader.cpp:235:15: error: 'Tops' was not declared in this scope Top = Tops[Left]; ^~~~ FontLoader.cpp:235:15: note: suggested alternative: 'Top' Top = Tops[Left]; ^~~~ Top FontLoader.cpp:237:24: error: 'max' is not a member of 'sf::std' Top = std::max(Top, Tops[Left + x]); ^~~ FontLoader.cpp:237:24: note: suggested alternative: In file included from /usr/include/c++/8.0/algorithm:62, from ../../../include/SFML/Graphics/Rect.hpp:31, from ../../../include/SFML/Graphics/Glyph.hpp:32, from ../../../include/SFML/Graphics/Font.hpp:34, from FontLoader.cpp:30: /usr/include/c++/8.0/bits/stl_algo.h:3468:5: note: 'std::max' max(initializer_list<_Tp> __l, _Compare __comp) ^~~ FontLoader.cpp:263:22: error: 'size_t' is not a member of 'sf::std' std::size_t Index = x + Left + 1 + (y + Top + 1) * TexWidth; ^~~~~~ FontLoader.cpp:263:22: note: suggested alternatives: In file included from /usr/include/wchar.h:65, from /usr/include/c++/8.0/cwchar:44, from /usr/include/c++/8.0/bits/postypes.h:40, from /usr/include/c++/8.0/iosfwd:40, from /usr/include/c++/8.0/ios:38, from /usr/include/c++/8.0/ostream:38, from /usr/include/c++/8.0/iterator:64, from ../../../include/SFML/System/Unicode.hpp:32, from ../../SFML/Graphics/FontLoader.hpp:32, from FontLoader.cpp:28: /usr/include/sys/types.h:228:18: note: 'size_t' typedef __size_t size_t; /* _GCC_SIZE_T OK */ ^~~~~~ In file included from /usr/include/c++/8.0/climits:41, from ../../../include/SFML/Config.hpp:122, from ../../../include/SFML/System/NonCopyable.hpp:31, from ../../SFML/Graphics/FontLoader.hpp:31, from FontLoader.cpp:28: /usr/include/c++/8.0/bits/c++config.h:238:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ /usr/include/c++/8.0/bits/c++config.h:238:26: note: 'std::size_t' FontLoader.cpp:264:30: error: 'Index' was not declared in this scope GlyphsBuffer[Index * 4 + 0] = 255; ^~~~~ FontLoader.cpp:264:30: note: suggested alternative: 'index' GlyphsBuffer[Index * 4 + 0] = 255; ^~~~~ index FontLoader.cpp:289:15: error: 'size_t' is not a member of 'sf::std' for (std::size_t i = 0; i < Charset.size(); ++i) ^~~~~~ FontLoader.cpp:289:15: note: suggested alternatives: In file included from /usr/include/wchar.h:65, from /usr/include/c++/8.0/cwchar:44, from /usr/include/c++/8.0/bits/postypes.h:40, from /usr/include/c++/8.0/iosfwd:40, from /usr/include/c++/8.0/ios:38, from /usr/include/c++/8.0/ostream:38, from /usr/include/c++/8.0/iterator:64, from ../../../include/SFML/System/Unicode.hpp:32, from ../../SFML/Graphics/FontLoader.hpp:32, from FontLoader.cpp:28: /usr/include/sys/types.h:228:18: note: 'size_t' typedef __size_t size_t; /* _GCC_SIZE_T OK */ ^~~~~~ In file included from /usr/include/c++/8.0/climits:41, from ../../../include/SFML/Config.hpp:122, from ../../../include/SFML/System/NonCopyable.hpp:31, from ../../SFML/Graphics/FontLoader.hpp:31, from FontLoader.cpp:28: /usr/include/c++/8.0/bits/c++config.h:238:26: note: 'std::size_t' typedef __SIZE_TYPE__ size_t; ^~~~~~ /usr/include/c++/8.0/bits/c++config.h:238:26: note: 'std::size_t' FontLoader.cpp:289:29: error: 'i' was not declared in this scope for (std::size_t i = 0; i < Charset.size(); ++i) ^ FontLoader.cpp:292:20: error: 'class sf::Font' has no member named 'myGlyphs'; did you mean 'GetGlyph'? LoadedFont.myGlyphs[CurChar].TexCoords = LoadedFont.myTexture.GetTexCoords(Coords[CurChar]); ^~~~~~~~ GetGlyph FontLoader.cpp: At global scope: FontLoader.cpp:305:6: error: 'string' in namespace 'sf::std' does not name a type std::string FontLoader::GetErrorDesc(FT_Error Error) ^~~~~~ String.cpp:347:33: note: suggested alternative: 'myText' for (std::size_t i = 0; i < Text.size(); ++i) ^~~~ myText In file included from Image.cpp:28: ../../../include/SFML/Graphics/Image.hpp: At global scope: ../../../include/SFML/Graphics/Image.hpp:98:34: error: 'string' in namespace 'sf::std' does not name a type bool LoadFromFile(const std::string& Filename); ^~~~~~ ../../../include/SFML/Graphics/Image.hpp:109:48: error: 'sf::std::size_t' has not been declared bool LoadFromMemory(const char* Data, std::size_t SizeInBytes); ^~~~~~ ../../../include/SFML/Graphics/Image.hpp:131:32: error: 'string' in namespace 'sf::std' does not name a type bool SaveToFile(const std::string& Filename) const; ^~~~~~ In file included from Image.cpp:28: ../../../include/SFML/Graphics/Image.hpp:324:18: error: 'vector' in namespace 'sf::std' does not name a template type mutable std::vector myPixels; ///< Pixels of the image ^~~~~~ In file included from Image.cpp:29: ../../SFML/Graphics/ImageLoader.hpp:68:39: error: 'string' in namespace 'sf::std' does not name a type bool LoadImageFromFile(const std::string& Filename, std::vector& Pixels, unsigned int& Width, unsigned int& Height); ^~~~~~ ../../SFML/Graphics/ImageLoader.hpp:68:62: error: 'sf::std::vector' has not been declared bool LoadImageFromFile(const std::string& Filename, std::vector& Pixels, unsigned int& Width, unsigned int& Height); ^~~~~~ ../../SFML/Graphics/ImageLoader.hpp:68:68: error: expected ',' or '...' before '<' token bool LoadImageFromFile(const std::string& Filename, std::vector& Pixels, unsigned int& Width, unsigned int& Height); ^ In file included from Image.cpp:29: ../../SFML/Graphics/ImageLoader.hpp:82:53: error: 'sf::std::size_t' has not been declared bool LoadImageFromMemory(const char* Data, std::size_t SizeInBytes, std::vector& Pixels, unsigned int& Width, unsigned int& Height); ^~~~~~ ../../SFML/Graphics/ImageLoader.hpp:82:78: error: 'sf::std::vector' has not been declared bool LoadImageFromMemory(const char* Data, std::size_t SizeInBytes, std::vector& Pixels, unsigned int& Width, unsigned int& Height); ^~~~~~ ../../SFML/Graphics/ImageLoader.hpp:82:84: error: expected ',' or '...' before '<' token bool LoadImageFromMemory(const char* Data, std::size_t SizeInBytes, std::vector& Pixels, unsigned int& Width, unsigned int& Height); ^ ../../SFML/Graphics/ImageLoader.hpp:95:37: error: 'string' in namespace 'sf::std' does not name a type bool SaveImageToFile(const std::string& Filename, const std::vector& Pixels, unsigned int Width, unsigned int Height); ^~~~~~ ../../SFML/Graphics/ImageLoader.hpp:95:66: error: 'vector' in namespace 'sf::std' does not name a template type bool SaveImageToFile(const std::string& Filename, const std::vector& Pixels, unsigned int Width, unsigned int Height); ^~~~~~ ../../SFML/Graphics/ImageLoader.hpp:95:72: error: expected ',' or '...' before '<' token bool SaveImageToFile(const std::string& Filename, const std::vector& Pixels, unsigned int Width, unsigned int Height); ^ ../../SFML/Graphics/ImageLoader.hpp:122:30: error: 'string' in namespace 'sf::std' does not name a type bool WriteJpg(const std::string& Filename, const std::vector& Pixels, unsigned int Width, unsigned int Height); ^~~~~~ ../../SFML/Graphics/ImageLoader.hpp:122:59: error: 'vector' in namespace 'sf::std' does not name a template type bool WriteJpg(const std::string& Filename, const std::vector& Pixels, unsigned int Width, unsigned int Height); ^~~~~~ ../../SFML/Graphics/ImageLoader.hpp:122:65: error: expected ',' or '...' before '<' token bool WriteJpg(const std::string& Filename, const std::vector& Pixels, unsigned int Width, unsigned int Height); ^ ../../SFML/Graphics/ImageLoader.hpp:135:30: error: 'string' in namespace 'sf::std' does not name a type bool WritePng(const std::string& Filename, const std::vector& Pixels, unsigned int Width, unsigned int Height); ^~~~~~ ../../SFML/Graphics/ImageLoader.hpp:135:59: error: 'vector' in namespace 'sf::std' does not name a template type bool WritePng(const std::string& Filename, const std::vector& Pixels, unsigned int Width, unsigned int Height); ^~~~~~ ../../SFML/Graphics/ImageLoader.hpp:135:65: error: expected ',' or '...' before '<' token bool WritePng(const std::string& Filename, const std::vector& Pixels, unsigned int Width, unsigned int Height); ^ In file included from ../../../include/SFML/Window/Window.hpp:33, from ../../../include/SFML/Graphics/RenderWindow.hpp:33, from Image.cpp:30: ../../../include/SFML/Window/VideoMode.hpp:80:35: error: 'sf::std::size_t' has not been declared static VideoMode GetMode(std::size_t Index); ^~~~~~ ../../../include/SFML/Window/VideoMode.hpp:88:17: error: 'size_t' in namespace 'sf::std' does not name a type static std::size_t GetModesCount(); ^~~~~~ In file included from ../../../include/SFML/Graphics/RenderWindow.hpp:33, from Image.cpp:30: ../../../include/SFML/Window/Window.hpp:74:39: error: 'string' in namespace 'sf::std' does not name a type Window(VideoMode Mode, const std::string& Title, unsigned long WindowStyle = Style::Resize | Style::Close, const WindowSettings& Params = WindowSettings()); ^~~~~~ In file included from ../../../include/SFML/Graphics/RenderWindow.hpp:33, from Image.cpp:30: ../../../include/SFML/Window/Window.hpp:83:24: error: expected ')' before 'Handle' Window(WindowHandle Handle, const WindowSettings& Params = WindowSettings()); ~ ^~~~~~~ ) ../../../include/SFML/Window/Window.hpp:100:44: error: 'string' in namespace 'sf::std' does not name a type void Create(VideoMode Mode, const std::string& Title, unsigned long WindowStyle = Style::Resize | Style::Close, const WindowSettings& Params = WindowSettings()); ^~~~~~ ../../../include/SFML/Window/Window.hpp:109:17: error: 'WindowHandle' has not been declared void Create(WindowHandle Handle, const WindowSettings& Params = WindowSettings()); ^~~~~~~~~~~~ ../../../include/SFML/Window/Window.hpp:312:10: error: 'queue' in namespace 'sf::std' does not name a template type std::queue myEvents; ///< Queue of received events ^~~~~ In file included from Image.cpp:30: ../../../include/SFML/Graphics/RenderWindow.hpp:64:45: error: 'string' in namespace 'sf::std' does not name a type RenderWindow(VideoMode Mode, const std::string& Title, unsigned long WindowStyle = Style::Resize | Style::Close, const WindowSettings& Params = WindowSettings()); ^~~~~~ In file included from Image.cpp:30: ../../../include/SFML/Graphics/RenderWindow.hpp:73:30: error: expected ')' before 'Handle' RenderWindow(WindowHandle Handle, const WindowSettings& Params = WindowSettings()); ~ ^~~~~~~ ) gmake[3]: *** [Makefile:33: String.o] Error 1 In file included from ../../../include/SFML/Graphics/RenderWindow.hpp:31, from RenderWindow.cpp:28: ../../../include/SFML/Graphics/Image.hpp: At global scope: ../../../include/SFML/Graphics/Image.hpp:98:34: error: 'string' in namespace 'sf::std' does not name a type bool LoadFromFile(const std::string& Filename); ^~~~~~ ../../../include/SFML/Graphics/Image.hpp:109:48: error: 'sf::std::size_t' has not been declared bool LoadFromMemory(const char* Data, std::size_t SizeInBytes); ^~~~~~ ../../../include/SFML/Graphics/Image.hpp:131:32: error: 'string' in namespace 'sf::std' does not name a type bool SaveToFile(const std::string& Filename) const; ^~~~~~ In file included from ../../../include/SFML/Graphics/RenderWindow.hpp:31, from RenderWindow.cpp:28: ../../../include/SFML/Graphics/Image.hpp:324:18: error: 'vector' in namespace 'sf::std' does not name a template type mutable std::vector myPixels; ///< Pixels of the image ^~~~~~ In file included from ../../../include/SFML/Window/Window.hpp:33, from ../../../include/SFML/Graphics/RenderWindow.hpp:33, from RenderWindow.cpp:28: ../../../include/SFML/Window/VideoMode.hpp:80:35: error: 'sf::std::size_t' has not been declared static VideoMode GetMode(std::size_t Index); ^~~~~~ ../../../include/SFML/Window/VideoMode.hpp:88:17: error: 'size_t' in namespace 'sf::std' does not name a type static std::size_t GetModesCount(); ^~~~~~ gmake[3]: *** [Makefile:33: FontLoader.o] Error 1 In file included from ../../../include/SFML/Graphics/RenderWindow.hpp:33, from RenderWindow.cpp:28: ../../../include/SFML/Window/Window.hpp:74:39: error: 'string' in namespace 'sf::std' does not name a type Window(VideoMode Mode, const std::string& Title, unsigned long WindowStyle = Style::Resize | Style::Close, const WindowSettings& Params = WindowSettings()); ^~~~~~ In file included from ../../../include/SFML/Graphics/RenderWindow.hpp:33, from RenderWindow.cpp:28: ../../../include/SFML/Window/Window.hpp:83:24: error: expected ')' before 'Handle' Window(WindowHandle Handle, const WindowSettings& Params = WindowSettings()); ~ ^~~~~~~ ) ../../../include/SFML/Window/Window.hpp:100:44: error: 'string' in namespace 'sf::std' does not name a type void Create(VideoMode Mode, const std::string& Title, unsigned long WindowStyle = Style::Resize | Style::Close, const WindowSettings& Params = WindowSettings()); ^~~~~~ ../../../include/SFML/Window/Window.hpp:109:17: error: 'WindowHandle' has not been declared void Create(WindowHandle Handle, const WindowSettings& Params = WindowSettings()); ^~~~~~~~~~~~ ../../../include/SFML/Window/Window.hpp:312:10: error: 'queue' in namespace 'sf::std' does not name a template type std::queue myEvents; ///< Queue of received events ^~~~~ In file included from RenderWindow.cpp:28: ../../../include/SFML/Graphics/RenderWindow.hpp:64:45: error: 'string' in namespace 'sf::std' does not name a type RenderWindow(VideoMode Mode, const std::string& Title, unsigned long WindowStyle = Style::Resize | Style::Close, const WindowSettings& Params = WindowSettings()); ^~~~~~ In file included from RenderWindow.cpp:28: ../../../include/SFML/Graphics/RenderWindow.hpp:73:30: error: expected ')' before 'Handle' RenderWindow(WindowHandle Handle, const WindowSettings& Params = WindowSettings()); ~ ^~~~~~~ ) In file included from Image.cpp:31: ../../SFML/Graphics/GraphicsContext.hpp:102:37: error: 'string' in namespace 'sf::std' does not name a type inline void GLCheckError(const std::string& File, unsigned int Line) ^~~~~~ ../../SFML/Graphics/GraphicsContext.hpp: In function 'void sf::GLCheckError(const int&, unsigned int)': ../../SFML/Graphics/GraphicsContext.hpp:109:14: error: 'string' is not a member of 'sf::std' std::string Error = "unknown error"; ^~~~~~ ../../SFML/Graphics/GraphicsContext.hpp:109:14: note: suggested alternative: In file included from /usr/include/c++/8.0/string:39, from ../../../include/SFML/Graphics/Image.hpp:34, from Image.cpp:28: /usr/include/c++/8.0/bits/stringfwd.h:74:33: note: 'std::__cxx11::string' typedef basic_string string; ^~~~~~ In file included from Image.cpp:31: ../../SFML/Graphics/GraphicsContext.hpp:110:14: error: 'string' is not a member of 'sf::std' std::string Desc = "no description"; ^~~~~~ ../../SFML/Graphics/GraphicsContext.hpp:110:14: note: suggested alternative: In file included from /usr/include/c++/8.0/string:39, from ../../../include/SFML/Graphics/Image.hpp:34, from Image.cpp:28: /usr/include/c++/8.0/bits/stringfwd.h:74:33: note: 'std::__cxx11::string' typedef basic_string string; ^~~~~~ In file included from Image.cpp:31: ../../SFML/Graphics/GraphicsContext.hpp:117:17: error: 'Error' was not declared in this scope Error = "GL_INVALID_ENUM"; ^~~~~ ../../SFML/Graphics/GraphicsContext.hpp:117:17: note: suggested alternative: 'perror' Error = "GL_INVALID_ENUM"; ^~~~~ perror ../../SFML/Graphics/GraphicsContext.hpp:118:17: error: 'Desc' was not declared in this scope Desc = "an unacceptable value has been specified for an enumerated argument"; ^~~~ ../../SFML/Graphics/GraphicsContext.hpp:118:17: note: suggested alternative: 'getc' Desc = "an unacceptable value has been specified for an enumerated argument"; ^~~~ getc ../../SFML/Graphics/GraphicsContext.hpp:124:17: error: 'Error' was not declared in this scope Error = "GL_INVALID_VALUE"; ^~~~~ ../../SFML/Graphics/GraphicsContext.hpp:124:17: note: suggested alternative: 'perror' Error = "GL_INVALID_VALUE"; ^~~~~ perror ../../SFML/Graphics/GraphicsContext.hpp:125:17: error: 'Desc' was not declared in this scope Desc = "a numeric argument is out of range"; ^~~~ ../../SFML/Graphics/GraphicsContext.hpp:125:17: note: suggested alternative: 'getc' Desc = "a numeric argument is out of range"; ^~~~ getc ../../SFML/Graphics/GraphicsContext.hpp:131:17: error: 'Error' was not declared in this scope Error = "GL_INVALID_OPERATION"; ^~~~~ ../../SFML/Graphics/GraphicsContext.hpp:131:17: note: suggested alternative: 'perror' Error = "GL_INVALID_OPERATION"; ^~~~~ perror ../../SFML/Graphics/GraphicsContext.hpp:132:17: error: 'Desc' was not declared in this scope Desc = "the specified operation is not allowed in the current state"; ^~~~ ../../SFML/Graphics/GraphicsContext.hpp:132:17: note: suggested alternative: 'getc' Desc = "the specified operation is not allowed in the current state"; ^~~~ getc ../../SFML/Graphics/GraphicsContext.hpp:138:17: error: 'Error' was not declared in this scope Error = "GL_STACK_OVERFLOW"; ^~~~~ ../../SFML/Graphics/GraphicsContext.hpp:138:17: note: suggested alternative: 'perror' Error = "GL_STACK_OVERFLOW"; ^~~~~ perror ../../SFML/Graphics/GraphicsContext.hpp:139:17: error: 'Desc' was not declared in this scope Desc = "this command would cause a stack overflow"; ^~~~ ../../SFML/Graphics/GraphicsContext.hpp:139:17: note: suggested alternative: 'getc' Desc = "this command would cause a stack overflow"; ^~~~ getc ../../SFML/Graphics/GraphicsContext.hpp:145:17: error: 'Error' was not declared in this scope Error = "GL_STACK_UNDERFLOW"; ^~~~~ ../../SFML/Graphics/GraphicsContext.hpp:145:17: note: suggested alternative: 'perror' Error = "GL_STACK_UNDERFLOW"; ^~~~~ perror ../../SFML/Graphics/GraphicsContext.hpp:146:17: error: 'Desc' was not declared in this scope Desc = "this command would cause a stack underflow"; ^~~~ ../../SFML/Graphics/GraphicsContext.hpp:146:17: note: suggested alternative: 'getc' Desc = "this command would cause a stack underflow"; ^~~~ getc ../../SFML/Graphics/GraphicsContext.hpp:152:17: error: 'Error' was not declared in this scope Error = "GL_OUT_OF_MEMORY"; ^~~~~ ../../SFML/Graphics/GraphicsContext.hpp:152:17: note: suggested alternative: 'perror' Error = "GL_OUT_OF_MEMORY"; ^~~~~ perror ../../SFML/Graphics/GraphicsContext.hpp:153:17: error: 'Desc' was not declared in this scope Desc = "there is not enough memory left to execute the command"; ^~~~ ../../SFML/Graphics/GraphicsContext.hpp:153:17: note: suggested alternative: 'getc' Desc = "there is not enough memory left to execute the command"; ^~~~ getc ../../SFML/Graphics/GraphicsContext.hpp:159:17: error: 'Error' was not declared in this scope Error = "GL_INVALID_FRAMEBUFFER_OPERATION_EXT"; ^~~~~ ../../SFML/Graphics/GraphicsContext.hpp:159:17: note: suggested alternative: 'perror' Error = "GL_INVALID_FRAMEBUFFER_OPERATION_EXT"; ^~~~~ perror ../../SFML/Graphics/GraphicsContext.hpp:160:17: error: 'Desc' was not declared in this scope Desc = "the object bound to FRAMEBUFFER_BINDING_EXT is not \"framebuffer complete\""; ^~~~ ../../SFML/Graphics/GraphicsContext.hpp:160:17: note: suggested alternative: 'getc' Desc = "the object bound to FRAMEBUFFER_BINDING_EXT is not \"framebuffer complete\""; ^~~~ getc ../../SFML/Graphics/GraphicsContext.hpp:166:14: error: 'cerr' is not a member of 'sf::std' std::cerr << "An internal OpenGL call failed in " ^~~~ ../../SFML/Graphics/GraphicsContext.hpp:166:14: note: suggested alternative: In file included from ../../SFML/Graphics/GraphicsContext.hpp:34, from Image.cpp:31: /usr/include/c++/8.0/iostream:62:18: note: 'std::cerr' extern ostream cerr; /// Linked to standard error (unbuffered) ^~~~ In file included from Image.cpp:31: ../../SFML/Graphics/GraphicsContext.hpp:167:27: error: request for member 'substr' in 'File', which is of non-class type 'const int' << File.substr(File.find_last_of("\\/") + 1) << " (" << Line << ") : " ^~~~~~ ../../SFML/Graphics/GraphicsContext.hpp:167:39: error: request for member 'find_last_of' in 'File', which is of non-class type 'const int' << File.substr(File.find_last_of("\\/") + 1) << " (" << Line << ") : " ^~~~~~~~~~~~ ../../SFML/Graphics/GraphicsContext.hpp:168:22: error: 'Error' was not declared in this scope << Error << ", " << Desc ^~~~~ ../../SFML/Graphics/GraphicsContext.hpp:168:22: note: suggested alternative: 'perror' << Error << ", " << Desc ^~~~~ perror ../../SFML/Graphics/GraphicsContext.hpp:168:39: error: 'Desc' was not declared in this scope << Error << ", " << Desc ^~~~ ../../SFML/Graphics/GraphicsContext.hpp:168:39: note: suggested alternative: 'getc' << Error << ", " << Desc ^~~~ getc ../../SFML/Graphics/GraphicsContext.hpp:169:27: error: 'endl' is not a member of 'sf::std' << std::endl; ^~~~ ../../SFML/Graphics/GraphicsContext.hpp:169:27: note: suggested alternative: In file included from /usr/include/c++/8.0/iostream:39, from ../../SFML/Graphics/GraphicsContext.hpp:34, from Image.cpp:31: /usr/include/c++/8.0/ostream:590:5: note: 'std::endl' endl(basic_ostream<_CharT, _Traits>& __os) ^~~~ Image.cpp: In copy constructor 'sf::Image::Image(const sf::Image&)': Image.cpp:68:1: error: class 'sf::Image' does not have any field named 'myPixels' myPixels (Copy.myPixels), ^~~~~~~~ Image.cpp:68:26: error: 'const class sf::Image' has no member named 'myPixels'; did you mean 'SetPixel'? myPixels (Copy.myPixels), ^~~~~~~~ SetPixel Image.cpp: At global scope: Image.cpp:123:37: error: 'string' in namespace 'sf::std' does not name a type bool Image::LoadFromFile(const std::string& Filename) ^~~~~~ Image.cpp: In member function 'bool sf::Image::LoadFromFile(const int&)': Image.cpp:126:81: error: 'myPixels' was not declared in this scope bool Success = priv::ImageLoader::GetInstance().LoadImageFromFile(Filename, myPixels, myWidth, myHeight); ^~~~~~~~ Image.cpp:126:81: note: suggested alternative: 'SetPixel' bool Success = priv::ImageLoader::GetInstance().LoadImageFromFile(Filename, myPixels, myWidth, myHeight); ^~~~~~~~ SetPixel Image.cpp: At global scope: Image.cpp:145:51: error: 'sf::std::size_t' has not been declared bool Image::LoadFromMemory(const char* Data, std::size_t SizeInBytes) ^~~~~~ Image.cpp: In member function 'bool sf::Image::LoadFromMemory(const char*, int)': Image.cpp:150:14: error: 'cerr' is not a member of 'sf::std' std::cerr << "Failed to image font from memory, no data provided" << std::endl; ^~~~ Image.cpp:150:14: note: suggested alternative: In file included from ../../SFML/Graphics/GraphicsContext.hpp:34, from Image.cpp:31: /usr/include/c++/8.0/iostream:62:18: note: 'std::cerr' extern ostream cerr; /// Linked to standard error (unbuffered) ^~~~ Image.cpp:150:83: error: 'endl' is not a member of 'sf::std' std::cerr << "Failed to image font from memory, no data provided" << std::endl; ^~~~ Image.cpp:150:83: note: suggested alternative: In file included from /usr/include/c++/8.0/iostream:39, from ../../SFML/Graphics/GraphicsContext.hpp:34, from Image.cpp:31: /usr/include/c++/8.0/ostream:590:5: note: 'std::endl' endl(basic_ostream<_CharT, _Traits>& __os) ^~~~ Image.cpp:155:92: error: 'myPixels' was not declared in this scope bool Success = priv::ImageLoader::GetInstance().LoadImageFromMemory(Data, SizeInBytes, myPixels, myWidth, myHeight); ^~~~~~~~ Image.cpp:155:92: note: suggested alternative: 'SetPixel' bool Success = priv::ImageLoader::GetInstance().LoadImageFromMemory(Data, SizeInBytes, myPixels, myWidth, myHeight); ^~~~~~~~ SetPixel Image.cpp: In member function 'bool sf::Image::LoadFromPixels(unsigned int, unsigned int, const Uint8*)': Image.cpp:184:9: error: 'myPixels' was not declared in this scope myPixels.assign(Ptr, Ptr + Width * Height); ^~~~~~~~ Image.cpp:184:9: note: suggested alternative: 'SetPixel' myPixels.assign(Ptr, Ptr + Width * Height); ^~~~~~~~ SetPixel Image.cpp: At global scope: Image.cpp:209:35: error: 'string' in namespace 'sf::std' does not name a type bool Image::SaveToFile(const std::string& Filename) const ^~~~~~ Image.cpp: In member function 'bool sf::Image::SaveToFile(const int&) const': Image.cpp:215:71: error: 'myPixels' was not declared in this scope return priv::ImageLoader::GetInstance().SaveImageToFile(Filename, myPixels, myWidth, myHeight); ^~~~~~~~ Image.cpp:215:71: note: suggested alternative: 'SetPixel' return priv::ImageLoader::GetInstance().SaveImageToFile(Filename, myPixels, myWidth, myHeight); ^~~~~~~~ SetPixel Image.cpp: In member function 'bool sf::Image::Create(unsigned int, unsigned int, sf::Color)': Image.cpp:229:5: error: 'myPixels' was not declared in this scope myPixels.clear(); ^~~~~~~~ Image.cpp:229:5: note: suggested alternative: 'SetPixel' myPixels.clear(); ^~~~~~~~ SetPixel Image.cpp: In member function 'void sf::Image::CreateMaskFromColor(sf::Color, sf::Uint8)': Image.cpp:258:10: error: 'replace' is not a member of 'sf::std' std::replace(myPixels.begin(), myPixels.end(), ColorKey, NewColor); ^~~~~~~ Image.cpp:258:10: note: suggested alternative: In file included from /usr/include/c++/8.0/algorithm:62, from ../../../include/SFML/Graphics/Rect.hpp:31, from ../../../include/SFML/Graphics/Image.hpp:33, from Image.cpp:28: /usr/include/c++/8.0/bits/stl_algo.h:4362:5: note: 'std::replace' replace(_ForwardIterator __first, _ForwardIterator __last, ^~~~~~~ Image.cpp:258:18: error: 'myPixels' was not declared in this scope std::replace(myPixels.begin(), myPixels.end(), ColorKey, NewColor); ^~~~~~~~ Image.cpp:258:18: note: suggested alternative: 'SetPixel' std::replace(myPixels.begin(), myPixels.end(), ColorKey, NewColor); ^~~~~~~~ SetPixel Image.cpp: In member function 'void sf::Image::Copy(const sf::Image&, unsigned int, unsigned int, const IntRect&, bool)': Image.cpp:313:56: error: 'myPixels' was not declared in this scope Uint8* DstPixels = reinterpret_cast(&myPixels[0]) + (DestX + DestY * myWidth) * 4; ^~~~~~~~ Image.cpp:313:56: note: suggested alternative: 'DstPixels' Uint8* DstPixels = reinterpret_cast(&myPixels[0]) + (DestX + DestY * myWidth) * 4; ^~~~~~~~ DstPixels Image.cpp: In member function 'bool sf::Image::CopyScreen(sf::RenderWindow&, const IntRect&)': Image.cpp:385:71: error: invalid conversion from 'const char*' to 'int' [-fpermissive] GLCheck(glGetIntegerv(GL_TEXTURE_BINDING_2D, &PreviousTexture)); ^ In file included from Image.cpp:31: ../../SFML/Graphics/GraphicsContext.hpp:102:45: note: initializing argument 1 of 'void sf::GLCheckError(const int&, unsigned int)' inline void GLCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Image.cpp:387:56: error: invalid conversion from 'const char*' to 'int' [-fpermissive] GLCheck(glBindTexture(GL_TEXTURE_2D, myTexture)); ^ ../../SFML/Graphics/GraphicsContext.hpp:102:45: note: initializing argument 1 of 'void sf::GLCheckError(const int&, unsigned int)' inline void GLCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Image.cpp:388:106: error: invalid conversion from 'const char*' to 'int' [-fpermissive] GLCheck(glCopyTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, SrcRect.Left, SrcRect.Top, myWidth, myHeight)); ^ ../../SFML/Graphics/GraphicsContext.hpp:102:45: note: initializing argument 1 of 'void sf::GLCheckError(const int&, unsigned int)' inline void GLCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Image.cpp:390:62: error: invalid conversion from 'const char*' to 'int' [-fpermissive] GLCheck(glBindTexture(GL_TEXTURE_2D, PreviousTexture)); ^ ../../SFML/Graphics/GraphicsContext.hpp:102:45: note: initializing argument 1 of 'void sf::GLCheckError(const int&, unsigned int)' inline void GLCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Image.cpp: In member function 'void sf::Image::SetPixel(unsigned int, unsigned int, const sf::Color&)': Image.cpp:416:14: error: 'cerr' is not a member of 'sf::std' std::cerr << "Cannot set pixel (" << X << "," << Y << ") for image " ^~~~ Image.cpp:416:14: note: suggested alternative: In file included from ../../SFML/Graphics/GraphicsContext.hpp:34, from Image.cpp:31: /usr/include/c++/8.0/iostream:62:18: note: 'std::cerr' extern ostream cerr; /// Linked to standard error (unbuffered) ^~~~ Image.cpp:417:89: error: 'endl' is not a member of 'sf::std' << "(width = " << myWidth << ", height = " << myHeight << ")" << std::endl; ^~~~ Image.cpp:417:89: note: suggested alternative: In file included from /usr/include/c++/8.0/iostream:39, from ../../SFML/Graphics/GraphicsContext.hpp:34, from Image.cpp:31: /usr/include/c++/8.0/ostream:590:5: note: 'std::endl' endl(basic_ostream<_CharT, _Traits>& __os) ^~~~ Image.cpp:421:5: error: 'myPixels' was not declared in this scope myPixels[X + Y * myWidth] = Col; ^~~~~~~~ Image.cpp:421:5: note: suggested alternative: 'SetPixel' myPixels[X + Y * myWidth] = Col; ^~~~~~~~ SetPixel Image.cpp: In member function 'const sf::Color& sf::Image::GetPixel(unsigned int, unsigned int) const': Image.cpp:439:14: error: 'cerr' is not a member of 'sf::std' std::cerr << "Cannot get pixel (" << X << "," << Y << ") for image " ^~~~ Image.cpp:439:14: note: suggested alternative: In file included from ../../SFML/Graphics/GraphicsContext.hpp:34, from Image.cpp:31: /usr/include/c++/8.0/iostream:62:18: note: 'std::cerr' extern ostream cerr; /// Linked to standard error (unbuffered) ^~~~ Image.cpp:440:89: error: 'endl' is not a member of 'sf::std' << "(width = " << myWidth << ", height = " << myHeight << ")" << std::endl; ^~~~ Image.cpp:440:89: note: suggested alternative: In file included from /usr/include/c++/8.0/iostream:39, from ../../SFML/Graphics/GraphicsContext.hpp:34, from Image.cpp:31: /usr/include/c++/8.0/ostream:590:5: note: 'std::endl' endl(basic_ostream<_CharT, _Traits>& __os) ^~~~ Image.cpp:444:12: error: 'myPixels' was not declared in this scope return myPixels[X + Y * myWidth]; ^~~~~~~~ Image.cpp:444:12: note: suggested alternative: 'SetPixel' return myPixels[X + Y * myWidth]; ^~~~~~~~ SetPixel Image.cpp: In member function 'const Uint8* sf::Image::GetPixelsPtr() const': Image.cpp:458:10: error: 'myPixels' was not declared in this scope if (!myPixels.empty()) ^~~~~~~~ Image.cpp:458:10: note: suggested alternative: 'SetPixel' if (!myPixels.empty()) ^~~~~~~~ SetPixel Image.cpp:464:14: error: 'cerr' is not a member of 'sf::std' std::cerr << "Trying to access the pixels of an empty image" << std::endl; ^~~~ Image.cpp:464:14: note: suggested alternative: In file included from ../../SFML/Graphics/GraphicsContext.hpp:34, from Image.cpp:31: /usr/include/c++/8.0/iostream:62:18: note: 'std::cerr' extern ostream cerr; /// Linked to standard error (unbuffered) ^~~~ Image.cpp:464:78: error: 'endl' is not a member of 'sf::std' std::cerr << "Trying to access the pixels of an empty image" << std::endl; ^~~~ Image.cpp:464:78: note: suggested alternative: In file included from /usr/include/c++/8.0/iostream:39, from ../../SFML/Graphics/GraphicsContext.hpp:34, from Image.cpp:31: /usr/include/c++/8.0/ostream:590:5: note: 'std::endl' endl(basic_ostream<_CharT, _Traits>& __os) ^~~~ Image.cpp: In member function 'void sf::Image::Bind() const': Image.cpp:481:40: error: invalid conversion from 'const char*' to 'int' [-fpermissive] GLCheck(glEnable(GL_TEXTURE_2D)); ^ In file included from Image.cpp:31: ../../SFML/Graphics/GraphicsContext.hpp:102:45: note: initializing argument 1 of 'void sf::GLCheckError(const int&, unsigned int)' inline void GLCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Image.cpp:482:56: error: invalid conversion from 'const char*' to 'int' [-fpermissive] GLCheck(glBindTexture(GL_TEXTURE_2D, myTexture)); ^ ../../SFML/Graphics/GraphicsContext.hpp:102:45: note: initializing argument 1 of 'void sf::GLCheckError(const int&, unsigned int)' inline void GLCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Image.cpp: In member function 'void sf::Image::SetSmooth(bool)': Image.cpp:502:75: error: invalid conversion from 'const char*' to 'int' [-fpermissive] GLCheck(glGetIntegerv(GL_TEXTURE_BINDING_2D, &PreviousTexture)); ^ ../../SFML/Graphics/GraphicsContext.hpp:102:45: note: initializing argument 1 of 'void sf::GLCheckError(const int&, unsigned int)' inline void GLCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Image.cpp:504:60: error: invalid conversion from 'const char*' to 'int' [-fpermissive] GLCheck(glBindTexture(GL_TEXTURE_2D, myTexture)); ^ ../../SFML/Graphics/GraphicsContext.hpp:102:45: note: initializing argument 1 of 'void sf::GLCheckError(const int&, unsigned int)' inline void GLCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Image.cpp:505:111: error: invalid conversion from 'const char*' to 'int' [-fpermissive] GLCheck(glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, myIsSmooth ? GL_LINEAR : GL_NEAREST)); ^ ../../SFML/Graphics/GraphicsContext.hpp:102:45: note: initializing argument 1 of 'void sf::GLCheckError(const int&, unsigned int)' inline void GLCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Image.cpp:506:111: error: invalid conversion from 'const char*' to 'int' [-fpermissive] GLCheck(glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, myIsSmooth ? GL_LINEAR : GL_NEAREST)); ^ ../../SFML/Graphics/GraphicsContext.hpp:102:45: note: initializing argument 1 of 'void sf::GLCheckError(const int&, unsigned int)' inline void GLCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Image.cpp:508:66: error: invalid conversion from 'const char*' to 'int' [-fpermissive] GLCheck(glBindTexture(GL_TEXTURE_2D, PreviousTexture)); ^ ../../SFML/Graphics/GraphicsContext.hpp:102:45: note: initializing argument 1 of 'void sf::GLCheckError(const int&, unsigned int)' inline void GLCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Image.cpp: In member function 'sf::Image& sf::Image::operator=(const sf::Image&)': Image.cpp:589:10: error: 'swap' is not a member of 'sf::std' std::swap(myWidth, Temp.myWidth); ^~~~ Image.cpp:589:10: note: suggested alternatives: In file included from /usr/include/c++/8.0/queue:64, from ../../../include/SFML/Window/Window.hpp:40, from ../../../include/SFML/Graphics/RenderWindow.hpp:33, from Image.cpp:30: /usr/include/c++/8.0/bits/stl_queue.h:706:5: note: 'std::swap' swap(priority_queue<_Tp, _Sequence, _Compare>& __x, ^~~~ In file included from /usr/include/c++/8.0/bits/stl_pair.h:59, from /usr/include/c++/8.0/bits/stl_algobase.h:64, from /usr/include/c++/8.0/bits/stl_tree.h:63, from /usr/include/c++/8.0/set:60, from ../../../include/SFML/System/Resource.hpp:31, from ../../../include/SFML/Graphics/Image.hpp:31, from Image.cpp:28: /usr/include/c++/8.0/bits/move.h:182:5: note: 'std::swap' swap(_Tp& __a, _Tp& __b) ^~~~ /usr/include/c++/8.0/bits/move.h:182:5: note: 'std::swap' In file included from /usr/include/c++/8.0/exception:143, from /usr/include/c++/8.0/new:40, from /usr/include/c++/8.0/ext/new_allocator.h:33, from /usr/include/c++/8.0/bits/c++allocator.h:33, from /usr/include/c++/8.0/bits/allocator.h:46, from /usr/include/c++/8.0/bits/stl_tree.h:64, from /usr/include/c++/8.0/set:60, from ../../../include/SFML/System/Resource.hpp:31, from ../../../include/SFML/Graphics/Image.hpp:31, from Image.cpp:28: /usr/include/c++/8.0/bits/exception_ptr.h:166:5: note: 'std::__exception_ptr::swap' swap(exception_ptr& __lhs, exception_ptr& __rhs) ^~~~ Image.cpp:590:10: error: 'swap' is not a member of 'sf::std' std::swap(myHeight, Temp.myHeight); ^~~~ Image.cpp:590:10: note: suggested alternatives: In file included from /usr/include/c++/8.0/queue:64, from ../../../include/SFML/Window/Window.hpp:40, from ../../../include/SFML/Graphics/RenderWindow.hpp:33, from Image.cpp:30: /usr/include/c++/8.0/bits/stl_queue.h:706:5: note: 'std::swap' swap(priority_queue<_Tp, _Sequence, _Compare>& __x, ^~~~ In file included from /usr/include/c++/8.0/bits/stl_pair.h:59, from /usr/include/c++/8.0/bits/stl_algobase.h:64, from /usr/include/c++/8.0/bits/stl_tree.h:63, from /usr/include/c++/8.0/set:60, from ../../../include/SFML/System/Resource.hpp:31, from ../../../include/SFML/Graphics/Image.hpp:31, from Image.cpp:28: /usr/include/c++/8.0/bits/move.h:182:5: note: 'std::swap' swap(_Tp& __a, _Tp& __b) ^~~~ /usr/include/c++/8.0/bits/move.h:182:5: note: 'std::swap' In file included from /usr/include/c++/8.0/exception:143, from /usr/include/c++/8.0/new:40, from /usr/include/c++/8.0/ext/new_allocator.h:33, from /usr/include/c++/8.0/bits/c++allocator.h:33, from /usr/include/c++/8.0/bits/allocator.h:46, from /usr/include/c++/8.0/bits/stl_tree.h:64, from /usr/include/c++/8.0/set:60, from ../../../include/SFML/System/Resource.hpp:31, from ../../../include/SFML/Graphics/Image.hpp:31, from Image.cpp:28: /usr/include/c++/8.0/bits/exception_ptr.h:166:5: note: 'std::__exception_ptr::swap' swap(exception_ptr& __lhs, exception_ptr& __rhs) ^~~~ Image.cpp:591:10: error: 'swap' is not a member of 'sf::std' std::swap(myTextureWidth, Temp.myTextureWidth); ^~~~ Image.cpp:591:10: note: suggested alternatives: In file included from /usr/include/c++/8.0/queue:64, from ../../../include/SFML/Window/Window.hpp:40, from ../../../include/SFML/Graphics/RenderWindow.hpp:33, from Image.cpp:30: /usr/include/c++/8.0/bits/stl_queue.h:706:5: note: 'std::swap' swap(priority_queue<_Tp, _Sequence, _Compare>& __x, ^~~~ In file included from /usr/include/c++/8.0/bits/stl_pair.h:59, from /usr/include/c++/8.0/bits/stl_algobase.h:64, from /usr/include/c++/8.0/bits/stl_tree.h:63, from /usr/include/c++/8.0/set:60, from ../../../include/SFML/System/Resource.hpp:31, from ../../../include/SFML/Graphics/Image.hpp:31, from Image.cpp:28: /usr/include/c++/8.0/bits/move.h:182:5: note: 'std::swap' swap(_Tp& __a, _Tp& __b) ^~~~ /usr/include/c++/8.0/bits/move.h:182:5: note: 'std::swap' In file included from /usr/include/c++/8.0/exception:143, from /usr/include/c++/8.0/new:40, from /usr/include/c++/8.0/ext/new_allocator.h:33, from /usr/include/c++/8.0/bits/c++allocator.h:33, from /usr/include/c++/8.0/bits/allocator.h:46, from /usr/include/c++/8.0/bits/stl_tree.h:64, from /usr/include/c++/8.0/set:60, from ../../../include/SFML/System/Resource.hpp:31, from ../../../include/SFML/Graphics/Image.hpp:31, from Image.cpp:28: /usr/include/c++/8.0/bits/exception_ptr.h:166:5: note: 'std::__exception_ptr::swap' swap(exception_ptr& __lhs, exception_ptr& __rhs) ^~~~ Image.cpp:592:10: error: 'swap' is not a member of 'sf::std' std::swap(myTextureHeight, Temp.myTextureHeight); ^~~~ Image.cpp:592:10: note: suggested alternatives: In file included from /usr/include/c++/8.0/queue:64, from ../../../include/SFML/Window/Window.hpp:40, from ../../../include/SFML/Graphics/RenderWindow.hpp:33, from Image.cpp:30: /usr/include/c++/8.0/bits/stl_queue.h:706:5: note: 'std::swap' swap(priority_queue<_Tp, _Sequence, _Compare>& __x, ^~~~ In file included from /usr/include/c++/8.0/bits/stl_pair.h:59, from /usr/include/c++/8.0/bits/stl_algobase.h:64, from /usr/include/c++/8.0/bits/stl_tree.h:63, from /usr/include/c++/8.0/set:60, from ../../../include/SFML/System/Resource.hpp:31, from ../../../include/SFML/Graphics/Image.hpp:31, from Image.cpp:28: /usr/include/c++/8.0/bits/move.h:182:5: note: 'std::swap' swap(_Tp& __a, _Tp& __b) ^~~~ /usr/include/c++/8.0/bits/move.h:182:5: note: 'std::swap' In file included from /usr/include/c++/8.0/exception:143, from /usr/include/c++/8.0/new:40, from /usr/include/c++/8.0/ext/new_allocator.h:33, from /usr/include/c++/8.0/bits/c++allocator.h:33, from /usr/include/c++/8.0/bits/allocator.h:46, from /usr/include/c++/8.0/bits/stl_tree.h:64, from /usr/include/c++/8.0/set:60, from ../../../include/SFML/System/Resource.hpp:31, from ../../../include/SFML/Graphics/Image.hpp:31, from Image.cpp:28: /usr/include/c++/8.0/bits/exception_ptr.h:166:5: note: 'std::__exception_ptr::swap' swap(exception_ptr& __lhs, exception_ptr& __rhs) ^~~~ Image.cpp:593:10: error: 'swap' is not a member of 'sf::std' std::swap(myTexture, Temp.myTexture); ^~~~ Image.cpp:593:10: note: suggested alternatives: In file included from /usr/include/c++/8.0/queue:64, from ../../../include/SFML/Window/Window.hpp:40, from ../../../include/SFML/Graphics/RenderWindow.hpp:33, from Image.cpp:30: /usr/include/c++/8.0/bits/stl_queue.h:706:5: note: 'std::swap' swap(priority_queue<_Tp, _Sequence, _Compare>& __x, ^~~~ In file included from /usr/include/c++/8.0/bits/stl_pair.h:59, from /usr/include/c++/8.0/bits/stl_algobase.h:64, from /usr/include/c++/8.0/bits/stl_tree.h:63, from /usr/include/c++/8.0/set:60, from ../../../include/SFML/System/Resource.hpp:31, from ../../../include/SFML/Graphics/Image.hpp:31, from Image.cpp:28: /usr/include/c++/8.0/bits/move.h:182:5: note: 'std::swap' swap(_Tp& __a, _Tp& __b) ^~~~ /usr/include/c++/8.0/bits/move.h:182:5: note: 'std::swap' In file included from /usr/include/c++/8.0/exception:143, from /usr/include/c++/8.0/new:40, from /usr/include/c++/8.0/ext/new_allocator.h:33, from /usr/include/c++/8.0/bits/c++allocator.h:33, from /usr/include/c++/8.0/bits/allocator.h:46, from /usr/include/c++/8.0/bits/stl_tree.h:64, from /usr/include/c++/8.0/set:60, from ../../../include/SFML/System/Resource.hpp:31, from ../../../include/SFML/Graphics/Image.hpp:31, from Image.cpp:28: /usr/include/c++/8.0/bits/exception_ptr.h:166:5: note: 'std::__exception_ptr::swap' swap(exception_ptr& __lhs, exception_ptr& __rhs) ^~~~ Image.cpp:594:10: error: 'swap' is not a member of 'sf::std' std::swap(myIsSmooth, Temp.myIsSmooth); ^~~~ Image.cpp:594:10: note: suggested alternatives: In file included from /usr/include/c++/8.0/queue:64, from ../../../include/SFML/Window/Window.hpp:40, from ../../../include/SFML/Graphics/RenderWindow.hpp:33, from Image.cpp:30: /usr/include/c++/8.0/bits/stl_queue.h:706:5: note: 'std::swap' swap(priority_queue<_Tp, _Sequence, _Compare>& __x, ^~~~ In file included from /usr/include/c++/8.0/bits/stl_pair.h:59, from /usr/include/c++/8.0/bits/stl_algobase.h:64, from /usr/include/c++/8.0/bits/stl_tree.h:63, from /usr/include/c++/8.0/set:60, from ../../../include/SFML/System/Resource.hpp:31, from ../../../include/SFML/Graphics/Image.hpp:31, from Image.cpp:28: /usr/include/c++/8.0/bits/move.h:182:5: note: 'std::swap' swap(_Tp& __a, _Tp& __b) ^~~~ /usr/include/c++/8.0/bits/move.h:182:5: note: 'std::swap' In file included from /usr/include/c++/8.0/exception:143, from /usr/include/c++/8.0/new:40, from /usr/include/c++/8.0/ext/new_allocator.h:33, from /usr/include/c++/8.0/bits/c++allocator.h:33, from /usr/include/c++/8.0/bits/allocator.h:46, from /usr/include/c++/8.0/bits/stl_tree.h:64, from /usr/include/c++/8.0/set:60, from ../../../include/SFML/System/Resource.hpp:31, from ../../../include/SFML/Graphics/Image.hpp:31, from Image.cpp:28: /usr/include/c++/8.0/bits/exception_ptr.h:166:5: note: 'std::__exception_ptr::swap' swap(exception_ptr& __lhs, exception_ptr& __rhs) ^~~~ Image.cpp:595:10: error: 'swap' is not a member of 'sf::std' std::swap(myNeedArrayUpdate, Temp.myNeedArrayUpdate); ^~~~ Image.cpp:595:10: note: suggested alternatives: In file included from /usr/include/c++/8.0/queue:64, from ../../../include/SFML/Window/Window.hpp:40, from ../../../include/SFML/Graphics/RenderWindow.hpp:33, from Image.cpp:30: /usr/include/c++/8.0/bits/stl_queue.h:706:5: note: 'std::swap' swap(priority_queue<_Tp, _Sequence, _Compare>& __x, ^~~~ In file included from /usr/include/c++/8.0/bits/stl_pair.h:59, from /usr/include/c++/8.0/bits/stl_algobase.h:64, from /usr/include/c++/8.0/bits/stl_tree.h:63, from /usr/include/c++/8.0/set:60, from ../../../include/SFML/System/Resource.hpp:31, from ../../../include/SFML/Graphics/Image.hpp:31, from Image.cpp:28: /usr/include/c++/8.0/bits/move.h:182:5: note: 'std::swap' swap(_Tp& __a, _Tp& __b) ^~~~ /usr/include/c++/8.0/bits/move.h:182:5: note: 'std::swap' In file included from /usr/include/c++/8.0/exception:143, from /usr/include/c++/8.0/new:40, from /usr/include/c++/8.0/ext/new_allocator.h:33, from /usr/include/c++/8.0/bits/c++allocator.h:33, from /usr/include/c++/8.0/bits/allocator.h:46, from /usr/include/c++/8.0/bits/stl_tree.h:64, from /usr/include/c++/8.0/set:60, from ../../../include/SFML/System/Resource.hpp:31, from ../../../include/SFML/Graphics/Image.hpp:31, from Image.cpp:28: /usr/include/c++/8.0/bits/exception_ptr.h:166:5: note: 'std::__exception_ptr::swap' swap(exception_ptr& __lhs, exception_ptr& __rhs) ^~~~ Image.cpp:596:10: error: 'swap' is not a member of 'sf::std' std::swap(myNeedTextureUpdate, Temp.myNeedTextureUpdate); ^~~~ Image.cpp:596:10: note: suggested alternatives: In file included from /usr/include/c++/8.0/queue:64, from ../../../include/SFML/Window/Window.hpp:40, from ../../../include/SFML/Graphics/RenderWindow.hpp:33, from Image.cpp:30: /usr/include/c++/8.0/bits/stl_queue.h:706:5: note: 'std::swap' swap(priority_queue<_Tp, _Sequence, _Compare>& __x, ^~~~ In file included from /usr/include/c++/8.0/bits/stl_pair.h:59, from /usr/include/c++/8.0/bits/stl_algobase.h:64, from /usr/include/c++/8.0/bits/stl_tree.h:63, from /usr/include/c++/8.0/set:60, from ../../../include/SFML/System/Resource.hpp:31, from ../../../include/SFML/Graphics/Image.hpp:31, from Image.cpp:28: /usr/include/c++/8.0/bits/move.h:182:5: note: 'std::swap' swap(_Tp& __a, _Tp& __b) ^~~~ /usr/include/c++/8.0/bits/move.h:182:5: note: 'std::swap' In file included from /usr/include/c++/8.0/exception:143, from /usr/include/c++/8.0/new:40, from /usr/include/c++/8.0/ext/new_allocator.h:33, from /usr/include/c++/8.0/bits/c++allocator.h:33, from /usr/include/c++/8.0/bits/allocator.h:46, from /usr/include/c++/8.0/bits/stl_tree.h:64, from /usr/include/c++/8.0/set:60, from ../../../include/SFML/System/Resource.hpp:31, from ../../../include/SFML/Graphics/Image.hpp:31, from Image.cpp:28: /usr/include/c++/8.0/bits/exception_ptr.h:166:5: note: 'std::__exception_ptr::swap' swap(exception_ptr& __lhs, exception_ptr& __rhs) ^~~~ Image.cpp:597:5: error: 'myPixels' was not declared in this scope myPixels.swap(Temp.myPixels); ^~~~~~~~ Image.cpp:597:5: note: suggested alternative: 'SetPixel' myPixels.swap(Temp.myPixels); ^~~~~~~~ SetPixel Image.cpp:597:24: error: 'class sf::Image' has no member named 'myPixels'; did you mean 'SetPixel'? myPixels.swap(Temp.myPixels); ^~~~~~~~ SetPixel Image.cpp: In member function 'bool sf::Image::CreateTexture()': Image.cpp:621:57: error: invalid conversion from 'const char*' to 'int' [-fpermissive] GLCheck(glGetIntegerv(GL_MAX_TEXTURE_SIZE, &MaxSize)); ^ In file included from Image.cpp:31: ../../SFML/Graphics/GraphicsContext.hpp:102:45: note: initializing argument 1 of 'void sf::GLCheckError(const int&, unsigned int)' inline void GLCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Image.cpp:624:14: error: 'cerr' is not a member of 'sf::std' std::cerr << "Failed to create image, its internal size is too high (" << TextureWidth << "x" << TextureHeight << ")" << std::endl; ^~~~ Image.cpp:624:14: note: suggested alternative: In file included from ../../SFML/Graphics/GraphicsContext.hpp:34, from Image.cpp:31: /usr/include/c++/8.0/iostream:62:18: note: 'std::cerr' extern ostream cerr; /// Linked to standard error (unbuffered) ^~~~ Image.cpp:624:135: error: 'endl' is not a member of 'sf::std' std::cerr << "Failed to create image, its internal size is too high (" << TextureWidth << "x" << TextureHeight << ")" << std::endl; ^~~~ Image.cpp:624:135: note: suggested alternative: In file included from /usr/include/c++/8.0/iostream:39, from ../../SFML/Graphics/GraphicsContext.hpp:34, from Image.cpp:31: /usr/include/c++/8.0/ostream:590:5: note: 'std::endl' endl(basic_ostream<_CharT, _Traits>& __os) ^~~~ Image.cpp:640:71: error: invalid conversion from 'const char*' to 'int' [-fpermissive] GLCheck(glGetIntegerv(GL_TEXTURE_BINDING_2D, &PreviousTexture)); ^ In file included from Image.cpp:31: ../../SFML/Graphics/GraphicsContext.hpp:102:45: note: initializing argument 1 of 'void sf::GLCheckError(const int&, unsigned int)' inline void GLCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Image.cpp:643:43: error: invalid conversion from 'const char*' to 'int' [-fpermissive] GLCheck(glGenTextures(1, &Texture)); ^ ../../SFML/Graphics/GraphicsContext.hpp:102:45: note: initializing argument 1 of 'void sf::GLCheckError(const int&, unsigned int)' inline void GLCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Image.cpp:644:54: error: invalid conversion from 'const char*' to 'int' [-fpermissive] GLCheck(glBindTexture(GL_TEXTURE_2D, Texture)); ^ ../../SFML/Graphics/GraphicsContext.hpp:102:45: note: initializing argument 1 of 'void sf::GLCheckError(const int&, unsigned int)' inline void GLCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Image.cpp:645:126: error: invalid conversion from 'const char*' to 'int' [-fpermissive] GLCheck(glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA8, myTextureWidth, myTextureHeight, 0, GL_RGBA, GL_UNSIGNED_BYTE, NULL)); ^ ../../SFML/Graphics/GraphicsContext.hpp:102:45: note: initializing argument 1 of 'void sf::GLCheckError(const int&, unsigned int)' inline void GLCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Image.cpp:646:76: error: invalid conversion from 'const char*' to 'int' [-fpermissive] GLCheck(glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP)); ^ ../../SFML/Graphics/GraphicsContext.hpp:102:45: note: initializing argument 1 of 'void sf::GLCheckError(const int&, unsigned int)' inline void GLCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Image.cpp:647:76: error: invalid conversion from 'const char*' to 'int' [-fpermissive] GLCheck(glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP)); ^ ../../SFML/Graphics/GraphicsContext.hpp:102:45: note: initializing argument 1 of 'void sf::GLCheckError(const int&, unsigned int)' inline void GLCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Image.cpp:648:107: error: invalid conversion from 'const char*' to 'int' [-fpermissive] GLCheck(glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, myIsSmooth ? GL_LINEAR : GL_NEAREST)); ^ ../../SFML/Graphics/GraphicsContext.hpp:102:45: note: initializing argument 1 of 'void sf::GLCheckError(const int&, unsigned int)' inline void GLCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Image.cpp:649:107: error: invalid conversion from 'const char*' to 'int' [-fpermissive] GLCheck(glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, myIsSmooth ? GL_LINEAR : GL_NEAREST)); ^ ../../SFML/Graphics/GraphicsContext.hpp:102:45: note: initializing argument 1 of 'void sf::GLCheckError(const int&, unsigned int)' inline void GLCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Image.cpp:652:62: error: invalid conversion from 'const char*' to 'int' [-fpermissive] GLCheck(glBindTexture(GL_TEXTURE_2D, PreviousTexture)); ^ ../../SFML/Graphics/GraphicsContext.hpp:102:45: note: initializing argument 1 of 'void sf::GLCheckError(const int&, unsigned int)' inline void GLCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Image.cpp: In member function 'void sf::Image::EnsureTextureUpdate() const': Image.cpp:670:27: error: 'myPixels' was not declared in this scope if (myTexture && !myPixels.empty()) ^~~~~~~~ Image.cpp:670:27: note: suggested alternative: 'SetPixel' if (myTexture && !myPixels.empty()) ^~~~~~~~ SetPixel Image.cpp:673:75: error: invalid conversion from 'const char*' to 'int' [-fpermissive] GLCheck(glGetIntegerv(GL_TEXTURE_BINDING_2D, &PreviousTexture)); ^ In file included from Image.cpp:31: ../../SFML/Graphics/GraphicsContext.hpp:102:45: note: initializing argument 1 of 'void sf::GLCheckError(const int&, unsigned int)' inline void GLCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Image.cpp:676:60: error: invalid conversion from 'const char*' to 'int' [-fpermissive] GLCheck(glBindTexture(GL_TEXTURE_2D, myTexture)); ^ ../../SFML/Graphics/GraphicsContext.hpp:102:45: note: initializing argument 1 of 'void sf::GLCheckError(const int&, unsigned int)' inline void GLCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Image.cpp:677:120: error: invalid conversion from 'const char*' to 'int' [-fpermissive] GLCheck(glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, myWidth, myHeight, GL_RGBA, GL_UNSIGNED_BYTE, &myPixels[0])); ^ ../../SFML/Graphics/GraphicsContext.hpp:102:45: note: initializing argument 1 of 'void sf::GLCheckError(const int&, unsigned int)' inline void GLCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Image.cpp:679:66: error: invalid conversion from 'const char*' to 'int' [-fpermissive] GLCheck(glBindTexture(GL_TEXTURE_2D, PreviousTexture)); ^ ../../SFML/Graphics/GraphicsContext.hpp:102:45: note: initializing argument 1 of 'void sf::GLCheckError(const int&, unsigned int)' inline void GLCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Image.cpp: In member function 'void sf::Image::EnsureArrayUpdate() const': Image.cpp:697:71: error: invalid conversion from 'const char*' to 'int' [-fpermissive] GLCheck(glGetIntegerv(GL_TEXTURE_BINDING_2D, &PreviousTexture)); ^ ../../SFML/Graphics/GraphicsContext.hpp:102:45: note: initializing argument 1 of 'void sf::GLCheckError(const int&, unsigned int)' inline void GLCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Image.cpp:700:9: error: 'myPixels' was not declared in this scope myPixels.resize(myWidth * myHeight); ^~~~~~~~ Image.cpp:700:9: note: suggested alternative: 'SetPixel' myPixels.resize(myWidth * myHeight); ^~~~~~~~ SetPixel Image.cpp:707:60: error: invalid conversion from 'const char*' to 'int' [-fpermissive] GLCheck(glBindTexture(GL_TEXTURE_2D, myTexture)); ^ In file included from Image.cpp:31: ../../SFML/Graphics/GraphicsContext.hpp:102:45: note: initializing argument 1 of 'void sf::GLCheckError(const int&, unsigned int)' inline void GLCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Image.cpp:708:93: error: invalid conversion from 'const char*' to 'int' [-fpermissive] GLCheck(glGetTexImage(GL_TEXTURE_2D, 0, GL_RGBA, GL_UNSIGNED_BYTE, &myPixels[0])); ^ ../../SFML/Graphics/GraphicsContext.hpp:102:45: note: initializing argument 1 of 'void sf::GLCheckError(const int&, unsigned int)' inline void GLCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Image.cpp:715:18: error: 'vector' is not a member of 'sf::std' std::vector AllPixels(myTextureWidth * myTextureHeight); ^~~~~~ Image.cpp:715:18: note: suggested alternative: In file included from /usr/include/c++/8.0/vector:64, from ../../../include/SFML/Graphics/Image.hpp:35, from Image.cpp:28: /usr/include/c++/8.0/bits/stl_vector.h:339:11: note: 'std::vector' class vector : protected _Vector_base<_Tp, _Alloc> ^~~~~~ Image.cpp:715:30: error: expected primary-expression before '>' token std::vector AllPixels(myTextureWidth * myTextureHeight); ^ Image.cpp:715:32: error: 'AllPixels' was not declared in this scope std::vector AllPixels(myTextureWidth * myTextureHeight); ^~~~~~~~~ Image.cpp:715:32: note: suggested alternative: 'SetPixel' std::vector AllPixels(myTextureWidth * myTextureHeight); ^~~~~~~~~ SetPixel Image.cpp:716:60: error: invalid conversion from 'const char*' to 'int' [-fpermissive] GLCheck(glBindTexture(GL_TEXTURE_2D, myTexture)); ^ In file included from Image.cpp:31: ../../SFML/Graphics/GraphicsContext.hpp:102:45: note: initializing argument 1 of 'void sf::GLCheckError(const int&, unsigned int)' inline void GLCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Image.cpp:717:94: error: invalid conversion from 'const char*' to 'int' [-fpermissive] GLCheck(glGetTexImage(GL_TEXTURE_2D, 0, GL_RGBA, GL_UNSIGNED_BYTE, &AllPixels[0])); ^ ../../SFML/Graphics/GraphicsContext.hpp:102:45: note: initializing argument 1 of 'void sf::GLCheckError(const int&, unsigned int)' inline void GLCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Image.cpp:724:22: error: 'copy' is not a member of 'sf::std' std::copy(Src, Src + myWidth, Dst); ^~~~ Image.cpp:724:22: note: suggested alternative: In file included from /usr/include/c++/8.0/bits/locale_facets.h:48, from /usr/include/c++/8.0/bits/basic_ios.h:37, from /usr/include/c++/8.0/ios:44, from /usr/include/c++/8.0/ostream:38, from /usr/include/c++/8.0/iostream:39, from ../../SFML/Graphics/GraphicsContext.hpp:34, from Image.cpp:31: /usr/include/c++/8.0/bits/streambuf_iterator.h:292:5: note: 'std::copy' copy(istreambuf_iterator<_CharT> __first, ^~~~ Image.cpp:731:62: error: invalid conversion from 'const char*' to 'int' [-fpermissive] GLCheck(glBindTexture(GL_TEXTURE_2D, PreviousTexture)); ^ In file included from Image.cpp:31: ../../SFML/Graphics/GraphicsContext.hpp:102:45: note: initializing argument 1 of 'void sf::GLCheckError(const int&, unsigned int)' inline void GLCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ Image.cpp: In member function 'void sf::Image::Reset()': Image.cpp:753:5: error: 'myPixels' was not declared in this scope myPixels.clear(); ^~~~~~~~ Image.cpp:753:5: note: suggested alternative: 'SetPixel' myPixels.clear(); ^~~~~~~~ SetPixel Image.cpp: In member function 'void sf::Image::DestroyTexture()': Image.cpp:769:46: error: invalid conversion from 'const char*' to 'int' [-fpermissive] GLCheck(glDeleteTextures(1, &Texture)); ^ In file included from Image.cpp:31: ../../SFML/Graphics/GraphicsContext.hpp:102:45: note: initializing argument 1 of 'void sf::GLCheckError(const int&, unsigned int)' inline void GLCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ In file included from RenderWindow.cpp:31: ../../SFML/Graphics/GraphicsContext.hpp:102:37: error: 'string' in namespace 'sf::std' does not name a type inline void GLCheckError(const std::string& File, unsigned int Line) ^~~~~~ ../../SFML/Graphics/GraphicsContext.hpp: In function 'void sf::GLCheckError(const int&, unsigned int)': ../../SFML/Graphics/GraphicsContext.hpp:109:14: error: 'string' is not a member of 'sf::std' std::string Error = "unknown error"; ^~~~~~ ../../SFML/Graphics/GraphicsContext.hpp:109:14: note: suggested alternative: In file included from /usr/include/c++/8.0/string:39, from ../../../include/SFML/Graphics/Image.hpp:34, from ../../../include/SFML/Graphics/RenderWindow.hpp:31, from RenderWindow.cpp:28: /usr/include/c++/8.0/bits/stringfwd.h:74:33: note: 'std::__cxx11::string' typedef basic_string string; ^~~~~~ In file included from RenderWindow.cpp:31: ../../SFML/Graphics/GraphicsContext.hpp:110:14: error: 'string' is not a member of 'sf::std' std::string Desc = "no description"; ^~~~~~ ../../SFML/Graphics/GraphicsContext.hpp:110:14: note: suggested alternative: In file included from /usr/include/c++/8.0/string:39, from ../../../include/SFML/Graphics/Image.hpp:34, from ../../../include/SFML/Graphics/RenderWindow.hpp:31, from RenderWindow.cpp:28: /usr/include/c++/8.0/bits/stringfwd.h:74:33: note: 'std::__cxx11::string' typedef basic_string string; ^~~~~~ In file included from RenderWindow.cpp:31: ../../SFML/Graphics/GraphicsContext.hpp:117:17: error: 'Error' was not declared in this scope Error = "GL_INVALID_ENUM"; ^~~~~ ../../SFML/Graphics/GraphicsContext.hpp:117:17: note: suggested alternative: 'perror' Error = "GL_INVALID_ENUM"; ^~~~~ perror ../../SFML/Graphics/GraphicsContext.hpp:118:17: error: 'Desc' was not declared in this scope Desc = "an unacceptable value has been specified for an enumerated argument"; ^~~~ ../../SFML/Graphics/GraphicsContext.hpp:118:17: note: suggested alternative: 'getc' Desc = "an unacceptable value has been specified for an enumerated argument"; ^~~~ getc ../../SFML/Graphics/GraphicsContext.hpp:124:17: error: 'Error' was not declared in this scope Error = "GL_INVALID_VALUE"; ^~~~~ ../../SFML/Graphics/GraphicsContext.hpp:124:17: note: suggested alternative: 'perror' Error = "GL_INVALID_VALUE"; ^~~~~ perror ../../SFML/Graphics/GraphicsContext.hpp:125:17: error: 'Desc' was not declared in this scope Desc = "a numeric argument is out of range"; ^~~~ ../../SFML/Graphics/GraphicsContext.hpp:125:17: note: suggested alternative: 'getc' Desc = "a numeric argument is out of range"; ^~~~ getc ../../SFML/Graphics/GraphicsContext.hpp:131:17: error: 'Error' was not declared in this scope Error = "GL_INVALID_OPERATION"; ^~~~~ ../../SFML/Graphics/GraphicsContext.hpp:131:17: note: suggested alternative: 'perror' Error = "GL_INVALID_OPERATION"; ^~~~~ perror ../../SFML/Graphics/GraphicsContext.hpp:132:17: error: 'Desc' was not declared in this scope Desc = "the specified operation is not allowed in the current state"; ^~~~ ../../SFML/Graphics/GraphicsContext.hpp:132:17: note: suggested alternative: 'getc' Desc = "the specified operation is not allowed in the current state"; ^~~~ getc ../../SFML/Graphics/GraphicsContext.hpp:138:17: error: 'Error' was not declared in this scope Error = "GL_STACK_OVERFLOW"; ^~~~~ ../../SFML/Graphics/GraphicsContext.hpp:138:17: note: suggested alternative: 'perror' Error = "GL_STACK_OVERFLOW"; ^~~~~ perror ../../SFML/Graphics/GraphicsContext.hpp:139:17: error: 'Desc' was not declared in this scope Desc = "this command would cause a stack overflow"; ^~~~ ../../SFML/Graphics/GraphicsContext.hpp:139:17: note: suggested alternative: 'getc' Desc = "this command would cause a stack overflow"; ^~~~ getc ../../SFML/Graphics/GraphicsContext.hpp:145:17: error: 'Error' was not declared in this scope Error = "GL_STACK_UNDERFLOW"; ^~~~~ ../../SFML/Graphics/GraphicsContext.hpp:145:17: note: suggested alternative: 'perror' Error = "GL_STACK_UNDERFLOW"; ^~~~~ perror ../../SFML/Graphics/GraphicsContext.hpp:146:17: error: 'Desc' was not declared in this scope Desc = "this command would cause a stack underflow"; ^~~~ ../../SFML/Graphics/GraphicsContext.hpp:146:17: note: suggested alternative: 'getc' Desc = "this command would cause a stack underflow"; ^~~~ getc ../../SFML/Graphics/GraphicsContext.hpp:152:17: error: 'Error' was not declared in this scope Error = "GL_OUT_OF_MEMORY"; ^~~~~ ../../SFML/Graphics/GraphicsContext.hpp:152:17: note: suggested alternative: 'perror' Error = "GL_OUT_OF_MEMORY"; ^~~~~ perror ../../SFML/Graphics/GraphicsContext.hpp:153:17: error: 'Desc' was not declared in this scope Desc = "there is not enough memory left to execute the command"; ^~~~ ../../SFML/Graphics/GraphicsContext.hpp:153:17: note: suggested alternative: 'getc' Desc = "there is not enough memory left to execute the command"; ^~~~ getc ../../SFML/Graphics/GraphicsContext.hpp:159:17: error: 'Error' was not declared in this scope Error = "GL_INVALID_FRAMEBUFFER_OPERATION_EXT"; ^~~~~ ../../SFML/Graphics/GraphicsContext.hpp:159:17: note: suggested alternative: 'perror' Error = "GL_INVALID_FRAMEBUFFER_OPERATION_EXT"; ^~~~~ perror ../../SFML/Graphics/GraphicsContext.hpp:160:17: error: 'Desc' was not declared in this scope Desc = "the object bound to FRAMEBUFFER_BINDING_EXT is not \"framebuffer complete\""; ^~~~ ../../SFML/Graphics/GraphicsContext.hpp:160:17: note: suggested alternative: 'getc' Desc = "the object bound to FRAMEBUFFER_BINDING_EXT is not \"framebuffer complete\""; ^~~~ getc ../../SFML/Graphics/GraphicsContext.hpp:166:14: error: 'cerr' is not a member of 'sf::std' std::cerr << "An internal OpenGL call failed in " ^~~~ ../../SFML/Graphics/GraphicsContext.hpp:166:14: note: suggested alternative: In file included from ../../SFML/Graphics/GraphicsContext.hpp:34, from RenderWindow.cpp:31: /usr/include/c++/8.0/iostream:62:18: note: 'std::cerr' extern ostream cerr; /// Linked to standard error (unbuffered) ^~~~ In file included from RenderWindow.cpp:31: ../../SFML/Graphics/GraphicsContext.hpp:167:27: error: request for member 'substr' in 'File', which is of non-class type 'const int' << File.substr(File.find_last_of("\\/") + 1) << " (" << Line << ") : " ^~~~~~ ../../SFML/Graphics/GraphicsContext.hpp:167:39: error: request for member 'find_last_of' in 'File', which is of non-class type 'const int' << File.substr(File.find_last_of("\\/") + 1) << " (" << Line << ") : " ^~~~~~~~~~~~ ../../SFML/Graphics/GraphicsContext.hpp:168:22: error: 'Error' was not declared in this scope << Error << ", " << Desc ^~~~~ ../../SFML/Graphics/GraphicsContext.hpp:168:22: note: suggested alternative: 'perror' << Error << ", " << Desc ^~~~~ perror ../../SFML/Graphics/GraphicsContext.hpp:168:39: error: 'Desc' was not declared in this scope << Error << ", " << Desc ^~~~ ../../SFML/Graphics/GraphicsContext.hpp:168:39: note: suggested alternative: 'getc' << Error << ", " << Desc ^~~~ getc ../../SFML/Graphics/GraphicsContext.hpp:169:27: error: 'endl' is not a member of 'sf::std' << std::endl; ^~~~ ../../SFML/Graphics/GraphicsContext.hpp:169:27: note: suggested alternative: In file included from /usr/include/c++/8.0/iostream:39, from ../../SFML/Graphics/GraphicsContext.hpp:34, from RenderWindow.cpp:31: /usr/include/c++/8.0/ostream:590:5: note: 'std::endl' endl(basic_ostream<_CharT, _Traits>& __os) ^~~~ RenderWindow.cpp: At global scope: RenderWindow.cpp:49:55: error: 'string' in namespace 'sf::std' does not name a type RenderWindow::RenderWindow(VideoMode Mode, const std::string& Title, unsigned long WindowStyle, const WindowSettings& Params) ^~~~~~ RenderWindow.cpp:58:27: error: expected constructor, destructor, or type conversion before '(' token RenderWindow::RenderWindow(WindowHandle Handle, const WindowSettings& Params) ^ RenderWindow.cpp: In member function 'sf::Image sf::RenderWindow::Capture() const': RenderWindow.cpp:120:14: error: 'vector' is not a member of 'sf::std' std::vector Pixels(Width * Height * 4); ^~~~~~ RenderWindow.cpp:120:14: note: suggested alternative: In file included from /usr/include/c++/8.0/vector:64, from ../../../include/SFML/Graphics/Image.hpp:35, from ../../../include/SFML/Graphics/RenderWindow.hpp:31, from RenderWindow.cpp:28: /usr/include/c++/8.0/bits/stl_vector.h:339:11: note: 'std::vector' class vector : protected _Vector_base<_Tp, _Alloc> ^~~~~~ RenderWindow.cpp:120:26: error: expected primary-expression before '>' token std::vector Pixels(Width * Height * 4); ^ RenderWindow.cpp:120:28: error: 'Pixels' was not declared in this scope std::vector Pixels(Width * Height * 4); ^~~~~~ RenderWindow.cpp:122:88: error: invalid conversion from 'const char*' to 'int' [-fpermissive] GLCheck(glReadPixels(0, 0, Width, Height, GL_RGBA, GL_UNSIGNED_BYTE, PixelsPtr)); ^ In file included from RenderWindow.cpp:31: ../../SFML/Graphics/GraphicsContext.hpp:102:45: note: initializing argument 1 of 'void sf::GLCheckError(const int&, unsigned int)' inline void GLCheckError(const std::string& File, unsigned int Line) ~~~~~~~~~~~~~~~~~~~^~~~ RenderWindow.cpp:127:18: error: 'swap_ranges' is not a member of 'sf::std' std::swap_ranges(PixelsPtr + y * Pitch, PixelsPtr + (y + 1) * Pitch, PixelsPtr + (Height - y - 1) * Pitch); ^~~~~~~~~~~ RenderWindow.cpp:127:18: note: suggested alternative: In file included from /usr/include/c++/8.0/bits/stl_tree.h:63, from /usr/include/c++/8.0/set:60, from ../../../include/SFML/System/Resource.hpp:31, from ../../../include/SFML/Graphics/Image.hpp:31, from ../../../include/SFML/Graphics/RenderWindow.hpp:31, from RenderWindow.cpp:28: /usr/include/c++/8.0/bits/stl_algobase.h:166:5: note: 'std::swap_ranges' swap_ranges(_ForwardIterator1 __first1, _ForwardIterator1 __last1, ^~~~~~~~~~~ gmake[3]: *** [Makefile:33: Image.o] Error 1 In file included from ../../../include/SFML/System/Unicode.hpp:285, from Unicode.cpp:28: ../../../include/SFML/System/Unicode.inl: In static member function 'static Out sf::Unicode::UTF8ToUTF32(In, In, Out, sf::Uint32) [with In = const unsigned char*; Out = std::back_insert_iterator >]': ../../../include/SFML/System/Unicode.inl:174:41: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5 : c += *Begin++; c <<= 6; ^ ../../../include/SFML/System/Unicode.inl:175:17: note: here case 4 : c += *Begin++; c <<= 6; ^~~~ ../../../include/SFML/System/Unicode.inl:175:41: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4 : c += *Begin++; c <<= 6; ^ ../../../include/SFML/System/Unicode.inl:176:17: note: here case 3 : c += *Begin++; c <<= 6; ^~~~ ../../../include/SFML/System/Unicode.inl:176:41: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3 : c += *Begin++; c <<= 6; ^ ../../../include/SFML/System/Unicode.inl:177:17: note: here case 2 : c += *Begin++; c <<= 6; ^~~~ ../../../include/SFML/System/Unicode.inl:177:41: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2 : c += *Begin++; c <<= 6; ^ ../../../include/SFML/System/Unicode.inl:178:17: note: here case 1 : c += *Begin++; c <<= 6; ^~~~ ../../../include/SFML/System/Unicode.inl:178:41: warning: this statement may fall through [-Wimplicit-fallthrough=] case 1 : c += *Begin++; c <<= 6; ^ ../../../include/SFML/System/Unicode.inl:179:17: note: here case 0 : c += *Begin++; ^~~~ ../../../include/SFML/System/Unicode.inl: In static member function 'static Out sf::Unicode::UTF8ToUTF32(In, In, Out, sf::Uint32) [with In = __gnu_cxx::__normal_iterator >; Out = std::back_insert_iterator >]': ../../../include/SFML/System/Unicode.inl:174:41: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5 : c += *Begin++; c <<= 6; ^ ../../../include/SFML/System/Unicode.inl:175:17: note: here case 4 : c += *Begin++; c <<= 6; ^~~~ ../../../include/SFML/System/Unicode.inl:175:41: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4 : c += *Begin++; c <<= 6; ^ ../../../include/SFML/System/Unicode.inl:176:17: note: here case 3 : c += *Begin++; c <<= 6; ^~~~ ../../../include/SFML/System/Unicode.inl:176:41: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3 : c += *Begin++; c <<= 6; ^ ../../../include/SFML/System/Unicode.inl:177:17: note: here case 2 : c += *Begin++; c <<= 6; ^~~~ ../../../include/SFML/System/Unicode.inl:177:41: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2 : c += *Begin++; c <<= 6; ^ ../../../include/SFML/System/Unicode.inl:178:17: note: here case 1 : c += *Begin++; c <<= 6; ^~~~ ../../../include/SFML/System/Unicode.inl:178:41: warning: this statement may fall through [-Wimplicit-fallthrough=] case 1 : c += *Begin++; c <<= 6; ^ ../../../include/SFML/System/Unicode.inl:179:17: note: here case 0 : c += *Begin++; ^~~~ ../../../include/SFML/System/Unicode.inl: In static member function 'static Out sf::Unicode::UTF32ToUTF8(In, In, Out, sf::Uint8) [with In = __gnu_cxx::__normal_iterator >; Out = std::back_insert_iterator >]': ../../../include/SFML/System/Unicode.inl:352:76: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4 : Bytes[3] = static_cast((c | 0x80) & 0xBF); c >>= 6; ^ ../../../include/SFML/System/Unicode.inl:353:17: note: here case 3 : Bytes[2] = static_cast((c | 0x80) & 0xBF); c >>= 6; ^~~~ ../../../include/SFML/System/Unicode.inl:353:76: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3 : Bytes[2] = static_cast((c | 0x80) & 0xBF); c >>= 6; ^ ../../../include/SFML/System/Unicode.inl:354:17: note: here case 2 : Bytes[1] = static_cast((c | 0x80) & 0xBF); c >>= 6; ^~~~ ../../../include/SFML/System/Unicode.inl:354:76: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2 : Bytes[1] = static_cast((c | 0x80) & 0xBF); c >>= 6; ^ ../../../include/SFML/System/Unicode.inl:355:17: note: here case 1 : Bytes[0] = static_cast (c | UTF8FirstBytes[BytesToWrite]); ^~~~ ../../../include/SFML/System/Unicode.inl:362:36: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4 : *Output++ = *CurByte++; ~~~~~~~~~~^~~~~~~~~~~~ ../../../include/SFML/System/Unicode.inl:363:17: note: here case 3 : *Output++ = *CurByte++; ^~~~ ../../../include/SFML/System/Unicode.inl:363:36: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3 : *Output++ = *CurByte++; ~~~~~~~~~~^~~~~~~~~~~~ ../../../include/SFML/System/Unicode.inl:364:17: note: here case 2 : *Output++ = *CurByte++; ^~~~ ../../../include/SFML/System/Unicode.inl:364:36: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2 : *Output++ = *CurByte++; ~~~~~~~~~~^~~~~~~~~~~~ ../../../include/SFML/System/Unicode.inl:365:17: note: here case 1 : *Output++ = *CurByte++; ^~~~ gmake[3]: *** [Makefile:23: Unicode.o] Error 1 gmake[3]: Leaving directory '/construction/devel/sfml1/SFML-1.6/src/SFML/System' gmake[2]: *** [Makefile:38: sfml-system] Error 2 gmake[3]: *** [Makefile:33: RenderWindow.o] Error 1 gmake[3]: *** [Makefile:33: Font.o] Error 1 gmake[3]: Leaving directory '/construction/devel/sfml1/SFML-1.6/src/SFML/Graphics' gmake[2]: *** [Makefile:50: sfml-graphics] Error 2 gmake[2]: Leaving directory '/construction/devel/sfml1/SFML-1.6/src/SFML' gmake[1]: *** [Makefile:5: sfml] Error 2 gmake[1]: Leaving directory '/construction/devel/sfml1/SFML-1.6' ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /xports/devel/sfml1 FAILED 00:00:05