[Liblas-devel] Include LibLAS

Michael P. Gerlek mpg at flaxen.com
Mon Feb 7 11:47:28 EST 2011


Under VS2010, you should be able to right-click on your project from within
solution explorer, then choose C++ / General and modify the Additional
Include Directories - for VS2008, it should be very similar.  Is that what
you are looking for?

 

(also, you probably want to be using #include "liblas/laspoint.h" - quotes,
not angle brackets)

 

-mpg

 

 

From: liblas-devel-bounces at lists.osgeo.org
[mailto:liblas-devel-bounces at lists.osgeo.org] On Behalf Of azadeh
farjadnejad
Sent: Sunday, February 06, 2011 7:50 PM
To: liblas-devel at lists.osgeo.org
Subject: [Liblas-devel] Include LibLAS

 

Hi, 

I want to add LibLAS to an existing project. I have downloaded
libLAS-1.6.0b4-src.zip <http://download.osgeo.org/liblas/libLAS-1.6.0b4.zip>
.
I also followed the instruction of how to compile it using cmake and Boost.
I did all of that.

My problem is I don't know how to add these files to my project when using
Visual studio 2008, so that when I add #include <liblas/laspoint.hpp> in my
code it can locate laspoint.hpp.

How should I address libLAS code folder in my project to use it for
compilation and how to include all headers and source files to my project?

Thank you.
afn

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/liblas-devel/attachments/20110207/2212b554/attachment.html


More information about the Liblas-devel mailing list