[Liblas-devel] error link in compile Error

Howard Butler hobu.inc at gmail.com
Wed Jan 4 14:11:03 EST 2012


LASzip has been refreshed to LASzip 2.1.0, including the MSVC2008-based build on OSGeo4W.  I have verified that the current head of libLAS builds with LASzip 2.1.0 when installed via OSGeo4W.

Howard

On Jan 2, 2012, at 1:37 PM, Michael P. Gerlek wrote:

> I think we’ve seen this before – try using the latest laszip sources (from github), not the one inside OSGeo4W.
>  
> -mpg
>  
> From: liblas-devel-bounces at lists.osgeo.org [mailto:liblas-devel-bounces at lists.osgeo.org] On Behalf Of ???
> Sent: Monday, December 26, 2011 9:34 PM
> To: liblas-devel at lists.osgeo.org
> Subject: [Liblas-devel] error link in compile Error
>  
> hi,all
> i'also have the same error with the philipp  when compliation with vs2010 and win7 . 
> firstly ,i use the laszip.lib in the osgeo4w ,the path is c:¥osgeo4w¥lib,but the error is the same of the philipp.
> sceondly, i delete the laszip.lib  in  c:¥osgeo4w¥lib,delete laszip.dll in c:¥osgeo4w¥bin
>               and then  i  download the source code of  laszip 2.0.2 and complie it ,and then put the laszip.lib into  
>                c:¥osgwo4w¥lib , laszip.dll to c:¥osgeo4w¥bin, and update the .hpp in c:¥osgeo4w¥include
>               but the result is the same of the philipp.
> can you help me?
>  
> philipp 's email is followed:
> Hi all,
> I want to compile libLAS with Visual Studio 2010 under Windows 7 (x86).
> I’ve installed all the necessary dependencies (boost with all Variants,
> OSGeo4W with gdal-devel, geotiff, oci, ...) and used the default
> Directories to be as synchron as possible with the install-guide.
>  
> But I get this error all time:
> Error      70           error LNK1120: 1 unresolved externals
> C:¥dev¥libLAS¥bin¥Debug¥liblas.dll         liblas
> Error      69           error LNK2019: unresolved external symbol "public:
> char const * __thiscall LASitem::get_name(void)const "
> (?get_name at LASitem@@QBEPBDXZ) referenced in function "public: class
> liblas::property_tree::basic_ptree<class std::basic_string<char,struct
> std::char_traits<char>,class std::allocator<char> >,class
> std::basic_string<char,struct std::char_traits<char>,class
> std::allocator<char>>,struct std::less<class std::basic_string<char,struct
> std::char_traits<char>,class std::allocator<char> > > > __thiscall
> liblas::Header::GetPTree(void)const "
> (?GetPTree at Header at liblas@@QBE?AV?$basic_ptree at V?$basic_string at DU?$char_traits at D at std@@V?$allocator at D at 2@@std@@V12 at U?$less at V?$basic_string at DU?$char_traits at D at std@@V?$allocator at D at 2@@std@@@2@@property_tree at 2 at XZ)
>      C:¥dev¥libLAS¥src¥header.cpp.obj          liblas
>  
> Any idea ?
>  
> Thanks for any help,
>  
> philipp
> 
> "
>  
>  
> 
> _______________________________________________
> 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