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

Author Topic: Getting Errors when installing  (Read 986 times)

0 Members and 1 Guest are viewing this topic.

Chay Hawk

  • Full Member
  • ***
  • Posts: 101
    • View Profile
    • Email
Getting Errors when installing
« on: October 18, 2015, 11:17:34 pm »
I havent had this installed in a year and i forgot completley how to install it, and have spent the greater part of 25 minutes trying.

I have Code Blocks 13.12 MinGW
Windows 10

I downloaded SFML from here: http://www.nightlybuilds.ch/project/show/1/SFML/
Since they are already pre-compiled. I downloaded this version:

Windows   32 bit   MinGW-Builds (492r2) x32   2015-05-19 80214d1cb916ae5f49c63ade4c167369faab9b9e

and put it in my C Drive, it's not in any system folders, i click on my C drive and its right there. I went to compiler>compiler settings, then under the compiler tab i directed it to the include folder, and under the linker tab i directed it to the lib folder. Under Linker Settings I have these in this order

sfml-graphics-s
sfml-window-s
sfml-audio-s
sfml-system-s
freetype
jpeg
openal32
opengl32

and under #defines i put SFML_STATIC

I used the sample code in the code blocks setup tutorial and i get these two errors:

||=== Build: Debug in Pointers (compiler: GNU GCC Compiler) ===|
C:\SFML\lib\libsfml-graphics-s.a(CircleShape.cpp.obj):CircleShape.cpp|| undefined reference to `_Unwind_Resume'|
C:\SFML\lib\libsfml-graphics-s.a(CircleShape.cpp.obj):CircleShape.cpp:(.eh_frame+0x63)||undefined reference to `__gxx_personality_v0'|
||=== Build failed: 2 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
Getting Errors when installing
« Reply #1 on: October 19, 2015, 07:03:09 am »
Your compiler is not from MinGW Builds 4.9.2r2.

Additionally you're missing further dependencies in your linking list. See the latest tutorial again for the full list.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/