[Liblas-devel] [Dev c++] Linker error. problem with liblas

Michael P. Gerlek mpg at flaxen.com
Thu Sep 8 19:30:29 EDT 2011


Michal:

Does "Dev C++" mean Microsoft Visual Studio?

If so, you actually need the liblas.dll file, not liblas.a (that would be
for unix) -- these files are on the osgeo4w distribution now, I think.

-mpg



> -----Original Message-----
> From: liblas-devel-bounces at lists.osgeo.org [mailto:liblas-devel-
> bounces at lists.osgeo.org] On Behalf Of Misza(Gmail)
> Sent: Thursday, September 08, 2011 1:15 PM
> To: liblas-devel
> Subject: [Liblas-devel] [Dev c++] Linker error. problem with liblas
> 
> Hello
> My name is Michal
> I write because i have a problem with linking a code with library "liblas"
> in "Dev C++" program/editor. When i build exe file i have error:
> 
> [Linker error] undefined reference to
> `liblas::ReaderFactory::CreateWithStream(std::istream&)'
> [Linker error] undefined reference to `liblas::Reader::GetHeader() const'
> [Linker error] undefined reference to `liblas::Header::Compressed() const'
> [Linker error] undefined reference to
> `liblas::Header::GetFileSignature() const'
> (...)
> [Linker error] undefined reference to `liblas::Reader::ReadNextPoint()'
> (...)
> [Linker error] undefined reference to `liblas::Reader::GetPoint() const'
> (...)
> [Linker error] undefined reference to `liblas::Reader::~Reader()'
> (...)
> 
> 
> Mateusz Laskot writ to me:it is a problem with liblas.lib and liblas_c.lib
file. He
> tell me i need a liblas.a adn liblas_c.a file to dev c++. I can't create
this file
> myself.
> 
> if someone use a this program (dev c++) maybe can help me. Or send me
> thats files...
> 
> thanks for help
> 
> Michal
> 
> --
> Pozdrawiam:
> Misza
> _______________________________________________
> Liblas-devel mailing list
> Liblas-devel at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/liblas-devel



More information about the Liblas-devel mailing list