[Liblas-devel] libLAS Compilation Error - LNK1120 unresolved externals

Philipp games at philipp.info
Wed Nov 23 10:53:18 EST 2011


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@liblas@@QBE?AV?$basic_ptree at V?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@V12 at U?$less at V?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@@2@@property_tree at 2@XZ)
     C:\dev\libLAS\src\header.cpp.obj          liblas

Any idea ?

Thanks for any help,

philipp



More information about the Liblas-devel mailing list