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

Author Topic: CodeBlocks(MinGW 4.7.1) And SFML-1.6  (Read 2750 times)

0 Members and 1 Guest are viewing this topic.

Riper97

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
CodeBlocks(MinGW 4.7.1) And SFML-1.6
« on: February 13, 2013, 11:12:39 pm »
The problem is i have Code Blocks 12.11 which has MinGW GCC 4.7.1

And since i think the new SFML 2.0 is crap ( No Offense ) , here i will explain why. Because lots of funcs i know and love are gone , Such as Text and FONT , i can't find one god damn tut that.

SFML 1.6 : The Tutorials are very nice , and are good arranged

So i got two options that i need help with:
1. Can someone help me Rebuild (since i don't know how) SFML 1.6 for Code Blocks 12.11 (MinGW 4.7.1) , i got CMake... Now i need a little help.

2. Replace GCC 4.7.1 with 4.4.1 , where i prefer option 1 ...

3. If you have SFML-1.6 for MinGW 4.7.1 Please Share It :)

So i will appreciate your Help very MUCH!

Please Help Me Rebuild SFML-1.6 Fast ! :) i tried but got to few errors (tried about 5 times so i can't tell you which error :( )

Edit: Added Option 3 & Name Change :D
                                                     SFML-1.6(MinGW 4.7.1)
« Last Edit: February 13, 2013, 11:16:12 pm by Riper97 »

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: CodeBlocks(MinGW 4.7.1) And SFML-1.6
« Reply #1 on: February 13, 2013, 11:19:28 pm »
Nothing is gone, or at least nothing that can't easily be replaced. Seriously, you should spend more time learning SFML 2 before saying its crap.

The tutorials for sfml-graphics are not online yet, but there's the online doc, the examples sources, the forum, the wiki, etc. I don't think it is impossible to switch to SFML 2; in fact almost everybody here has already done it.

To build SFML 1.6 with Code::Blocks, you just need to add its path to the PATH environment variable, and then run the build script that I provide. If you have errors please share them so that we can help you.
Laurent Gomila - SFML developer

Riper97

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
Re: CodeBlocks(MinGW 4.7.1) And SFML-1.6
« Reply #2 on: February 13, 2013, 11:27:58 pm »
At first i apologize for calling it crap , I just preffer to use SFML-1.6 . :)

Code::Blocks Directory: C:\CodeBlocks

Here is the Result



Edit: My Mistake didn't read properly :( ,  Kinda in a hurry so don't judge me wrong :D , deleted few other stuff i wrote
« Last Edit: February 13, 2013, 11:33:09 pm by Riper97 »

FRex

  • Hero Member
  • *****
  • Posts: 1848
  • Back to C++ gamedev with SFML in May 2023
    • View Profile
    • Email
Re: CodeBlocks(MinGW 4.7.1) And SFML-1.6
« Reply #3 on: February 13, 2013, 11:30:40 pm »
SFML 2.0 uses camelCase
Text.SetSize(50);
Quote
PascalCase
camelCase
I wonder what we are missing here... that's a tough one to solve.  :-\
Not really.. 2.0 switched to start function names with small letter and the DOCUMENTATION is 100% accurate because it's doxygen, code is there, it gets documented for sure
Back to C++ gamedev with SFML in May 2023

Riper97

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
Re: CodeBlocks(MinGW 4.7.1) And SFML-1.6
« Reply #4 on: February 14, 2013, 11:05:12 am »
So can someone help me rebuild SFML 1.6 ? i tried but it didn't work, when i open a project i still get Test.exe has stopped working :(

Foaly

  • Sr. Member
  • ****
  • Posts: 453
    • View Profile
Re: CodeBlocks(MinGW 4.7.1) And SFML-1.6
« Reply #5 on: February 14, 2013, 11:59:14 am »
You should REALLY consider using SFML 2.0! SFML 1.6 has not been touched in over 3 years. It contains some serious bugs (like the ATI bug) that will never be fixed. Also it lacks some awesome features that have been added to version 2.0. For example the new graphics API, renderTextures (FBO's) or vertex array's. SFML 2.0 is in the RC state for over a year, which means it's stable and safe to use. Sooner or later you'll have to switch to 2.0 anyway... If you sit down and spend a little time reading the doc and use your knowledge on 1.6 or the 1.6 tutorials it is fairly easy to use SFML 2.0
If you still want to compile 1.6 look at the bottom of the 1.6 Code::Blocks tutorial everything is explained there.

Riper97

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
Re: CodeBlocks(MinGW 4.7.1) And SFML-1.6
« Reply #6 on: February 14, 2013, 12:18:01 pm »
Okay i will switch to SFML-2.0  :)