|
From: | Rodrigo Rodrigues da Silva |
Subject: | Re: [libredwg] building under Windows with Cygwin |
Date: | Thu, 17 Dec 2009 11:37:04 -0200 |
I have successfully built LibreDWG in a Windows XP machine today.
But I have had some issues, so here is what I did:
Install Cygwin.
In the installer you must open the "devel" list expander and select these packages:
git, automake, gcc, make, libtool
after installing cygwin, open it and type: 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 exemple programs, which outputs postcript files from a given dwg.
For now, you should edit examples/Makefile.am and remove all references to dwg_ps
Then in order to build, the common procedure would be the usual:
./configureunfortunatelly, for some not yet well know reason, it complained about libtool version.
make
make install
make check
So, to fix that, I did type this command:
autoreconf -i
This recreates the configure script using the currently installed version of libtool (I think - correct me if I'm wrong).
Then you can do this to build:
./configure
make
and this to install the lib:
make install
and then you do this to build the examples:
make check
Happy Hacking!
Felipe "Juca" Sanches
[Prev in Thread] | Current Thread | [Next in Thread] |