Hi,<br>
<br>
Is there any way to statically link the libLAS to a project instead of
using dll files? I need the library be compiled within my application.<br>
<br>
I followed these steps to use LibLAS library and it worked(but it needs the dll files beside exe):<br>
<font size="2"><br>
</font>
<p class="MsoNormal" style="margin-left: 54pt; text-indent: -18pt; line-height: normal; font-family: arial,helvetica,sans-serif;"><font size="2"><span>a)<span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;"> I added </span></span>.Lib
file as an existing item to the project.<br>
</font></p>
<p class="MsoNormal" style="margin-left: 54pt; text-indent: -18pt; line-height: normal; font-family: arial,helvetica,sans-serif;"><font size="2"><span>b)<span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;"> </span></span>By right clicking
on the project and going to “Configuration Property” -> C/C++ -> General
-> “Additional Include directories” I added path to header files as “$(ProjectDir)Include”. <br>
</font></p>
<p class="MsoNormal" style="margin-left: 54pt; text-indent: -18pt; line-height: normal; font-family: arial,helvetica,sans-serif;"><font size="2"><span>c)<span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;"> </span></span>In C/C++
section I moved to Linker<span> </span>-> Input part
and added “$(ProjectDir)lib\liblas.lib” to “Additional dependencies”. That’s the
path where the lib files exists.</font></p>
<p class="MsoNormal" style="margin-left: 54pt; text-indent: -18pt; line-height: normal; font-family: arial,helvetica,sans-serif;"><font size="2"><span>d)<span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;"> I </span></span>copied LibLAS.dll
file in Build folder of the project.</font></p>
<br>
I am using Visual studio 2008.<br><br>
Regards,<br>
afn