26 Oct 2014

Xlib.h not found in ubuntu

X11/Xlib.h not found in Ubuntu
/path/cuberenderer.c:7: /path/include/eglplatform.h:89:22: error: X11/Xlib.h: No such file or directory /path/include/eglplatform.h:90:23: error: X11/Xutil.h: No such file or directory
I'm totally new to GL and have no idea what's wrong.
Create test.cpp: (This will be built and run to verify you got things set up right.)
#include <X11/Xlib.h>

#include <unistd.h>

I'm trying to write a rather trivial program using open gl on linux, but at a compile time it says
Compile thumb : egl <= cuberenderer.c In file included from /path/include/egl.h:36, from 

 o    What Is

No comments:

Post a Comment