Makefile for Mono/Linux

Aug 28, 2006 at 8:16 PM
Hi folks,

I have made a Makefile for building SharpMap on Mono/Linux:

http://salmonsalvo.net/upload/Makefile(SharpMap)

(rename to Makefile). This is tested on mono 1.1.16.1.

I also needed to patch SharpMap to comment out an unimplemented Trace method:

--- Data/Providers/ShapeFile.cs.org 2006-08-28 15:14:54.000000000 +0000
+++ Data/Providers/ShapeFile.cs 2006-08-28 15:15:04.000000000 +0000
@@ -403,7 +403,9 @@
_CoordsysReadFromFile = true;
}
catch(System.Exception ex) {
+#if !MONO
System.Diagnostics.Trace.TraceWarning("Coordinate system file '" + projfile + "' found, but could not be parsed. WKT parser returned:" + ex.Message);
+#endif
throw (ex);
}
}


enjoy,
Scott
Developer
Aug 29, 2006 at 7:20 PM
nice feature:)