SFML community forums
Help => General => Topic started by: doonholdmichigin 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
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:
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.
-
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.
-
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.
-
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 (http://en.sfml-dev.org/forums/index.php?topic=19105.msg137939#msg137939). ;)
-
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.
-
Just download the latest version and compile it yourself.