Where is the X11 Library

Asked by Kim Lyon

I am trying to access the X Windows GDI functions . Am using Code::Blocks .

The include :-

#include <X11/Xlib.h>

is being picked up ok. but the linkage is not succeeding :-

/home/kim/Projects/FrontEnd/FrontEnd_Module_Linux/Main.cxx|53|undefined reference to `XOpenDisplay'

etc. .

It looks like it needs a library specified . The question is what is the name of the library and where is it located ?

Many Thanks

Kim Lyon

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Kim Lyon
Solved:
Last query:
Last reply:
Revision history for this message
Kim Lyon (kim-lyon) said :
#1

/usr/lib/libX11.a
/usr/lib/libxcb.a
/usr/lib/libXau.a
/usr/lib/libXdmcp.a