Ticket #400 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Geos building issue

Reported by: osgalyo Owned by: mloskot
Priority: major Milestone:
Component: Build/Install Version: svn-trunk
Severity: Significant Keywords: cmake dll
Cc:

Description (last modified by mloskot) (diff)

I got the source from  http://svn.osgeo.org/geos/trunk/ (revision 3270) and I have used CMake to generate the VS solution. As I have to build the project geos_c, I have an error, see below :

-------------Configuration: geos_c - Debug|Win32-------------
Compiling...
geos_c.cpp
geos_ts_c.cpp
H:\ProgramFiles\geos\geos\capi\geos_ts_c.cpp(873) : warning C4127: l'expression conditionnelle est une constante
Compiling manifest to resources...
Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
Copyright (C) Microsoft Corporation.  All rights reserved.
Linking...
   Création de la bibliothèque H:\ProgramFiles\geos\geos\buildGeos\lib\Debug\geos_c.lib et de l'objet H:\ProgramFiles\geos\geos\buildGeos\lib\Debug\geos_c.exp
geos_ts_c.obj : error LNK2001: symbole externe non résolu "public: static class geos::algorithm::BoundaryNodeRule const & const geos::algorithm::BoundaryNodeRule::MONOVALENT_ENDPOINT_BOUNDARY_RULE" (?MONOVALENT_ENDPOINT_BOUNDARY_RULE@BoundaryNodeRule@algorithm@geos@@2ABV123@B)
geos_ts_c.obj : error LNK2001: symbole externe non résolu "public: static class geos::algorithm::BoundaryNodeRule const & const geos::algorithm::BoundaryNodeRule::MULTIVALENT_ENDPOINT_BOUNDARY_RULE" (?MULTIVALENT_ENDPOINT_BOUNDARY_RULE@BoundaryNodeRule@algorithm@geos@@2ABV123@B)
geos_ts_c.obj : error LNK2001: symbole externe non résolu "public: static class geos::algorithm::BoundaryNodeRule const & const geos::algorithm::BoundaryNodeRule::ENDPOINT_BOUNDARY_RULE" (?ENDPOINT_BOUNDARY_RULE@BoundaryNodeRule@algorithm@geos@@2ABV123@B)
geos_ts_c.obj : error LNK2001: symbole externe non résolu "public: static class geos::algorithm::BoundaryNodeRule const & const geos::algorithm::BoundaryNodeRule::MOD2_BOUNDARY_RULE" (?MOD2_BOUNDARY_RULE@BoundaryNodeRule@algorithm@geos@@2ABV123@B)
H:\ProgramFiles\geos\geos\buildGeos\bin\Debug\geos_c.dll : fatal error LNK1120: 4 externes non résolus

Error executing link.exe (tool returned code: 1120)

geos_c - 5 error(s), 1 warning(s)

Change History

Changed 2 years ago by mloskot

  • keywords cmake dll added
  • owner changed from pramsey to mloskot
  • status changed from new to assigned
  • description modified (diff)

Changed 2 years ago by mloskot

It is a known issue related to DLL exports. I'll try to find solution.

Changed 2 years ago by mloskot

  • status changed from assigned to closed
  • resolution set to fixed

Temporarily fixed in trunk (r3364)

Note: See TracTickets for help on using tickets.