[Liblas-devel] c liblas problem

Mateusz Loskot mateusz at loskot.net
Wed Oct 28 15:05:27 EDT 2009


Riki Tiki wrote:
> hi i have simple program which is written below
> 
> #include<stdio.h>
> #include "liblas.h"
> 
> int main(int argc, char* argv)
> {
>  LASReaderH reader = LASReader_Create("a.las");
>  LASReader_Destroy(reader);
>  return 0;
> }
> 
> it gives me the following error while compiling...
> 
> undefined reference to 'LASReader_Create'
> undefined reference to 'LASReader_Destroy'
> 
> can you help me to solve the problem?

No, it's not possible, unless you give command how you compile and
link your program.

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org


More information about the Liblas-devel mailing list