1
General / Re: SFML installation on Mac OSX Lion with Qt
« on: September 26, 2012, 09:22:29 pm »
This problem is [solved] for me! 
SourceBase.

SourceBase.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
:-1: warning: directory not found for option '-L/usr/local/pgsql/lib'
:-1: warning: directory not found for option '-L/tmp/qt-stuff-85167/source/qt-everywhere-opensource-src-4.8.1/Desktop/Qt/4.8.1/gcc/lib'
:-1: warning: directory not found for option '-F/tmp/qt-stuff-85167/source/qt-everywhere-opensource-src-4.8.1/Desktop/Qt/4.8.1/gcc/lib'
No, hpp files are headers; not dylibs. Read at least the introduction part of the OS X tutorial to fix this confusion.Okay, now I get it, thank you. Next time I'll try to search on my own...
Yes, this is because Apple hides folder like those to prevent regular users to do stupid things with them. Alternatively you can use your Terminal to see all those directories.I made this folder visible, it works a little bit easier.
LIBS += -L"/usr/local/lib" -libsfml-window -libsfml-graphics //etc.
I also used this command:INCLUDEPATH = "/usr/local/include/SFML
LIBS += "/usr/local/lib/libsfml-window"
With this command it seems like the library can be found, because I didn't get errors for it, but I did get another error which was saying : "Symbols not found for architecture x86_64". I googled the error, and what I found were similar problems to my mine : the error was displayed when someone tried to link a library. I didn't found a solution, because it wasn't related with SFML in any of the cases...