<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>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>He's running Linux</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</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>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT>&nbsp;</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>&nbsp;</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>&gt; hi i have simple program which is written below<BR>&gt;<BR>&gt; #include&lt;stdio.h&gt;<BR>&gt; #include "liblas.h"<BR>&gt;<BR>&gt; int main(int argc, char* argv)<BR>&gt; {<BR>&gt;&nbsp; LASReaderH reader = LASReader_Create("a.las");<BR>&gt;&nbsp; LASReader_Destroy(reader);<BR>&gt;&nbsp; return 0;<BR>&gt; }<BR>&gt;<BR>&gt; it gives me the following error while compiling...<BR>&gt;<BR>&gt; undefined reference to 'LASReader_Create'<BR>&gt; undefined reference to 'LASReader_Destroy'<BR>&gt;<BR>&gt; 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>