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.
binutils, bison, cygport, flex, gcc-core, git, meson, ninja, pkg-config, python3, tar
Required protocol headers:
Required development libraries:
libdmx-devel, 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-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-xkb-devel, libxkbfile-devel, zlib-devel
Required miscellaneous packages:
font-util, khronos-opengl-registry, python3-lxml, xtrans
Optional packages for building developer documentation:
docbook-xml43, doxygen, fop, xmlto, xorg-sgml-doctools
Tip: Use setup -q -Ppackagename,packagename,etc. to quickly install the required packages.