[Liblas-devel] Building the .net/mono bindings

Howard Butler hobu.inc at gmail.com
Thu Aug 14 23:29:46 EDT 2008


Martin,

libLAS officially supports autotools for *nix and nmake for windows as  
build environments.  Any code that is committed will need to build  
with both of these tools in order to be included in any binary  
distributions that will be made (I currently plan to target OSGeo4W  
for a Windows build and let the *nix packagers pick up the library for  
any other distributions).  Additionally, *I* will not support msvc  
project files, so if a user came with a build complaint, I would  
immediately forward it to you.

Please write a makefile.vc file similar to the GDAL one for the C#  
bindings <http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/csharp/makefile.vc 
 > and place it in the csharp directory.  You can see that this  
makefile uses csc to build the c# components, uses sn to sign the dll,  
and defines the linkage between the bindings dlls (pinvoke stuff) and  
the pure C# code.  Please move your project file that is currently in  
the csharp directory to the build/msvc80 directory and include it in  
the project(s) there as appropriate.  Make sure to test that  
everything builds correctly before committing any code.

If you are not a linux developer, I can help with the autotools  
stuff.  Let me know.

Howard




More information about the Liblas-devel mailing list