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

Author Topic: XOpenDisplay  (Read 2883 times)

0 Members and 1 Guest are viewing this topic.

bradleymeck

  • Newbie
  • *
  • Posts: 3
    • View Profile
XOpenDisplay
« 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?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
XOpenDisplay
« Reply #1 on: September 05, 2010, 10:15:14 am »
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.
Laurent Gomila - SFML developer

 

anything