Hi,
I get same strange problem with a my program so try to use debug and back-running go to try debug in samples of SFML.
I get error:
Program received signal SIGSEGV, Segmentation fault
in any programs when go to use debug function of CodeBlocks.
I see that problems begin when start to use graph with
sf::RenderWindow App(sf::VideoMode(800, 600, 32), "SFML Pong");
Probably is only a case.. I'm not an expert din debug/codeblocks so..
someone can help me please?
I just spent a lot of time for this.
I work on windows with: SFML1.3 / Code::Blocks / Mingw / gdb.exe.
I don't get any problem with simply programs that don't use library:
for ( i=1; i<=3; i=i+1 ) { printf("i=%d ",i); }
I can't found documentation about this online.. only a similar problem:
http://forums.comodo.com/bug_reports/conflict_with_gdb_debugger-t21329.0.html;msg147164Now I make an simple code: new project with this code:
#include <SFML/Graphics.hpp>
int main() {
sf::RenderWindow AppGr;
return EXIT_SUCCESS;
}
and
#include <SFML/Window.hpp>
int main() {
sf::Window App(sf::VideoMode(640, 480, 32), "SFML Window");
return EXIT_SUCCESS;
}
This 2 simple codes have the same problem:
starting debug with initialize variable as sf::RenderWindow or sf::Window
generate SigSegV
if I remove variable init line debug can run property
Now I try other library and found that I haven't any problem
with Sockets sample in debug mode. Any debug function go right.
Thanks for any suggestion.