[Liblas-devel] readLas linking problem

cristovao_jdc at sapo.pt cristovao_jdc at sapo.pt
Fri Dec 18 09:54:58 EST 2009


Hi there,

i am trying to make ReadLas program as shown in here:

http://liblas.org/wiki/CPPTutorial

i copied your example , and then i builded it. But i got this errors:

1>reader_copy.obj : error LNK2019: unresolved external symbol "public:  
__thiscall liblas::LASReader::~LASReader(void)"  
(??1LASReader at liblas@@QAE at XZ) referenced in function _main
1>reader_copy.obj : error LNK2019: unresolved external symbol "public:  
class liblas::LASPoint const & __thiscall  
liblas::LASReader::GetPoint(void)const "  
(?GetPoint at LASReader@liblas@@QBEABVLASPoint at 2@XZ) referenced in  
function _main
1>reader_copy.obj : error LNK2019: unresolved external symbol "public:  
bool __thiscall liblas::LASReader::ReadNextPoint(void)"  
(?ReadNextPoint at LASReader@liblas@@QAE_NXZ) referenced in function _main
1>reader_copy.obj : error LNK2019: unresolved external symbol "public:  
unsigned long __thiscall  
liblas::LASHeader::GetPointRecordsCount(void)const "  
(?GetPointRecordsCount at LASHeader@liblas@@QBEKXZ) referenced in  
function _main
1>reader_copy.obj : error LNK2019: unresolved external symbol "public:  
class std::basic_string<char,struct std::char_traits<char>,class  
std::allocator<char> > __thiscall  
liblas::LASHeader::GetFileSignature(void)const "  
(?GetFileSignature at LASHeader@liblas@@QBE?AV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@XZ) referenced in function  
_main
1>reader_copy.obj : error LNK2019: unresolved external symbol "public:  
class liblas::LASHeader const & __thiscall  
liblas::LASReader::GetHeader(void)const "  
(?GetHeader at LASReader@liblas@@QBEABVLASHeader at 2@XZ) referenced in  
function _main
1>reader_copy.obj : error LNK2019: unresolved external symbol "public:  
__thiscall liblas::LASReader::LASReader(class  
std::basic_istream<char,struct std::char_traits<char> > &)"  
(??0LASReader at liblas@@QAE at AAV?$basic_istream at DU?$char_traits at D@std@@@std@@@Z)  
referenced in function _main


--------

can you help me with this?
best regards
Cristóvão Cordeiro


More information about the Liblas-devel mailing list