Linux

To compile on Linux, you will need to have the Xorg and GL (mesa or similar) headers installed (this is not required for running the applications). The specifics will vary from system to system, but the most common requirements are as follows:

  • Debian / Ubuntu:
    libgl1-mesa-dev and xorg-dev
  • Fedora / CentOS:
    libX11-devel, libXcursor-devel, libXrandr-devel, libXinerama-devel, mesa-libGL-devel, and libXi-devel
  • Arch Linux:
    mesa

On a development computer these packages may well already be installed, but if you have compile errors later in this chapter, the first thing to check would be that these packages, or their equivalent for your system, are installed correctly.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.17.81.201