Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#831 closed defect (fixed)

error LNK2019: unresolved external symbol "double __cdecl geos::util::java_math_round(double)"

Reported by: strk Owned by: geos-devel@…
Priority: major Milestone:
Component: Default Version: main
Severity: Unassigned Keywords: appveyor
Cc: mloskot

Description

Appveyor started failing with this message

error LNK2019: unresolved external symbol "double __cdecl geos::util::java_math_round(double)"

Since changeset:f825b410/git

It's odd, because the appveyor report on the corresponding PR was fine: https://github.com/OSGeo/geos/pull/83

Any idea, Mat ?

Change History (3)

comment:1 by strk, 7 years ago

Cc: mloskot added

comment:2 by Mateusz Łoskot <mateusz@…>, 7 years ago

Resolution: fixed
Status: newclosed

In 5a730fc/git:

Avoid use of internal geos/util/math.h

Copy java_math_round geos/util/math.cpp to xmltester.cpp.
Declared functions are internal to the library
and not included in GEOS shared library exports.

Fixes #831

comment:3 by Mateusz Łoskot <mateusz@…>, 7 years ago

In 05ae13d/git:

Avoid use of internal geos/util/math.h

Copy java_math_round geos/util/math.cpp to xmltester.cpp.
Declared functions are internal to the library
and not included in GEOS shared library exports.

Fixes #831

Note: See TracTickets for help on using tickets.