<div>Hi Howard,</div>
<div> </div>
<div>Yes there may be some confusion, I realise that now.</div>
<div>I was expecting to have found an open source DLL that I could use to access LiDAR LAS data from VB .NET.</div>
<div> </div>
<div>I was hoping to find a progammatic entry point to work with LAS files, like (for instance, I am just making this up) </div>
<div> </div>
<div>imports liblas</div>
<div> </div>
<div>liblas.openlasfile(lasfile) or </div>
<div>liblas.readheader(lasfile) or </div>
<div>liblas.getpointX(id) .</div>
<div>liblas.writelasfile(lasfile) etc</div>
<div> </div>
<div>and use these instructions/tools to build my own lidar LAS tools.</div>
<div> </div>
<div>A bit like what the freeimage.dll is for imagery, I was hoping to find in liblas for lidar LAS files.</div>
<div>My programming skills are limited to <a href="http://vb.net">vb.net</a>.<br></div>
<div>Is this not what liblas can offer? </div>
<div> </div>
<div>thanks,</div>
<div>Lewis</div>
<div><br> </div>
<div class="gmail_quote">On Tue, Sep 7, 2010 at 4:32 AM, Howard Butler <span dir="ltr">&lt;<a href="mailto:hobu.inc@gmail.com">hobu.inc@gmail.com</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Lewis,<br><br>The first thing is that the compilation directions at &lt;<a href="http://liblas.org/compilation.html#using-visual-studio-9-2008-on-windows" target="_blank">http://liblas.org/compilation.html#using-visual-studio-9-2008-on-windows</a>&gt; are for the unreleased version of libLAS.  You can obtain a copy of the latest source tree at &lt;<a href="http://hg.liblas.org/main/archive/tip.zip" target="_blank">http://hg.liblas.org/main/archive/tip.zip</a>&gt;, and this should more closely follow what&#39;s going on.<br>
<br>The next thing I would ask is what exactly are you trying to do?  libLAS is a c/c++ library, not a .NET library, although there are some unmaintained .NET bindings (these most likely would not work with the unreleased libLAS that has compilation instructions either -- sorry for this catch-22).  If you want to program with libLAS in .NET, you&#39;re going to need a libLAS c/c++ dll as well as a libLAS .NET assembly that links .NET to the libLAS DLL (or, alternatively, hand-write your own PInvoke calls directly to the libLAS DLL).<br>
<br>I&#39;m sorry you&#39;re finding things so frustrating, but I&#39;m sensing there might be some confusion about libLAS and where it fits.<br><br>Hope this helps,<br><br>Howard<br>
<div>
<div></div>
<div class="h5"><br><br>On Sep 4, 2010, at 9:47 PM, Lewis Carrol wrote:<br><br>&gt; Hi all,<br>&gt;<br>&gt; I am really struggling to set up liblas to use for my development in <a href="http://vb.net/" target="_blank">vb.net</a>.<br>
&gt;<br>&gt; Has anyone here setup liblas correctly for <a href="http://vb.net/" target="_blank">vb.net</a>(express) and can that person give me some clear instructions?<br>&gt;<br>&gt; I have downloaded liblas from <a href="http://liblas.org/download.html" target="_blank">http://liblas.org/download.html</a><br>
&gt; Also download and installed OSGeo4W.<br>&gt; Also downloaded and installed cmake make_gui.<br>&gt;<br>&gt; Normally I can easily follow installation instructions (<a href="http://liblas.org/tutorial/vbnet.html" target="_blank">http://liblas.org/tutorial/vbnet.html</a> , <a href="http://liblas.org/compilation.html#using-visual-studio-9-2008-on-windows" target="_blank">http://liblas.org/compilation.html#using-visual-studio-9-2008-on-windows</a>), I write a whole lot of tools and programs in <a href="http://vb.net/" target="_blank">vb.net</a> without any use of a manual, have 10 years+ experience in programming in a professional environment (vb +vb.express), but this liblas setup only is really giving me a headache, I must have tried at least 6 times during the last couple of weeks, without success.<br>
&gt;<br>&gt; Part of the problem is that I (and that may sounds stupid to some of you guys) don&#39;t know what I am actually doing during this complex installation.<br>&gt;<br>&gt; I think I am just setting up a reference or link to the liblas.dll to be able to use the instructions compiled in the DLL. I have done that so often with other DLL&#39;s, easy, 1 minute job and I am programming. Imports LibLAS, done?<br>
&gt; But now I have to install cmake (done, but what is the reason for this?), install OSGeo4W (done, and I have installed the full set, but why?), run a command prompt from <a href="http://vb.net/" target="_blank">vb.net</a> (done) but then it doesn&#39;t work anymore for me. cmake doesn&#39;t find the files it needs, <a href="http://vb.net/" target="_blank">vb.net</a> doesn&#39;t load the dll, I am not sure how to continue, probably because I don&#39;t quite understand the need of all these extra tools to &#39;set up a reference&#39;...<br>
&gt;<br>&gt; Can&#39;t I just create a simple reference to the DLL and start programming?<br>&gt;<br>&gt; Has anyone here setup liblas correctly for <a href="http://vb.net/" target="_blank">vb.net</a>(express) and can you give me some clear insructions? That would be very much appreciated.<br>
&gt;<br>&gt; Lewis.<br></div></div>&gt; _______________________________________________<br>&gt; Liblas-devel mailing list<br>
<div class="im">&gt; <a href="mailto:Liblas-devel@lists.osgeo.org">Liblas-devel@lists.osgeo.org</a><br></div>
<div>
<div></div>
<div class="h5">&gt; <a href="http://lists.osgeo.org/mailman/listinfo/liblas-devel" target="_blank">http://lists.osgeo.org/mailman/listinfo/liblas-devel</a><br><br></div></div></blockquote></div><br>