1
General / 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)
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)