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

Author Topic: Build crashes on Code::Blocks (SFML 2.0)  (Read 4921 times)

0 Members and 1 Guest are viewing this topic.

fgd46gf

  • Newbie
  • *
  • Posts: 3
    • View Profile
Build crashes on Code::Blocks (SFML 2.0)
« on: April 28, 2013, 01:04:34 am »
I'm sure you've seen this topic before, I've decided to switch over from SDL to SFML. I am trying to build SFML 2.0 on Codeblocks, my compiler is MinGW. I tried both "Windows 32 bits - GCC DW2 (11.5 MB)
Windows 32 bits - GCC SJLJ", but I went it's built the window crashes. What do I do

The Terminator

  • Full Member
  • ***
  • Posts: 224
  • Windows and Mac C++ Developer
    • View Profile
Re: Build crashes on Code::Blocks (SFML 2.0)
« Reply #1 on: April 28, 2013, 01:18:21 am »
It would help if you explained what you've done, shown some code, etc. You're not telling us why you're crashing.
Current Projects:
Technoport

fgd46gf

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Build crashes on Code::Blocks (SFML 2.0)
« Reply #2 on: April 28, 2013, 01:48:32 am »

I uploaded a video to show the steps I went through. I now get this error after I build the example code from http://www.sfml-dev.org/tutorials/2.0/start-cb.php

The Terminator

  • Full Member
  • ***
  • Posts: 224
  • Windows and Mac C++ Developer
    • View Profile
Re: Build crashes on Code::Blocks (SFML 2.0)
« Reply #3 on: April 28, 2013, 06:23:57 am »
After googling the error message and clicking on the first page, I got this: http://stackoverflow.com/questions/14889407/the-procedure-entry-point-gxx-personality-sj0-could-not-be-located-in
Why not use google next time?
Current Projects:
Technoport

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10821
    • View Profile
    • development blog
    • Email
AW: Build crashes on Code::Blocks (SFML 2.0)
« Reply #4 on: April 28, 2013, 06:59:35 am »
If you're using GCC 4.7.x then you'll have to recompile SFML. ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

fgd46gf

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Build crashes on Code::Blocks (SFML 2.0)
« Reply #5 on: April 28, 2013, 07:22:24 pm »
Thanks for the helpful posts, I've rebuilt SFML, and copied libstdc++-6.dll into the project folder.

Ivan

  • Newbie
  • *
  • Posts: 32
  • IT geek
    • View Profile
Re: Build crashes on Code::Blocks (SFML 2.0)
« Reply #6 on: April 30, 2013, 11:39:27 pm »
The new official SFML 2.0 release works prefect with Code:Blocks 12.11. Also you can use the SFML Project wizard of C:B 12.