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

Author Topic: CodeBlocks installation trouble  (Read 1649 times)

0 Members and 1 Guest are viewing this topic.

h4tt3n

  • Newbie
  • *
  • Posts: 7
    • View Profile
CodeBlocks installation trouble
« on: August 27, 2011, 01:47:46 pm »
Hello,

I'm having trouble installing SFML for use with my code::blocks IDE. When choosing "create a new project" -> SFML project, the SFML project wizard pops up, but I cannot make it see where I've installed the SFML lib and include folders.

The paths are:

C:\Program Files\CodeBlocks\MinGW\lib
C:\Program Files\CodeBlocks\MinGW\include\SFML

It seems that codeblocks cannot cope with the \SFML part of the include path. Could someone please help mne fix this? Simply copy-pasting the content of the SFML folder into the include folder does not work. Also, is this primarily a SFML-related or CodeBlocks-related problem? The two are clearly intended to be able to work together.

Cheers,
Mike

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
CodeBlocks installation trouble
« Reply #1 on: August 27, 2011, 03:07:08 pm »
Don't use "SFML project", it's buggy. Create an empty project and follow the tutorial.
Laurent Gomila - SFML developer

N1ghtly

  • Jr. Member
  • **
  • Posts: 96
    • View Profile
CodeBlocks installation trouble
« Reply #2 on: August 28, 2011, 12:13:02 am »
And don't forget to save that empty sfml project as a template!

h4tt3n

  • Newbie
  • *
  • Posts: 7
    • View Profile
CodeBlocks installation trouble
« Reply #3 on: August 28, 2011, 07:27:34 pm »
Thanks for the advise, now it runs fine.

 

anything