Link error on XOpenDisplay
I've got a very basic C++ harness up and running in KDevelop3.0
However I'm getting a link error "Undefined reference to XOpenDisplay"
I'm linking in libX11.so & libXext.so
Should these libraries contain this function ? When I look at libX11.so it contains a label "XOpenDisplay" but I'm not sure if that's an external label or not. Has anybody got this to link before ?