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

Author Topic: Program crash on start  (Read 2574 times)

0 Members and 1 Guest are viewing this topic.

Cl9

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • Email
Program crash on start
« on: May 29, 2013, 07:25:28 pm »
Hello, I've recently upgraded SFML to version 2.0 but have been unable to successfully run any compiled programs (the example one, or any other). I'm using MinGW 4.7 32 Bit. I've recompiled SFML, it's set up properly; I've re-done it about 5 times... Everything compiles correctly but as soon as I run the program I get:

Program.exe has stopped working. Debug. Close program. I'm using windows 8 64 Bit.
When I press close program the console says:
Process has returned 255.
If I close the program as soon as it stops responding I get:
Process returned -1073741819 (0xC0000005).

Here's the compile Log:

mingw32-g++.exe   -IC:\Users\..\Desktop\SFML-2.0\include  -c C:\Users\..\Desktop\SFML\Program.cpp -o C:\Users\..\Desktop\SFML\Program.o
mingw32-g++.exe -LC:\Users\..\Desktop\SFML-2.0\lib  -o C:\Users\..\Desktop\SFML\Program.exe C:\Users\..\Desktop\SFML\Program.o  -lgdi32 -lwinmm  -lsfml-graphics -lsfml-window -lsfml-system
Process terminated with status 0 (0 minutes, 3 seconds)
0 errors, 0 warnings (0 minutes, 3 seconds)
 
Checking for existence: C:\Users\..\Desktop\SFML\Program.exe
Executing: C:\Program Files (x86)\CodeBlocks/cb_console_runner.exe "C:\Users\..\Desktop\SFML\Program.exe" (in C:\Users\..\Desktop\SFML)
Process terminated with status 255 (1 minutes, 24 seconds)
 
Checking for existence: C:\Users\..\Desktop\SFML\Program.exe
Executing: C:\Program Files (x86)\CodeBlocks/cb_console_runner.exe "C:\Users\..\Desktop\SFML\Program.exe" (in C:\Users\..\Desktop\SFML)
Process terminated with status -1073741819 (2 minutes, 9 seconds)

 
What could be the problem? I've been trying to figure it out for hours...


EDIT:
I just opened it in a debugger and got:
Unhandled exception at 0x6FC81823 (libstdc++-6.dll) in Program.exe: 0xC0000005: Access violation reading location 0x0000000C.

Is that something to do with a faulty DLL?
« Last Edit: May 29, 2013, 07:46:58 pm by Cl9 »

Cl9

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • Email
Re: Program crash on start
« Reply #1 on: May 29, 2013, 07:54:47 pm »
Ok, yes... It was a faulty dll. I downloaded the latest one. And it worked.

 

anything