Hello all.
I'm trying to statically link to SFML 1.6 on Ubuntu. I'm using GCC with the Code::Blocks IDE.
I have built both static and dynamic builds of SFML. Linking with the dynamic version works fine, but linking with the static version brings up all sorts of linker errors... as if I were failing to link to some other necessary libraries.
Some friends of mine on IRC were giving me some help. One of them gave me to a link to a blog which seemed to suggest that I would have to
find and dynamically link to all of sfml's dependencies.
Here is the link they gave me:
http://indicium.us/site_blog/2010/03/gccg-mixed-static-and-dynamic-linking.htmlObviously this is not ideal.
Is that really necessary? Can't I just statically link to SFML, but still have SFML dynamically link to all its dependencies? Surely something so basic can't be all that complicated (then again... this is Linux so you never know)