On Sun, 29 May 2005, Bob Jamison wrote:
Bryce Harrington wrote:
[...]
Actually, this is probably defined under gcc/cygwin, and you might check to find out what Cygwin's flavor is. If you get it to work, please let us know, and we will add another switch for #ifdef CYGWIN.
Actually, the current stable version of gcc (3.3.3) that is used by cygwin is responsible for that build error. It turned out, that, when `cmath' is in the transitive closure of included files, the macro for `isfinite' of `math.h' is undefined... confer the discussion in a mailing-list related to cygwin: URL:http://thread.gmane.org/gmane.os.cygwin.talk/189. I now upgraded to gcc 3.4.1, as suggested solution. The other workaround was to copy the macro definition into the own code -- but I don't think, that this is what header file are not supposed to be for.
After having applied those changes, I had two more build failures. I got two linkage errors in `inkscape/src/nr-svp.cpp' and `inkscape/src/main.cpp'. Following the strategy pointed out in URL:http://geos.refractions.net/pipermail/geos-devel/2005-February/001263.html I was able to avoid any compile errors for the remainder of the make and install process. However inkscape then fails to start and outputs:
Emergency save activated! Emergency save completed. Inkscape will close now. If you can reproduce this crash, please file a bug at www.inkscape.org with a detailed description of the steps leading to the crash, so we can fix it.
I would appreciate the opinion of a developer who actually succeeded to build inkscape for cygwin.
Franz.