沙华 蔓殊 wrote: > All, > > I can't compile geos-3.2.0.tar.bz2 with following commands. > > autogen.bat nmake /f makefile.vc MSVC_VER=1500 > > I use VS 2005 + Sp1 and Wndows xp + Sp3. Please take a look at the > file attached. I got an error. > > CoordinateArraySequenceFactory.obj : error LNK2019: unresolved > external symbol " public: virtual __thiscall > geos::geom::CoordinateSequenceFactory::~CoordinateSeq > uenceFactory(void)" (??1coordinatesequencefact...@geom@geos@@u...@xz) > referenced in function "public: virtual __thiscall > geos::geom::CoordinateArraySequenceFacto > ry::~CoordinateArraySequenceFactory(void)" > (??1coordinatearraysequencefact...@ge o...@geos@@u...@xz) geos_ts_c.obj > : error LNK2001: unresolved external symbol "public: virtual __thi > scall > geos::geom::CoordinateSequenceFactory::~CoordinateSequenceFactory(void)" > ( ??1coordinatesequencefact...@geom@geos@@u...@xz) geos.dll : fatal > error LNK1120: 1 unresolved externals NMAKE : fatal error U1077: > '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\l ink.exe"' : > return code '0x460' Stop. NMAKE : fatal error U1077: '"C:\Program > Files\Microsoft Visual Studio 8\VC\BIN\n make.EXE"' : return code > '0x2' Stop. > > Please give me an advice to solve it. Thanks.
It is a known problem that was reported here: http://trac.osgeo.org/geos/ticket/313 It's been already fixed in the SVN trunk. Simply, add the missing line to source/Makefile.vc file as presented here: http://trac.osgeo.org/geos/changeset/2833 Best regards, -- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org _______________________________________________ geos-devel mailing list geos-devel@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/geos-devel