[Liblas-devel] .net/mono bindings in c#

Martin Rodriguez mrodriguez at stereocarto.com
Thu Aug 14 03:24:12 EDT 2008


Hi:


> - I try create a tutorial in c# but trac don´t recognize the c#
> syntax. I try use it like cpp syntax, but it´doesn´t work either,...

>  I've fixed it to color syntax as for C++

I try it but I did´t get it, thank you so much!!!

> code in my localhost computer. My idea is check in the hole svn source > >
> trunk
> and after only commmit my source code in the csharp folder. 

> I'm sorry, but I'm having troubles to catch what is the problem/question
> here.

Sorry, i didn´t find a place in the SVN where check in  my code, but we have
the csharp folder. Thank you.




> Martin, are you going to add your .NET/Mono stuff to the official
> building configuration for Linux (configure.ac + Makefile.am files) and
> for Windows (nmake.opt + makefile.vc files) ?

Nmake for .NET????

C# don´t need c or c++ code to create bindings. It´s totally different from
ruby or python bindings where you have a CAPI to add methods, classes, and
so.

In .net and mono you create a .NET DLL independent of native shared
libraries using the pinvoke system.
http://msdn.microsoft.com/en-us/magazine/cc164123.aspx

Perhaps you can see c++ bindings for .NET, but they are c++ managed (the
same that c#), not c++ native.


I have seen the tarballs of several .NET and mono bindings like sqlite,
postgree, opengl, etc and they only have visual c# projects.
http://sqlite.phxsoftware.com/
http://pgfoundry.org/projects/npgsql
http://www.taoframework.com/

This 3 project use only the c# programming language to create the bindings.



In the .NET and MONO communities people use vc# projects and monodevelop and
shardevelop can open this projects:
http://www.monodevelop.com/Main_Page
http://sharpdevelop.net/OpenSource/SD/Default.aspx

.NET/MONO EXEs and DLLs are 100% portables without a problem.
 http://www.mono-project.com/Supported_Platforms

I don´t find very useful autotools here, but perhaps I am wrong.??


Other different method to use MONO (only mono, not .NET) is use the Mono
Embedding API (gobject/CAPI) to create a own virtual machine to big projects
like in autocad AUTOLISP, ruby in sketchup and so,...
http://go-mono.org/docs/index.aspx?tlink=root:/embed

This is used in projects like seconlife or OTEE/ unity3d but I don´t see a
place to used it here.
http://www.go-mono.com/pdfs/Otee_v21.pdf



A new system for MONO and .NET is Prebuild. They used it now in TAO/opengl.
http://www.mono-project.com/Prebuild


Prebuild is quite similar to cmake but thought to MONO/.NET.




Regards.





More information about the Liblas-devel mailing list