#394 closed defect (fixed)
Error compiling geos trunk
Reported by: | aperi2007 | Owned by: | mloskot |
---|---|---|---|
Priority: | major | Milestone: | 3.3.0 |
Component: | Core | Version: | main |
Severity: | Significant | Keywords: | |
Cc: |
Description
Hi,
try-ing to compile trunk with VC I see this error:
unfortunately the logs are in italian and I don't know how to have a english reports.
D:\archivio\progetti\GFossProjects\GEOS\svn\include\geos/geom/BinaryOp.h(241) : error C2039: 'TopologyException': non è un membro di 'geos::geom::util' D:\archivio\progetti\GFossProjects\GEOS\svn\src\geom\Geometry.cpp(589): vedere il riferimento all'istanza del modello di funzione 'std::auto_ptr<_Ty> ge os::geom::BinaryOp<geos::operation::overlay::overlayOp>(const geos::geom::Geomet ry *,const geos::geom::Geometry *,BinOp)' in corso di compilazione with [ _Ty=geos::geom::Geometry, BinOp=geos::operation::overlay::overlayOp ] D:\archivio\progetti\GFossProjects\GEOS\svn\include\geos/geom/BinaryOp.h(241) : error C2065: 'TopologyException': identificatore non dichiarato D:\archivio\progetti\GFossProjects\GEOS\svn\include\geos/geom/BinaryOp.h(241) : error C2146: errore di sintassi: ';' mancante prima dell'identificatore 'origExc eption' D:\archivio\progetti\GFossProjects\GEOS\svn\include\geos/geom/BinaryOp.h(241) : error C2065: 'origException': identificatore non dichiarato D:\archivio\progetti\GFossProjects\GEOS\svn\include\geos/geom/BinaryOp.h(253) : error C2039: 'TopologyException': non è un membro di 'geos::geom::util' D:\archivio\progetti\GFossProjects\GEOS\svn\include\geos/geom/BinaryOp.h(253) : error C4430: identificatore di tipo mancante, verrà utilizzato int. Nota: defaul t-int non è più supportato in C++ D:\archivio\progetti\GFossProjects\GEOS\svn\include\geos/geom/BinaryOp.h(253) : error C2143: errore di sintassi: ',' mancante prima di '&' D:\archivio\progetti\GFossProjects\GEOS\svn\include\geos/geom/BinaryOp.h(255) : error C2065: 'origException': identificatore non dichiarato D:\archivio\progetti\GFossProjects\GEOS\svn\include\geos/geom/BinaryOp.h(255) : error C2065: 'ex': identificatore non dichiarato D:\archivio\progetti\GFossProjects\GEOS\svn\include\geos/geom/BinaryOp.h(309) : error C2039: 'TopologyException': non è un membro di 'geos::geom::util' D:\archivio\progetti\GFossProjects\GEOS\svn\include\geos/geom/BinaryOp.h(309) : error C2873: 'TopologyException': il simbolo non può essere utilizzato in una di chiarazione using D:\archivio\progetti\GFossProjects\GEOS\svn\include\geos/geom/BinaryOp.h(314) : error C3861: 'TopologyException': identificatore non trovato D:\archivio\progetti\GFossProjects\GEOS\svn\include\geos/geom/BinaryOp.h(324) : error C2039: 'TopologyException': non è un membro di 'geos::geom::util' D:\archivio\progetti\GFossProjects\GEOS\svn\include\geos/geom/BinaryOp.h(324) : error C4430: identificatore di tipo mancante, verrà utilizzato int. Nota: defaul t-int non è più supportato in C++ D:\archivio\progetti\GFossProjects\GEOS\svn\include\geos/geom/BinaryOp.h(324) : error C2143: errore di sintassi: ',' mancante prima di '&' D:\archivio\progetti\GFossProjects\GEOS\svn\include\geos/geom/BinaryOp.h(326) : error C2065: 'ex': identificatore non dichiarato D:\archivio\progetti\GFossProjects\GEOS\svn\include\geos/geom/BinaryOp.h(354) : error C2039: 'TopologyException': non è un membro di 'geos::geom::util' D:\archivio\progetti\GFossProjects\GEOS\svn\include\geos/geom/BinaryOp.h(354) : error C4430: identificatore di tipo mancante, verrà utilizzato int. Nota: defaul t-int non è più supportato in C++ D:\archivio\progetti\GFossProjects\GEOS\svn\include\geos/geom/BinaryOp.h(354) : error C2143: errore di sintassi: ',' mancante prima di '&' D:\archivio\progetti\GFossProjects\GEOS\svn\include\geos/geom/BinaryOp.h(356) : error C2065: 'ex': identificatore non dichiarato D:\archivio\progetti\GFossProjects\GEOS\svn\include\geos/geom/BinaryOp.h(462) : error C2065: 'origException': identificatore non dichiarato NMAKE : fatal error U1077: 'C:\PROGRA~2\MICROS~1.0\VC\bin\cl.exe' : codice resti tuito '0x2' Stop. NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 9.0\ VC\BIN\nmake.exe"' : codice restituito '0x2' Stop. NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 9.0\ VC\BIN\nmake.exe"' : codice restituito '0x2' Stop.
Change History (3)
comment:1 by , 13 years ago
Owner: | changed from | to
---|---|
Severity: | Unassigned → Significant |
Status: | new → assigned |
comment:2 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 by , 13 years ago
sorry I forget to report the compiler..
I use cmake to generate a nmake version for VC2008.
Note:
See TracTickets
for help on using tickets.
Thanks for reporting. Fixed in trunk r3207
If I may suggest something, it is a good idea to include details about exact compiler version as well as mention how you build GEOS (e.g. using CMake, your own project files, etc.).