Opened 15 years ago

Last modified 6 years ago

#224 closed enhancement

Need to compile the libGeos using Sun Studio12 on Solaris10 — at Initial Version

Reported by: satyajitt Owned by: mloskot
Priority: blocker Milestone: GEOS Fund Me
Component: Core Version: main
Severity: Significant Keywords: sun, solaris, sparc
Cc: satyajit.tripathi@…, varun@…, rroliver

Description

We are trying to compile the libGeos using Sun Studio12 (thats the need). Any help with the below would be appreciated. Thanks in advance.

In ConvexHull.cpp:

1) Line 272, sort(pts.begin(), pts.end(), RadiallyLessThen(pts[0])); Name-space std missing std::sort(pts.begin(), pts.end(), RadiallyLessThen(pts[0]));

2) Line 167, dest.erase( unique(dest.begin(),dest.end()), dest.end() ); Name-space std missing dest.erase( std::unique(dest.begin(),dest.end()), dest.end() );

3) After these changes, the following error appears:

CC: Warning: Option -Wall passed to ld, if ld is invoked, ignored otherwise CC: Warning: Option -ansi passed to ld, if ld is invoked, ignored otherwise CC: Warning: Option -pedantic passed to ld, if ld is invoked, ignored otherwise CC: Warning: Option -Wno-long-long passed to ld, if ld is invoked, ignored otherwise "../../source/headers/geos/platform.h", line 59: Warning: #warning "Could not find 64bit integer definition!". "../../source/headers/geos/geom/Coordinate.inl", line 140: Warning: Shift count is too large. "ConvexHull.cpp", line 122: Warning: inputPts hides geos::algorithm::ConvexHull::inputPts. "ConvexHull.cpp", line 161: Warning: inputPts hides geos::algorithm::ConvexHull::inputPts. "ConvexHull.cpp", line 210: Error: Could not find a match for std::vector<const geos::geom::Coordinate*>::assign(rwstd::rb_tree<const geos::geom::Coordinate*, const geos::geom::Coordinate*, rwstd::ident<const geos::geom::Coordinate*, const geos::geom::Coordinate*>, geos::geom::CoordinateLessThen, std::allocator<const geos::geom::Coordinate*>>::const_iterator, rwstd::rb_tree<const geos::geom::Coordinate*, const geos::geom::Coordinate*, rwstd::ident<const geos::geom::Coordinate*, const geos::geom::Coordinate*>, geos::geom::CoordinateLessThen, std::allocator<const geos::geom::Coordinate*>>::const_iterator) needed in geos::algorithm::ConvexHull::reduce(std::vector<const geos::geom::Coordinate*>&). 1 Error(s) and 4 Warning(s) detected. * Error code 1 make: Fatal error: Command failed for target `ConvexHull.lo'

Unable to build on either x86, amd64 or SPARC

Change History (0)

Note: See TracTickets for help on using tickets.