I want to be able to set up my Ubuntu pc for quick and easy Xlib programming. I have tried on numberous occasions. I would like to be able to open eclipse and write in Xlib as easy as it would be to write using any other standard c librarires.Eclipse always tells me there is a problem with the program --from unresolved functions to errors that are impossible to fix. Even when there are no errors the program still won't compile. Please help. I am a beginner. Every time i open eclipse i believe i have to open settings and include the xlib directory (/usr/include).