Linking SFML

Started by
0 comments, last by boogyman19946 12 years, 3 months ago
Using osx, emacs and sfml.

How do I link the sfml libraries (not sure of the file type, osx just says they're executables, but doesn't say dll or anything) when they are just lying in some folder. I don't want to install the sfml files to some random place and have it magically work with xcode or anything. I want to use emacs and a makefile and I want to put the libraries wherever I want and not edit any path variables.

Also, is there any tutorial about linking in C++ so I could understand these strange incantations that I need to type?
Advertisement
I believe you need to pass those libraries to the linker as arguments. If you really want to learn how to do it, you should read your linker's manual. I imagine you are probably using gcc and ld since OSX is built a lot like linux.

Yo dawg, don't even trip.

This topic is closed to new replies.

Advertisement