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

Author Topic: SFML version to use?  (Read 3819 times)

0 Members and 1 Guest are viewing this topic.

doonholdmichigin

  • Guest
SFML version to use?
« on: April 08, 2016, 07:45:17 pm »
hello, nice forum you have, sorry for the bother with a newbie question I am somewhat confused here,

I use codeblocks and it is version 16.01 it says it comes with
Quote
The codeblocks-16.01mingw-setup.exe file includes additionally the GCC/G++ compiler and GDB debugger from TDM-GCC (version 4.9.2, 32 bit, SJLJ).

But windows download for codeblocks shows:
Quote
GCC 4.9.2 MinGW (DW2) - 32-bit
I googled it before, it is the design of SFML that must use DW2 or something to do with choosing a new license? not sure, however I have questions,

which SFML version is recommended to use currently with codeblocks GCC?
or I guess my question is rather, why have 3 different version uses of version SFML 2.3.2 with GCC 4.7.1 TDM (SJLJ), GCC 4.8.1 TDM (SJLJ), and then GCC 4.9.2 MinGW (DW2),
which is recommended? Im sure I can figure out how to set up codeblocks to use this DW2, I assume it is a standalone build of GCC perhaps? it probably doesnt rely on some architechure of design in how it works compared to SJLJ? I will study it but I wanted to know who recommends what as I like to use the newest version of codeblocks which sadly use TDM version of GCC 4.9.2 (SJLJ)

anyway, from what I can seem, perhaps this is for those who wish to distance themself from TDM compiler version for GCC? Hmm, MinGW?

I apologise if this question is bothersome, thank you very much.

Spirro

  • Jr. Member
  • **
  • Posts: 66
    • View Profile
Re: SFML version to use?
« Reply #1 on: April 08, 2016, 07:57:00 pm »
I am unfamiliar with which version you would download for the GCC that is distributed with Code Blocks, but since you have GCC already installed you can compile it yourself and it will work just fine.  To compile look here:
http://www.sfml-dev.org/tutorials/2.3/compile-with-cmake.php

To make sure you compiled it right look here:
http://www.sfml-dev.org/tutorials/2.3/start-cb.php

to see how to set Code Blocks up to use SFML.

doonholdmichigin

  • Guest
Re: SFML version to use?
« Reply #2 on: April 08, 2016, 08:06:56 pm »
thank you, I agree I will just use the GCC version that works and make codeblocks change gcc compiler to link to for compiling. should be easy enough.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: SFML version to use?
« Reply #3 on: April 08, 2016, 08:30:22 pm »
Unfortunately we still don't have pre-built binaries for the new TDM compiler that ships with the new Code::Blocks version.

As for the explanation of the MinGW confusion, see my other post. ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

doonholdmichigin

  • Guest
Re: SFML version to use?
« Reply #4 on: April 08, 2016, 08:36:11 pm »
ahhh it makes alot more sense, ok thank you i see now why. I will work now to add this standalone gcc install for 4.9.2 DW2 into default codeblocks settings and compile. before trying to compile the SFML myself if I need.

Jesper Juhl

  • Hero Member
  • *****
  • Posts: 1405
    • View Profile
    • Email
Re: SFML version to use?
« Reply #5 on: April 09, 2016, 12:40:37 am »
Just download the latest version and compile it yourself.

 

anything