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

Pages: [1]
1
General / Re: Crash on startup (2.0 RC) in VideoMode
« on: June 22, 2012, 01:24:41 pm »
Oh, I hoped I can avoid that, but I think I will give it a try. Should not be too difficult. I will tell you if that works.


EDIT: Ok, I recompiled the shared libraries for debug and release mode and everything works now :D (by the way, the compiled dll's differs a lot in their size compared to the not working ones). Thanks for you help.

2
General / Re: Crash on startup (2.0 RC) in VideoMode
« on: June 22, 2012, 12:54:28 pm »
Ok, the threading model is win32. My MinGW version uses the DW2 exception model (so I have the libgcc_s_dw2-1.dll). To be sure, I tried both versions of SFML, but the execution error appears every time.

Do you mean with valid video mode something like this.

sf::Window App(sf::VideoMode(200, 200, 32), "SFML Window");   or

sf::Window App(sf::VideoMode::GetDesktopMode(), "SFML Window");
 

No change with that error still appears.

3
General / Crash on startup (2.0 RC) in VideoMode
« on: June 22, 2012, 09:15:08 am »
Hi,

I have a problem when I try to use SFML 2.0 RC with CodeBlocks' newest nightly build and MinGW (GCC 4.7). I installed everything correctly (with the tutorial for the 2.0 version) and I can compile without any errors, but I cannot start the compiled programs. Every program crashes on startup (tried with Windows XP and Windows 7 X64). When I reduce the example program from the tutorial to the following, then I get a segmentation fault in the function VideoMode:

#include <SFML/Graphics.hpp>

int main()
{
    sf::Window App(sf::VideoMode(), "SFML Window");

    return 0;
}

 

Here is my call stack log:

#0 6E182B40   sf::VideoMode::VideoMode(this=0x403064) (D:\developpement\sfml-master\src\SFML\Window\VideoMode.cpp:40)
#1 0040140B   main() (D:\xxx\Programmieren\Projektdateien\Privat\CPP\SFML_Uebung\Quellcode\Test.cpp:6)

Can anybody explain, why that happens? I have no idea what can cause this problem.

Pages: [1]
anything