Group: LibreDWG/BuildingWithCygwin
m (moved LibreDWG/BuildingWithCygwin to Group:LibreDWG/BuildingWithCygwin: Consistent with rest of wiki namespace) |
Reini urban (talk | contribs) |
||
Line 1: | Line 1: | ||
− | + | 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. | Install Cygwin. | ||
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, | |
− | + | python2-libxml2, swig, help2man, libcrypt-devel'. | |
after installing ''cygwin'', open it and type: | after installing ''cygwin'', open it and type: | ||
Line 18: | Line 19: | ||
</pre> | </pre> | ||
− | I did not find ps-lib package in the cygwin distribution. This package is needed for one of our | + | 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: | Then in order to build, the common procedure would be the usual: | ||
<pre> | <pre> | ||
+ | sh autogen.sh | ||
./configure | ./configure | ||
make | make | ||
− | |||
make check | make check | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
make install | make install | ||
− | |||
− | |||
− | |||
− | |||
− | |||
</pre> | </pre> |
Revision as of 04:17, 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'. 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