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

Author Topic: sfml install issues on Mac os X  (Read 1779 times)

0 Members and 1 Guest are viewing this topic.

noobenjy

  • Newbie
  • *
  • Posts: 21
    • View Profile
sfml install issues on Mac os X
« on: October 16, 2010, 07:18:24 pm »
Hello world
I need sfml for a project, but I can't use it on my MacBook Pro (with mac os x 10.4.11). I installed it successfully by following the tutorial, but whether with Xcode or on Terminal, I've got a problem when I build any cpp file:
- On Xcode : frameworks are found but I've got a build error: "Command /usr/bin/g++-4.0 failed with exit code 1"
(Graphics-based app or Window-based, same result)
- On terminal, an other error :
"/usr/bin/ld: /Library/Frameworks/sfml-graphics.framework/sfml-graphics load command 5 unknown cmd field
collect2: ld returned 1 exit status"
It's the same problem using the other frameworks sfml, only the command number changes.
(I built the file using the following command : g++ -framework sfml-graphics main.cpp -o main)

I think that the issue's not from the installation, which was done successfully, because I had the same problem when I tried to install sdl (still not resolved, by the way), but I don't know where the problem is =(

I'm interested in any idea (and I *really* need to make sfml work on my computer...) :roll:

Thanks a lot (and sorry for my bad english)

Terrydil

  • Jr. Member
  • **
  • Posts: 51
    • View Profile
sfml install issues on Mac os X
« Reply #1 on: October 19, 2010, 06:03:27 pm »
Following the tutorial worked for me.  Which version of SFML are you using?

 

anything