On Oct 28, 2009, at 12:29 PM, 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? thanks!

You need to make sure you link against liblas.{so|dylib|dll} too. Have you developed with C before?

Howard

_______________________________________________
Liblas-devel mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/liblas-devel

Reply via email to