X11/Xlib.h not found in Ubuntu

后端 未结 4 443
-上瘾入骨i
-上瘾入骨i 2021-01-30 06:09

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 i

4条回答
  •  一整个雨季
    2021-01-30 07:09

    Why not try find /usr/include/X11 -name Xlib.h

    If there is a hit, you have Xlib.h

    If not install it using sudo apt-get install libx11-dev

    and you are good to go :)

提交回复
热议问题