[geos-devel] help compiling windows library

Mateusz Loskot mateusz at loskot.net
Fri Nov 22 01:31:18 PST 2013


On 22 November 2013 07:06, Riccardo Cohen <r.cohen at realty-property.com> wrote:
> All compilation went all right, only linking seems to fail. Is there any
> additional option to set in nmake command to show more errors and line
> numbers, I could not find any (I'm not using nmake very often).

I guess, the NMAKE makefiles need to be updated by adding one of recently
added .cpp files to http://svn.osgeo.org/geos/trunk/src/Makefile.vc

If linker fails, then there must be name of "unresolved external symbol"
included in the error message.
This will give you clues what class/function may be missing,
search for it in the GEOS sources tree, check if corresponding
.cpp is in the makefile, add it if it isn't.

That's usually my take on this kind of problems with NMAKE.

p.s. Once you apply necessary update to makefile.vc,
please submit patch to http://trac.osgeo.org/geos/

Best regards,
-- 
Mateusz  Loskot, http://mateusz.loskot.net


More information about the geos-devel mailing list