SFML community forums
Help => Graphics => Topic started by: chrz on December 29, 2008, 03:49:41 pm
-
hi i have problems with compiling my sourcecode, which includes the graphics c++ header, the problem:
lib/SFML-1.3/include/SFML/Graphics/Font.hpp:113: error: using-declaration for non-member at class scope
lib/SFML-1.3/include/SFML/Graphics/Font.hpp:113: error: expected `;' before '<' token
In file included from lib/SFML-1.3/include/SFML/Graphics.hpp:36,
std::map<wchar_t, Character> myCharacters; ///< Rendering settings of each character
it sounds like the gcc compiler have problems with wchar_t but is there a workaround out yet?, i already researched a bit and i found out, that the wide-character parts of the GCC Standard C++ Library have not yet been fully ported to Windows ( http://www.mingw.org/wiki/FAQ )
-
Just use the latest version (from SVN -- or wait for 1.4), wchar_t is gone from SFML ;)
-
okay thanks, the svn version works fine :D