[Liblas-devel] readLas linking problem

Mateusz Loskot mateusz at loskot.net
Fri Dec 18 19:16:34 EST 2009


cristovao_jdc at sapo.pt wrote:
> Hi there,
>
> i am trying to make ReadLas program as shown in here:
>
> http://liblas.org/wiki/CPPTutorial
>
> i copied your example , and then i builded it.

What does it mean you build it?
What compiler do you use?

>From error messages, I assume it's Visual C++.
Have you configured Visual C++ project?
Have you added libLAS library to linker options so the program can link
against libLAS?

You need to configure Visual C++ project, configure NMAKE makefile, use
command line options, whatever way you build the example, to tell the
compiler you use where it can find libLAS header files as well as libLAS
library (static library if you use C++ API and import library for C API
DLL).

Best regards,
-- 
Mateusz Loskot
http://mateusz.loskot.net



More information about the Liblas-devel mailing list