Cygwin/X Contributor's Guide
Prev | Chapter 2. Programming | Next

# Prerequisites for Building the Source Code

## Required Packages for Building

Many developer libraries and developer tools are required to build Cygwin/X. Several packages are required in addition to the default packages installed by the Cygwin installer. Following is a list of additional packages that are required to compile Cygwin/X natively in Cygwin. Note that some of these packages are meta packages that will automatically cause several other packages to be selected for installation; do not unselect any of these automatically selected packages.

- Required tools:

  binutils, bison, cygport, flex, gcc-core, git, meson, ninja, pkg-config,

- Required protocol headers:

  windowsdriproto, xorgproto

- Required development libraries:

  libfontenc-devel, libfreetype-devel, libGL-devel, libnettle-devel, libpixman1-devel, libtirpc-devel, libX11-devel, libXRes-devel, libXau-devel, libXaw-devel, libXdmcp-devel, libXext-devel, libXfont2-devel, libXi-devel, libXinerama-devel, libXmu-devel, libXpm-devel, libXrender-devel, libXtst-devel, libxcb-aux-devel, libxcb-composite-devel, libxcb-ewmh-devel, libxcb-icccm-devel, libxcb-image-devel, libxcb-keysyms-devel, libxcb-randr-devel, libxcb-render-devel, libxcb-render-util-devel, libxcb-shape-devel, libxcb-util-devel, libxcb-xfixes-devel, libxcb-xkb-devel, libxcvt-devel, libxkbfile-devel

- Required miscellaneous packages:

  font-util, ImageMagick, khronos-opengl-registry, python3-lxml, xkbcomp-devel, xtrans

- Optional packages for building developer documentation:

  docbook-xml43, doxygen, fop, xmlto, xorg-sgml-doctools

> Tip: Use setup -q -P`packagename`,`packagename`,`etc.` to quickly install the required packages.

Prev | Home | Next
Cygwin/X X Server Architecture | Up | Obtaining the Source Code