Group: LibreDWG/BuildingWithCygwin

From LibrePlanet
< Group:LibreDWG
Revision as of 05:18, 25 June 2018 by Reini urban (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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, pcre2'. 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