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 - Jarek

Pages: [1]
1
General / Application compiles and crashes with gui
« on: July 22, 2009, 07:06:00 pm »
Just wanted to say that I installed SFML on my other Vista machine this morning and it worked fine. It appears it's an isolated issue to that machine. I think it has something to do with MinGW... I am sure that machine is getting jacked up by something else. If it works on this computer I outta be fine :)

Thanks a lot guys!

2
General / Application compiles and crashes with gui
« on: July 22, 2009, 04:58:10 pm »
I used the same built library I downloaded on both OS's. I will try to build it tonight.

3
General / Application compiles and crashes with gui
« on: July 22, 2009, 04:27:48 am »
Everyone, thanks for the replies. I really appreciate it. I honestly think this is a problem with Windows Vista. Either it has caused MinGW to work irrationally (I can debug and do everything fine on my XP machine) or there is some rights issue. I tried investigating the rights issue and it doesn't appear to be that, so I am guess it's some sort of side effect with Vista/CodeBlocks/MinGW.

Thanks again!
Go SFML! It rocks!

4
General / Application compiles and crashes with gui
« on: July 22, 2009, 02:57:49 am »
I copied and pasted the code with App.Clear() and I also tried a Window and that didn't work either.

5
General / Application compiles and crashes with gui
« on: July 22, 2009, 12:36:50 am »
Good point, you would think with all this education I would remember to insert some cout's. I have no idea why debugging isn't working...

It appears that App.Display() is not working. I updated DX to see if it might be some DirectX library issue but that was up to date with DX9 (I am not sure what version of DX is being used.).

6
General / Application compiles and crashes with gui
« on: July 21, 2009, 11:52:20 pm »
It works fine with just a main function and no SFML references. Prior to doing the graphical gui stuff I was able to compile and execute the clock example from the first tutorial for setting up mingw.

7
General / Application compiles and crashes with gui
« on: July 21, 2009, 11:18:09 pm »
I tried the code and had the same problem.

The crash message is the Vista generic message:
"SFMLTest.exe has stopped working"
"A problem caused the program to stop working correctly.
Windows will close the  program and notify you if a solution is available."

8
General / Application compiles and crashes with gui
« on: July 21, 2009, 11:07:20 pm »
Yes thats all the code I have. I did a test on another computer but unfortunately I don't have that code near me. But thats all the code and I did try a RenderWindow and it failed too. I tried debugging it and as soon as the app even loads it bombs. Not a single line runs.

9
General / Application compiles and crashes with gui
« on: July 21, 2009, 10:49:07 pm »
Greetings,

I just wanted to say how much I really like SFML, and I was able to get it up and working on another computer just fine running Windows XP. I installed this on my Vista box using CodeBlocks/MinGW and I am able to compile the application just fine, but when I run the application it immediately locks up and crashes. Whats wierd is that the clock demo works perfectly, so this problem only occurs with a gui.

The code I am using for making a window is:
Code: [Select]

#include <SFML/System.hpp>
#include <SFML/Window.hpp>


int main(int argc, char** argv)
{
    sf::Window App(sf::VideoMode(800, 600, 32), "SFML Window");

    bool Running = true;
    while (Running)
    {
        App.Display();
    }

    return EXIT_SUCCESS;
}


So its not anything terribly complicated. Last night at my other machine I got a sprite demo working without any problems, so I am fairly confused as to why this is occuring.

Thanks in advance for the help!

Pages: [1]