Opened 13 years ago
Closed 13 years ago
#400 closed defect (fixed)
Geos building issue
Reported by: | osgalyo | Owned by: | mloskot |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Build/Install | Version: | main |
Severity: | Significant | Keywords: | cmake dll |
Cc: |
Description (last modified by )
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 (3)
comment:1 by , 13 years ago
Description: | modified (diff) |
---|---|
Keywords: | cmake dll added |
Owner: | changed from | to
Status: | new → assigned |
comment:2 by , 13 years ago
comment:3 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Temporarily fixed in trunk (r3364)
Note:
See TracTickets
for help on using tickets.
It is a known issue related to DLL exports. I'll try to find solution.