[Liblas-devel] c liblas problem

Howard Butler hobu.inc at gmail.com
Thu Oct 29 09:03:59 EDT 2009


On Oct 28, 2009, at 2:59 PM, Black, Michael (IS) wrote:

> Well -- this little program compiles just fine with "cc -o myprog  
> myprog.c -llas"
> Examining liblas.a I see both C and C++ routines in there.
> Am I missing something?
>

The C API is currently mixed in with the the C++ API in liblas.so.   
You'll need to link that with gcc or ld if you want c linkage.  I want  
to separate out a liblas_c.so for libLAS 1.3 as part of our  
restructuring to using cmake for libLAS 1.3.

Howard



More information about the Liblas-devel mailing list