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

Author Topic: SFML Book, chapter 3 World. Xcode. OS X  (Read 1026 times)

0 Members and 1 Guest are viewing this topic.

nisroc

  • Newbie
  • *
  • Posts: 1
    • View Profile
SFML Book, chapter 3 World. Xcode. OS X
« on: March 08, 2014, 09:17:32 pm »
I'm currently doing chapter 3. in the SFML Game Development book. I followed the book and, the code on the authors github page.

End of chapter, time to compile and enjoy the fruit of my labour. Do a large error message pop up in Xcode. Nope. The window is about to open, I am bursting with anticipation. As soon as I see the dock in OS X expand to make way for the new window, the icon for the window flashes and disappears. And so my brain goes in to debugging mode.

I've tried giving the media files full system paths(the images and the font).
I've even copied the source from the authors github page for the chapter in question.
The most frustrating part? I have no error text to dump

So I'm writing this in hope that some one have had the same problem.

http://ge.tt/4gnUuXP1/v/0 A zip file containing the Xcode project.


it wasn't finding one of the *.png files
« Last Edit: March 08, 2014, 10:02:01 pm by nisroc »

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6286
  • Thor Developer
    • View Profile
    • Bromeon
Re: SFML Book, chapter 3 World. Xcode. OS X
« Reply #1 on: March 09, 2014, 11:34:11 am »
it wasn't finding one of the *.png files
So it works now?
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Re: SFML Book, chapter 3 World. Xcode. OS X
« Reply #2 on: March 09, 2014, 11:46:37 am »
I haven't read the book (yet) but maybe you need to get some specific info on how SFML works on Mac. go read the getting started tutorial.
SFML / OS X developer

 

anything