经原作者修复的geos项目makefile

http://mateusz.loskot.net/2007/11/26/geos-300rc4-and-visual-c/

GEOS 3.0.0rc4 and Visual C++

A few days ago, one of GEOS users reported that he is not able to build GEOS 3.0.0rc4 using Visual C++ compiler. The problem was caused by broken NMAKE makefile included in this package.

Here is package with two files included: makefile.vc and dirlist.mk: geos-3.0.0.rc4-makefile-fix.zip. In order to fix the problem, download this Zip, unpack and copy the two files to the source subdirectory of unpacked GEOS sources tree, overwriting existing makefile.vc. Now, make complete rebuild using Visual C++:

cd source
nmake /f makefile.vc clean
nmake /f makefile.vc

For Visual C++ 2005 (8.0), you it’s a good idea to call nmake as follows:

nmake /f makefile.vc MSVC_VER=1400

If you’ll encounter any GEOS issues, please report them to the brand new GEOS bug tracker: http://trac.osgeo.org/geos/.

2 Responses to “GEOS 3.0.0rc4 and Visual C++”

  1. Zhonghai Says:

    Great, with the fixed makefile, everything works very well. Thanks for the efforts.

  2. mloskot Says:

    I’m glad to heart it. Thanks for reporting the problem!

原文地址:https://www.cnblogs.com/flyingfish/p/1038179.html