Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Iteem

Pages: [1]
1
Graphics / Include missing
« on: July 17, 2011, 03:48:46 pm »
Trying to compile the newest SFML-revision, I've got the error

Code: [Select]
...\SFML\src\SFML\Graphics\Font.cpp:197:5: error: 'memset' is not a member of 'std'

Adding "#include <cstring>" in src\SFML\Graphics\Font.cp fixes the problem.

2
General / GetDefaultFont causes crash on exit
« on: May 01, 2011, 05:04:14 pm »
Using sf::Font::GetDefaultFont (SFML2) causes a segmentation fault when closeing the program. If I only use fonts loaded from a file or whatever it works like intended.

Here is the backtrace:
Code: [Select]
#0 019298AD atioglxx!DrvRealizeLayerPalette() (C:\WINDOWS\system32\atioglxx.dll:??)
#1 00000000 0x0467a45c in ??() (??:??)
#2 0197241E atioglxx!atiPPHSN() (C:\WINDOWS\system32\atioglxx.dll:??)
#3 00000000 0x0467a200 in ??() (??:??)
#4 00000000 0x0022fe40 in ??() (??:??)
#5 022062D5 atioglxx!DrvValidateVersion() (C:\WINDOWS\system32\atioglxx.dll:??)
#6 00000000 0xffffffff in ??() (??:??)
#7 5F0E9926 wglSwapLayerBuffers() (C:\WINDOWS\system32\opengl32.dll:??)
#8 6E185583 ~WglContext(this=0x6a4f50) (E:\Programmierung\SFML2\SFML\src\SFML\Window\Win32\WglContext.cpp:118)
#9 6E181A5D sf::priv::GlContext::Cleanup() (E:\Programmierung\SFML2\SFML\src\SFML\Window\GlContext.cpp:127)
#10 6E18235F ~GlResource(this=0x598d934) (E:\Programmierung\SFML2\SFML\src\SFML\Window\GlResource.cpp:79)
#11 68EC48C1 ~Image(this=0x598d934) (E:\Programmierung\SFML2\SFML\src\SFML\Graphics\Image.cpp:92)
#12 68F7631B ~Page(this=0x598d91c) (E:/Programmierung/SFML2/SFML/include/SFML/Graphics/Font.hpp:222)
#13 68FC0ECC ~pair(this=0x598d918) (d:/programme/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/include/c++/bits/stl_pair.h:68)
#14 68F77879 __gnu_cxx::new_allocator<std::pair<unsigned int const, sf::Font::Page> >::destroy(this=0x22fc03, __p=0x598d918) (d:/programme/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/include/c++/ext/new_allocator.h:115)
#15 68FC6200 std::_Rb_tree<unsigned int, std::pair<unsigned int const, sf::Font::Page>, std::_Select1st<std::pair<unsigned int const, sf::Font::Page> >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, sf::Font::Page> > >::_M_destroy_node(this=0x69056088, __p=0x598d908) (d:/programme/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/include/c++/bits/stl_tree.h:383)
#16 68FC6D9A std::_Rb_tree<unsigned int, std::pair<unsigned int const, sf::Font::Page>, std::_Select1st<std::pair<unsigned int const, sf::Font::Page> >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, sf::Font::Page> > >::_M_erase(this=0x69056088, __x=0x598d908) (d:/programme/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/include/c++/bits/stl_tree.h:972)
#17 68FC6AD9 std::_Rb_tree<unsigned int, std::pair<unsigned int const, sf::Font::Page>, std::_Select1st<std::pair<unsigned int const, sf::Font::Page> >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, sf::Font::Page> > >::clear(this=0x69056088) (d:/programme/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/include/c++/bits/stl_tree.h:726)
#18 68FC09B1 std::map<unsigned int, sf::Font::Page, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, sf::Font::Page> > >::clear(this=0x69056088) (d:/programme/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/include/c++/bits/stl_map.h:626)
#19 68EC2CFD sf::Font::Cleanup(this=0x69056060) (E:\Programmierung\SFML2\SFML\src\SFML\Graphics\Font.cpp:297)
#20 68EC239F ~Font(this=0x69056060) (E:\Programmierung\SFML2\SFML\src\SFML\Graphics\Font.cpp:69)
#21 68EC2B59 __tcf_0() (E:\Programmierung\SFML2\SFML\src\SFML\Graphics\Font.cpp:249)
#22 68EC1086 __dll_exit() (C:\WINDOWS\system32\sfml-graphics-d-2.dll:??)
#23 68EC1106 DllMainCRTStartup@12() (C:\WINDOWS\system32\sfml-graphics-d-2.dll:??)
#24 7C91118A ntdll!LdrSetAppCompatDllRedirectionCallback() (C:\WINDOWS\system32\ntdll.dll:??)
#25 00000000 0x68ec0000 in ??() (??:??)
#26 00000000 0x00000000 in ??() (??:??)


I'm using SFML2 and WinXP. My video card is a Radeon X1650, that might be relevant ;)

Pages: [1]
anything