[Liblas-devel] c liblas problem

Black, Michael (IS) Michael.Black2 at ngc.com
Wed Oct 28 15:33:51 EDT 2009


I already communicated with Riki and solved his problem.
 
He's running Linux
 
cc -o myprog mprog.c -llas
 
 
Michael D. Black
Senior Scientist
Northrop Grumman Mission Systems
 

________________________________

From: liblas-devel-bounces at lists.osgeo.org on behalf of Mateusz Loskot
Sent: Wed 10/28/2009 2:05 PM
To: Riki Tiki
Cc: liblas-devel at lists.osgeo.org
Subject: Re: [Liblas-devel] c liblas problem



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 <http://mateusz.loskot.net/> 
Charter Member of OSGeo, http://osgeo.org <http://osgeo.org/> 
_______________________________________________
Liblas-devel mailing list
Liblas-devel at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/liblas-devel


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


More information about the Liblas-devel mailing list