[geos-devel] Building Geos with Mingw64 on Win64 error
Theuns Heydenrych
theunsheydenrych at gmail.com
Fri Feb 22 12:11:09 PST 2013
HI i am building geos-3.3.7 on win64 with mingw64, and get the following
error:
mingw32-make[2]: Entering directory 'C:/msys/local/src/geos-3.3.7/src'
C:/msys/bin/sh.exe ../libtool --tag=CXX --mode=link g++ -DGEOS_INLINE
-pedantic -Wall -ansi -Wno-long-long -ffloat-store -g -O2 -release 3.3.7
-no-undefined -o libgeos.la -rpath /usr/local/lib inlines.lo algori
thm/libalgorithm.la geom/libgeom.la geomgraph/libgeomgraph.la index/
libindex.la io/libio.la linearref/liblinearref.la noding/libnoding.laoperation/
liboperation.la planargraph/libplanargraph.la precision/libprecisio
n.la simplify/libsimplify.la util/libutil.la
libtool: link: rm -fr .libs/libgeos.dll.a
libtool: link: g++ -shared -nostdlib
c:/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../x86_64-w64-mingw32/lib/../lib/dllcrt2.o
c:/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../x86_64-w64-mingw
32/lib/../lib/crtbegin.o .libs/inlines.o -Wl,--whole-archive
algorithm/.libs/libalgorithm.a geom/.libs/libgeom.a
geomgraph/.libs/libgeomgraph.a index/.libs/libindex.a io/.libs/libio.a
linearref/.libs/liblinearref.
a noding/.libs/libnoding.a operation/.libs/liboperation.a
planargraph/.libs/libplanargraph.a precision/.libs/libprecision.a
simplify/.libs/libsimplify.a util/.libs/libutil.a -Wl,--no-whole-archive
-Lc:/mingw/bin/..
/lib/gcc/x86_64-w64-mingw32/4.7.2 -Lc:/mingw/bin/../lib/gcc
-Lc:/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../x86_64-w64-mingw32/lib/../lib
-Lc:/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.7.2/../../../..
/lib
-Lc:/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../x86_64-w64-mingw32/lib
-Lc:/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.7.2/../../.. -lstdc++
-lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt -
lpthread -ladvapi32 -lshell32 -luser32 -lkernel32 -liconv -lmingw32 -lgcc_s
-lgcc -lmoldname -lmingwex -lmsvcrt
c:/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../x86_64-w64-mingw32/lib/../lib/crtend.o
-O
2 -o .libs/libgeos-3-3-7.dll -Wl,--enable-auto-image-base -Xlinker
--out-implib -Xlinker .libs/libgeos.dll.a
algorithm/.libs/libalgorithm.a(MCPointInRing.o): In function
`geos::algorithm::MCPointInRing::~MCPointInRing()':
C:\msys\local\src\geos-3.3.7\src\algorithm/MCPointInRing.cpp:66: undefined
reference to `geos::index::bintree::Bintree::~Bintree()'
C:\msys\local\src\geos-3.3.7\src\algorithm/MCPointInRing.cpp:64: undefined
reference to `geos::index::bintree::Interval::~Interval()'
C:\msys\local\src\geos-3.3.7\src\algorithm/MCPointInRing.cpp:64: undefined
reference to `geos::index::bintree::Interval::~Interval()'
algorithm/.libs/libalgorithm.a(MCPointInRing.o): In function
`MonotoneChainSelectAction':
C:\msys\local\src\geos-3.3.7\src\algorithm/../../include/geos/index/chain/MonotoneChainSelectAction.h:54:
undefined reference to `vtable for
geos::index::chain::MonotoneChainSelectAction'
algorithm/.libs/libalgorithm.a(MCPointInRing.o): In function
`geos::algorithm::MCPointInRing::isInside(geos::geom::Coordinate const&)':
C:\msys\local\src\geos-3.3.7\src\algorithm/MCPointInRing.cpp:112: undefined
reference to
`geos::index::bintree::Bintree::query(geos::index::bintree::Interval*)'
algorithm/.libs/libalgorithm.a(MCPointInRing.o): In function
`geos::algorithm::MCPointInRing::testMonotoneChain(geos::geom::Envelope*,
geos::algorithm::MCPointInRing::MCSelecter*,
geos::index::chain::MonotoneChain*)
':
With a lot more to errors to follow
Any ideas how to fix this?
I am using MSys and Mingw64 on Windows7 64 bit.
Regards
Theuns Heydenrych
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geos-devel/attachments/20130222/f6d13294/attachment.html>
More information about the geos-devel
mailing list