<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">hi,all<div><pre style="line-height: normal; "><i>i'also have the same error with the </i>philipp when compliation with vs2010 and win7 . </pre><pre style="line-height: normal; ">firstly ,i use the laszip.lib in the osgeo4w ,the path is c:\osgeo4w\lib,but the error is the same of the philipp.</pre><pre style="line-height: normal; ">sceondly, i delete the laszip.lib in c:\osgeo4w\lib,delete laszip.dll in c:\osgeo4w\bin</pre><pre style="line-height: normal; "> and then i download the source code of laszip 2.0.2 and complie it ,and then put the laszip.lib into </pre><pre style="line-height: normal; "> c:\osgwo4w\lib , laszip.dll to c:\osgeo4w\bin, and update the .hpp in c:\osgeo4w\include</pre><pre style="line-height: normal; "> but the result is the same of the philipp.</pre><pre style="line-height: normal; ">can you help me?</pre><pre style="line-height: normal; "><br></pre><pre style="line-height: normal; ">philipp 's email is followed:</pre><pre style="line-height: normal; ">Hi all,</pre><pre style="line-height: normal; ">I want to compile libLAS with Visual Studio 2010 under Windows 7 (x86).</pre><pre style="line-height: normal; "><pre>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 "
(?<a href="http://lists.osgeo.org/mailman/listinfo/liblas-devel">get_name at LASitem</a>@@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 "
(?<a href="http://lists.osgeo.org/mailman/listinfo/liblas-devel">GetPTree at Header</a>@liblas@@QBE?AV?$<a href="http://lists.osgeo.org/mailman/listinfo/liblas-devel">basic_ptree at V</a>?$<a href="http://lists.osgeo.org/mailman/listinfo/liblas-devel">basic_string at DU</a>?$<a href="http://lists.osgeo.org/mailman/listinfo/liblas-devel">char_traits at D</a>@std@@V?$<a href="http://lists.osgeo.org/mailman/listinfo/liblas-devel">allocator at D</a>@2@@std@@<a href="http://lists.osgeo.org/mailman/listinfo/liblas-devel">V12 at U</a>?$<a href="http://lists.osgeo.org/mailman/listinfo/liblas-devel">less at V</a>?$<a href="http://lists.osgeo.org/mailman/listinfo/liblas-devel">basic_string at DU</a>?$<a href="http://lists.osgeo.org/mailman/listinfo/liblas-devel">char_traits at D</a>@std@@V?$<a href="http://lists.osgeo.org/mailman/listinfo/liblas-devel">allocator at D</a>@2@@std@@@2@@<a href="http://lists.osgeo.org/mailman/listinfo/liblas-devel">property_tree at 2</a>@XZ)
C:\dev\libLAS\src\header.cpp.obj liblas
Any idea ?
Thanks for any help,
philipp
</pre><br class="Apple-interchange-newline">"</pre><pre style="line-height: normal; "><i><br></i></pre></div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>