[Liblas-devel] RE: Liblas-devel Digest, Vol 24, Issue 6

Michael Rosen mrosen at lizardtech.com
Fri Dec 18 12:08:53 EST 2009


Looks like you are not linking liblas.  In VStudio, Right click the project > Properties > Linker > Input > Additional Dependencies > liblas.lib (las.lib)

Similarly, under General > Additional Libraries Dependencies, you need to specify the directory that contains your library.

msr
-----Original Message-----
From: liblas-devel-bounces at lists.osgeo.org [mailto:liblas-devel-bounces at lists.osgeo.org] On Behalf Of liblas-devel-request at lists.osgeo.org
Sent: Friday, December 18, 2009 9:01 AM
To: liblas-devel at lists.osgeo.org
Subject: Liblas-devel Digest, Vol 24, Issue 6

Send Liblas-devel mailing list submissions to
	liblas-devel at lists.osgeo.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.osgeo.org/mailman/listinfo/liblas-devel
or, via email, send a message with subject or body 'help' to
	liblas-devel-request at lists.osgeo.org

You can reach the person managing the list at
	liblas-devel-owner at lists.osgeo.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Liblas-devel digest..."


Today's Topics:

   1. readLas linking problem (cristovao_jdc at sapo.pt)


----------------------------------------------------------------------

Message: 1
Date: Fri, 18 Dec 2009 14:54:58 +0000
From: cristovao_jdc at sapo.pt
Subject: [Liblas-devel] readLas linking problem
To: liblas-devel at lists.osgeo.org
Message-ID: <20091218145458.20902at1c4427xlw at w16.mail.sapo.pt>
Content-Type: text/plain; charset=ISO-8859-15; DelSp="Yes";
	format="flowed"


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


------------------------------

_______________________________________________
Liblas-devel mailing list
Liblas-devel at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/liblas-devel


End of Liblas-devel Digest, Vol 24, Issue 6
*******************************************


More information about the Liblas-devel mailing list