SFML community forums
General => General discussions => Topic started by: bradleymeck on September 04, 2010, 11:24:35 pm
-
Hi, I am writing a binding to node.js for sfml and I managed to statically link in the sfml libraries fine, but am getting an error when the result is included using dlopen.
undefined symbol: XOpenDisplay
statically including libX11.a fixed that error, but it seems there is a waterfall of libraries i would have to include to remove all the errors (xcb etc.)
Any suggestions on a way around this?
-
When building a static library, there's no link step. Therefore, you need to link all the external dependencies of SFML to your final application.