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

Author Topic: Deploy SFML - OS X Xcode  (Read 2563 times)

0 Members and 1 Guest are viewing this topic.

gliderkite

  • Newbie
  • *
  • Posts: 4
    • View Profile
Deploy SFML - OS X Xcode
« on: December 08, 2014, 04:38:08 pm »
I'm developing a simple game by using XCode 6, starting from SFML (v2.1) template (binaries Framework - window, graphics and audio module).

It runs correctly on my mac, but I'm unable to deploy the game itself; that is if I try to run the same program - with related audio/graphics resources (sounds, images...) - on another mac without the SFML SDK installed it doesn't work (obviously).

I'm aware that it needs some embedded binaries, but I don't know exactly which binaries I have to put on the same directory, and where to find them.

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Re: Deploy SFML - OS X Xcode
« Reply #1 on: December 08, 2014, 05:49:45 pm »
What's wrong with the Xcode templates to create a SFML App? (not a SFML CLT) Have you read the tutorial thoroughly?
SFML / OS X developer

gliderkite

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Deploy SFML - OS X Xcode
« Reply #2 on: December 08, 2014, 06:16:04 pm »
What's wrong with the Xcode templates to create a SFML App? (not a SFML CLT) Have you read the tutorial thoroughly?

Actually I used the SFML CLT (console) template.
Is this a problem?

Should I use the SFML App template in order to deploy the application without any trouble related to any embedded library dependencies?

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Re: Deploy SFML - OS X Xcode
« Reply #3 on: December 08, 2014, 06:18:40 pm »
Please read the tutorial. Everything is explained.
SFML / OS X developer

gliderkite

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Deploy SFML - OS X Xcode
« Reply #4 on: December 08, 2014, 06:49:10 pm »
Please read the tutorial. Everything is explained.


Please, can you link me the right tutorial and highlight the section where it is explained?

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Re: Deploy SFML - OS X Xcode
« Reply #5 on: December 08, 2014, 07:18:13 pm »
Here: http://sfml-dev.org/tutorials/2.1/start-osx.php#create-your-first-sfml-program reading this last section should make things clearer.
SFML / OS X developer

gliderkite

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Deploy SFML - OS X Xcode
« Reply #6 on: December 10, 2014, 01:34:20 pm »
Thanks, this worked for me. Anyway I don't understand what are the embedded libraries I have to add if I need to deploy the Console project.

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Re: Deploy SFML - OS X Xcode
« Reply #7 on: December 10, 2014, 06:14:44 pm »
Well, everything you're using and their dependencies.. Have a look at the script installed in your new project if you want to know how it works. Reading Apple's doc can be also very instructive.
SFML / OS X developer

 

anything