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

Author Topic: Mac Libraries[solved]  (Read 1408 times)

0 Members and 1 Guest are viewing this topic.

dejai

  • Guest
Mac Libraries[solved]
« on: July 17, 2010, 12:16:03 am »
Hello I am porting an application written in SFML on a linux platform to mac. With g++ typical LDFLAGS for SFML are -lsfml-audo -lsfml-graphics however when I installed SFML on my mac I noticed that it placed sfml-audio and sfml-graphics in some odd framework paths for use with xcode(which I am not going to use because I have a makefile for the code not an xcode project). I tried simply using absolute paths such as -l/Library/Frameworks/sfml-audio.framework/sfml-audio however g++ complained that it was not a library so I assumed it was not like sfml-audio on Linux based systems. If I could get any information on how to just get the library files for mac that would be great. Cheers.

Needed the -framework flag. Solved.

 

anything