Opened 13 years ago
Last modified 13 years ago
#400 closed defect
Geos building issue — at Initial Version
Reported by: | osgalyo | Owned by: | pramsey |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Build/Install | Version: | main |
Severity: | Significant | Keywords: | cmake dll |
Cc: |
Description
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 :
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)