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

Author Topic: Crashes on RenderWindow  (Read 2754 times)

0 Members and 2 Guests are viewing this topic.

Zephilinox

  • Newbie
  • *
  • Posts: 43
    • View Profile
Crashes on RenderWindow
« on: August 09, 2012, 05:28:43 pm »
I've tried 're-installing' SFML2 without any luck, it was working for me before. however when cmake failed to compile SFML2 this started happening, I removed SFML completely from the MinGW folder and the folder I used to use for linking, downloaded sfml2-rc, placed it in a folder outside of MinGW, linked it normally, added the .DLL's and this is still happening.

Windows Crash Report:

Problem Event Name:     APPCRASH
  Application Name:     SFML Test Dependency Project.exe
  Application Version:  0.0.0.0
  Application Timestamp:        5023d0a5
  Fault Module Name:    sfml-window-d-2.dll
  Fault Module Version: 0.0.0.0
  Fault Module Timestamp:       4f7e379d
  Exception Code:       c0000005
  Exception Offset:     00002b85
  OS Version:   6.1.7600.2.0.0.256.1
  Locale ID:    2057
  Additional Information 1:     0a9e
  Additional Information 2:     0a9e372d3b4ad19135b953a78882e789
  Additional Information 3:     0a9e
  Additional Information 4:     0a9e372d3b4ad19135b953a78882e789



Ideas?

Oh, and the examples work fine.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11028
    • View Profile
    • development blog
    • Email
Re: Crashes on RenderWindow
« Reply #1 on: August 09, 2012, 05:36:33 pm »
What version of GCC are you using?

Have you downloaded the right package, there are two packages for Windows GCC?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Zephilinox

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: Crashes on RenderWindow
« Reply #2 on: August 09, 2012, 05:48:01 pm »
I'm using 4.7, directly from the MinGW sourceforge page, and Code::Blocks SVN 8120 (or something)

I downloaded Windows 32 bits - GCC SJLJ (Code::Blocks) (15.7 MB)

I tried Windows 32 bits - GCC DW2 (11.5 MB) just now, and same problem.

if you look at the debugger error, it says I'm calling VideoMode with 600, 32, 2 instead of 800, 600, 32.
« Last Edit: August 09, 2012, 05:50:31 pm by Zephilinox »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11028
    • View Profile
    • development blog
    • Email
Re: Crashes on RenderWindow
« Reply #3 on: August 09, 2012, 05:54:57 pm »
You'll have to recompile SFML on your own if you're using GCC 4.7. ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Zephilinox

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: Crashes on RenderWindow
« Reply #4 on: August 09, 2012, 06:02:35 pm »
Ah, thanks, do I just do it normally with cmake? or is there anything extra I need to do?

Compiling it now, thanks for your help, I did have a small problem with cmake but that was because code::blocks added \mingw\ but not \mingw\bin to my PATH, all fixed :D
« Last Edit: August 09, 2012, 06:20:52 pm by Zephilinox »

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Crashes on RenderWindow
« Reply #5 on: August 09, 2012, 06:17:39 pm »
You don't need anything else than the tutorial ;)
Laurent Gomila - SFML developer