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: [email protected] 
[mailto:[email protected]] On Behalf Of 
[email protected]
Sent: Friday, December 18, 2009 9:01 AM
To: [email protected]
Subject: Liblas-devel Digest, Vol 24, Issue 6

Send Liblas-devel mailing list submissions to
        [email protected]

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
        [email protected]

You can reach the person managing the list at
        [email protected]

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 ([email protected])


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

Message: 1
Date: Fri, 18 Dec 2009 14:54:58 +0000
From: [email protected]
Subject: [Liblas-devel] readLas linking problem
To: [email protected]
Message-ID: <[email protected]>
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)"  
(??1lasrea...@liblas@@q...@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 "  
(?getpo...@lasreader@liblas@@qbeabvlaspo...@2@XZ) referenced in  
function _main
1>reader_copy.obj : error LNK2019: unresolved external symbol "public:  
bool __thiscall liblas::LASReader::ReadNextPoint(void)"  
(?readnextpo...@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 "  
(?getpointrecordsco...@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 "  
(?getfilesignat...@lasheader@liblas@@qbe?av?$basic_str...@du?$char_traits@d...@std@@v?$alloca...@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 "  
(?gethea...@lasreader@liblas@@qbeabvlashea...@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> > &)"  
(??0lasrea...@liblas@@q...@aav?$basic_istream@du?$char_tra...@d@std@@@std@@@Z)  
referenced in function _main


--------

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


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

_______________________________________________
Liblas-devel mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/liblas-devel


End of Liblas-devel Digest, Vol 24, Issue 6
*******************************************
_______________________________________________
Liblas-devel mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/liblas-devel

Reply via email to