<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:12pt"><div>Hello.<br><br>I'm trying to use liblas under Embarcadero (former Borland) C++ compiler.<br>So I have written this code:<br><br>#include <liblas/laspoint.hpp><br>#include <liblas/lasreader.hpp><br>#include <fstream> // std::ifstream<br>#include <iostream> // std::cout<br><br>...<br><br> std::ifstream ifs;<br> ifs.open("a.las", std::ios::in | std::ios::binary);<br><br> liblas::LASReader reader(ifs);<br> while (reader.ReadNextPoint())<br> {<br> liblas::LASPoint const& p = reader.GetPoint();<br> etc...<br> }<br><br>which compiles well.<br>But the linker raises an error:<br><br>[ILINK32 Error]
Error: 'C:\SOFTWARE\LIB\OSGEO4W\LIB\LIBLAS.LIB' contains invalid OMF record, type 0x21 (possibly COFF)<br><br>This always happens when a "Visual Studio" library is linked into an Embarcadero project, so it's normal.<br>So I'd need another version os the liblas.lib (or the liblas.dll in order to create an "Embaradero" library using the implib utility).<br>But I can't find those files in liblas.org.<br><br>Would you please tell me how can I get the files I need to use liblas into Embarcadero environment?<br><br>Thanks a lot.<br><br></div>
</div><br>
</body></html>