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

Author Topic: Missing step in SFML and Xcode tutorial (2.1)  (Read 4972 times)

0 Members and 1 Guest are viewing this topic.

aquaglow

  • Newbie
  • *
  • Posts: 15
    • View Profile
Missing step in SFML and Xcode tutorial (2.1)
« on: August 01, 2013, 08:54:19 am »
I just setup XCode and SFML 2.1 (clang version) on my Mac (10.8.4) for the first time, and I think the tutorial misses a step.

If you simply choose the SFML template and then immediately run, you get a compilation error:

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/c++/v1/iosfwd:90:10: 'wchar.h' file not found

To fix it I installed the Command Line Tools package from the Downloads pane in the Xcode preferences (which installs the system headers). I think this issue with separate installation of headers might only exist in recent versions of XCode.

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Re: Missing step in SFML and Xcode tutorial (2.1)
« Reply #1 on: August 01, 2013, 09:40:00 am »
To fix it I installed the Command Line Tools package from the Downloads pane in the Xcode preferences (which installs the system headers). I think this issue with separate installation of headers might only exist in recent versions of XCode.

You're the second user to report such issue. I guess you're right then.  ;)
We will update the tutorial accordingly. Thanks.
SFML / OS X developer

 

anything