Group: LibreDWG/BuildingWithCygwin

From LibrePlanet
Jump to: navigation, search

We regularily smoke against cygwin (32bit) and cygwin64. See https://ci.appveyor.com/project/rurban/libredwg/history

See the .appveyor.yml file for the exact recipes.

Install Cygwin.

In the installer you must open the "devel" list expander and select these packages: 'git, automake, gcc, make, libtool, libxml2, libxml2-devel, libiconv-devel, python2-devel, python2-libxml2, swig, help2man, libcrypt-devel'. after installing cygwin, open it and type:

git clone git://git.savannah.gnu.org/libredwg.git

this will fetch our current development code. Enter the directory with:

cd libredwg

I did not find ps-lib package in the cygwin distribution. This package is needed for one of our example programs, which outputs postcript files from a given dwg.

Then in order to build, the common procedure would be the usual:

sh autogen.sh
./configure
make
make check
make install