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

Author Topic: What minGW version can i use for compiling 1.6 code?  (Read 1487 times)

0 Members and 1 Guest are viewing this topic.

Syntactic Fructose

  • Jr. Member
  • **
  • Posts: 80
  • Overflowing stacks and eating snacks
    • View Profile
What minGW version can i use for compiling 1.6 code?
« on: March 16, 2013, 01:45:11 am »
Trying to learn some SFML for the upcoming release in 2.0, so i've been reading in and setting up the 1.6 files on my laptop to play around with. Only problem is i'm getting this error:

Quote
'undefined reference to '_Unwind_Resume'

which means my compiler and the compiler used to compile 1.6 differ. What version(i use code::blocks) should i grab in order to run SFML code? Thanks!

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11032
    • View Profile
    • development blog
    • Email
Re: What minGW version can i use for compiling 1.6 code?
« Reply #1 on: March 16, 2013, 01:53:14 am »
You should directly start with SFML 2.0. Yes there are differences and yes the SFML 2.0 are not all online yet, but if you start with 1.6 you miss out on quite a few nice features and once you want to switch you will have to relearn everything again.

If really, really, really don't want to use SFML 2.0, then you should recompile SFML 1.6. Getting an old compiler, just to get some very old library to work is the wrong way to go about.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Syntactic Fructose

  • Jr. Member
  • **
  • Posts: 80
  • Overflowing stacks and eating snacks
    • View Profile
Re: What minGW version can i use for compiling 1.6 code?
« Reply #2 on: March 16, 2013, 01:56:46 am »
I've had a ton of trouble with trying to get 2.0 onto VS2010, which is what i'll be using to write a 3d graphical engine with a group of others. My main problem is being inexperienced with any 3rd party libraries, especially building from source code and linking properly. My plan was to wait it out until there are proper tutorials out there for setting up 2.0, thanks for the help.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11032
    • View Profile
    • development blog
    • Email
Re: What minGW version can i use for compiling 1.6 code?
« Reply #3 on: March 16, 2013, 01:59:52 am »
All the tutorials on how to setup the environment are already online and complete.
Besides that, there's the SFML 2.0 RC release which was already compiled for VS2010, so you won't have to build from source.

It might be a pain in the beginning, but it's very, very important to know, how to build libraries and how to use them. ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/