Hi-
I am trying to use the liblas to import and export las files from my company's software. I am using windows vista and visual studio 9. I have successfully compiled everything. But when I try to run, I crash everytime in the constructor for LASWriter or LASReader. I have followed the code from the c++ tutorial on liblas.org, and I even just tried writing a simple win32 console app that did only what the tutorial has in it. I also included the dependent dlls in my exe directory (i.e. geotiff.dll, liblas1.dll, etc.). I searched through liblas.org and this mailing list and didn't find anybody that had mentioned this problem. Am I the only one trying c++ on windows, or am I missing something obvious that everybody else is doing correctly? I am using the 1.2.0 version linked from the home page of liblas.org. I also tried installing the OSGeo4W linked from the home page, but it made no difference. The writer crashes claiming a buffer overrun error. The call stack goes from my function to LASHeader::Init(), to LASSpatialReference::SetVLRs(), and then to _report_gsfailure(). The LASReader constructor has crashed in various places the different times I have tried it, I haven't isolated it to the same place every time. Thanks for any help you may provide. If I can't get past this problem I will have to try another solution for .las files. Gary Robinson Software Engineer, Intelisum Inc. 801-924-0660 ext 127 grobin...@intelisum.com Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply email. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind.
<<image001.jpg>>
_______________________________________________ Liblas-devel mailing list Liblas-devel@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/liblas-devel