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

Author Topic: sfml-window dll crashes  (Read 3475 times)

0 Members and 1 Guest are viewing this topic.

SirRahbek

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • Email
sfml-window dll crashes
« on: June 27, 2013, 05:35:17 pm »
Hey, i have an odd problem with sfml.  ???
Whenever i try to run the example code posted in the code::blocks tutorial, the app crashes due to a fault in the sfml-window-2.dll. I have tried to compile with both the dw2 and the sjlj version, and the same thing happens every time!
I have double (actually quadruple) checked that i link against the right libraries and all that.
I am using windows7 and MinGW 4.7 in Code::Blocks
Please help, sfml looks to good to give up!  ;D

Zeneus

  • Newbie
  • *
  • Posts: 30
    • View Profile
    • Email
Re: sfml-window dll crashes
« Reply #1 on: June 27, 2013, 05:39:10 pm »
is there any error-text that we can see to get more information?
your program crashes or becomes "not-responding"?
~Zeneus

SirRahbek

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • Email
Re: sfml-window dll crashes
« Reply #2 on: June 27, 2013, 05:46:38 pm »
The application does not even get to open a window, before i get the error "SFMLthing.exe has stopped working"
Problem signature:
  Problem Event Name:   APPCRASH
  Application Name:   SFMLthing.exe
  Application Version:   0.0.0.0
  Application Timestamp:   51cc5540
  Fault Module Name:   sfml-window-2.dll
  Fault Module Version:   0.0.0.0
  Fault Module Timestamp:   51614000
  Exception Code:   c0000005
  Exception Offset:   00002850
  OS Version:   6.1.7600.2.0.0.256.1
  Locale ID:   1030
  Additional Information 1:   8ca1
  Additional Information 2:   8ca1be26aeafc3f5763183c83a027059
  Additional Information 3:   5f33
  Additional Information 4:   5f33e82ea6e8e5dca10a7bb69e50e14f

Zeneus

  • Newbie
  • *
  • Posts: 30
    • View Profile
    • Email
Re: sfml-window dll crashes
« Reply #3 on: June 27, 2013, 05:54:41 pm »
i dont know if im correct.. but something tells me you haven't linked the libraries correctly.. i may be wrong though..
also as stated from eXpl0it3r here http://en.sfml-dev.org/forums/index.php?topic=11537.0
try using the debugger!..

SirRahbek

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • Email
Re: sfml-window dll crashes
« Reply #4 on: June 27, 2013, 06:11:09 pm »
I tried using the debug libraries, and they don't work either..  :-\
From what i can see, the program breaks down when i init a window.
I have tried using the C port of SFML, and that works like a charm! even with the same version of GCC  ???

Zeneus

  • Newbie
  • *
  • Posts: 30
    • View Profile
    • Email
Re: sfml-window dll crashes
« Reply #5 on: June 27, 2013, 06:12:37 pm »
can you send me the exact code you used?  i'll try to debug it and tell you my results..

SirRahbek

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • Email
Re: sfml-window dll crashes
« Reply #6 on: June 27, 2013, 06:20:20 pm »
Do you want the Code::Blocks project, or just the source?
oh, btw. Thank you very much for helping out :)

Zeneus

  • Newbie
  • *
  • Posts: 30
    • View Profile
    • Email
Re: sfml-window dll crashes
« Reply #7 on: June 27, 2013, 06:22:31 pm »
ehmm.. send me the whole project if you like.. (zip?)
not a problem.. the big guys are busy, so i try to help out a little :)

SirRahbek

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • Email
Re: sfml-window dll crashes
« Reply #8 on: June 28, 2013, 11:30:59 am »
I fixed the problem. It turned out not to be a problem with SFML, but inside windows itself   :o
Sorry for the inconvenience  :-[

Zeneus

  • Newbie
  • *
  • Posts: 30
    • View Profile
    • Email
Re: sfml-window dll crashes
« Reply #9 on: June 28, 2013, 02:17:50 pm »
since the problem is solved i guess a moderator should lock this.
:) send me a pm with what you mean "windows problem".. im curious!