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

Author Topic: Installing SFML  (Read 2037 times)

0 Members and 1 Guest are viewing this topic.

654kj

  • Newbie
  • *
  • Posts: 2
    • View Profile
Installing SFML
« on: July 05, 2016, 08:45:21 am »
I downloaded and installed codeblocks-16.01mingw-setup.exe from http://www.codeblocks.org/downloads/26. On the same page, you can read

Quote
NOTE: 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 on this page http://www.sfml-dev.org/download/sfml/2.3.2/ of the SFML and Code::Blocks (MinGW) tutorial there's no GCC 4.9.2 TDM (SJLJ) - 32-bit. At the bottom of the frame there's this:

Quote
Here are links to the specific MinGW compiler versions used to build the provided packages: [...].

I don't know what to make of all this. I have no experience in programming besides some MATLAB and I just want to install SFML in the most straightforward way. Is there any dumb proof mode to do so and just start programming?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: Installing SFML
« Reply #1 on: July 05, 2016, 12:41:24 pm »
Yes, the official release builds have no package for the MinGW 4.9.2 compiler that is shipped with the latest Code::Blocks version.

The best way to go about it is to build SFML on your own with CMake. Learning how to build libraries is essential when developing in C++.
Alternatively you can take a snapshot build from master which we've already switch to MinGW 4.9.2 that is shipped with Code::Blocks.

Since you say you're new to most of these things, I highly recommend you get yourself familiar with what a compiler is, what a linker is and how everything around that works.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

654kj

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Installing SFML
« Reply #2 on: July 05, 2016, 09:13:50 pm »
Thank you for your answer. I'll consider both possibilities; so, for reference, which file from the link you've provided do I have to download?

 

anything