Group: LibreDWG/BuildingWithCygwin

From LibrePlanet
Jump to: navigation, search
 
Line 1: Line 1:
 
We regularily smoke against cygwin (32bit) and cygwin64. See https://ci.appveyor.com/project/rurban/libredwg/history
 
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.
+
See the `.appveyor.yml` file for the exact recipes.
  
 
Install Cygwin.
 
Install Cygwin.
Line 6: Line 6:
 
In the installer you must open the "devel" list expander and select these packages:
 
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,  
 
'git, automake, gcc, make, libtool, libxml2, libxml2-devel, libiconv-devel, python2-devel,  
python2-libxml2, swig, help2man, libcrypt-devel'.
+
python2-libxml2, swig, help2man, libcrypt-devel, pcre2'.
 
after installing ''cygwin'', open it and type:
 
after installing ''cygwin'', open it and type:
  

Latest revision as of 05:18, 25 June 2018

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