<HTML dir=ltr><HEAD><TITLE>Re: [Liblas-devel] c liblas problem</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.3790.4589" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText64986 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>I already communicated with Riki and solved his problem.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>He's running Linux</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>cc -o myprog mprog.c -llas</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT> </DIV></DIV>
<DIV id=idSignature56950 dir=ltr>
<DIV><FONT face=Arial color=#000000 size=2>Michael D. Black</FONT></DIV>
<DIV><FONT face=Arial size=2>Senior Scientist</FONT></DIV>
<DIV><FONT face=Arial size=2>Northrop Grumman Mission Systems</FONT></DIV>
<DIV> </DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> liblas-devel-bounces@lists.osgeo.org on behalf of Mateusz Loskot<BR><B>Sent:</B> Wed 10/28/2009 2:05 PM<BR><B>To:</B> Riki Tiki<BR><B>Cc:</B> liblas-devel@lists.osgeo.org<BR><B>Subject:</B> Re: [Liblas-devel] c liblas problem<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>Riki Tiki wrote:<BR>> hi i have simple program which is written below<BR>><BR>> #include<stdio.h><BR>> #include "liblas.h"<BR>><BR>> int main(int argc, char* argv)<BR>> {<BR>> LASReaderH reader = LASReader_Create("a.las");<BR>> LASReader_Destroy(reader);<BR>> return 0;<BR>> }<BR>><BR>> it gives me the following error while compiling...<BR>><BR>> undefined reference to 'LASReader_Create'<BR>> undefined reference to 'LASReader_Destroy'<BR>><BR>> can you help me to solve the problem?<BR><BR>No, it's not possible, unless you give command how you compile and<BR>link your program.<BR><BR>Best regards,<BR>--<BR>Mateusz Loskot, <A href="http://mateusz.loskot.net/">http://mateusz.loskot.net</A><BR>Charter Member of OSGeo, <A href="http://osgeo.org/">http://osgeo.org</A><BR>_______________________________________________<BR>Liblas-devel mailing list<BR>Liblas-devel@lists.osgeo.org<BR><A href="http://lists.osgeo.org/mailman/listinfo/liblas-devel">http://lists.osgeo.org/mailman/listinfo/liblas-devel</A><BR></FONT></P></DIV></BODY></HTML>