<div dir="ltr"><div dir="ltr"><div>when I build an example of PDAL library I'm getting following errors, it is originated from Extractor.hpp and Insertor.hpp. did I miss something with I'm building PDAL project?. I used OSGeo4W64 for downloading dependencies.</div><div>I would appreciate any help, thanks in advance.</div><div><br></div><div>Building Custom Rule C:/pdal/pdal_maintance1.8/PDAL-1.8-maintenance/examples/writing/CMakeLists.txt</div><div>CMake does not need to re-run because C:/pdal/pdal_maintance1.8/PDAL-1.8-maintenance/examples/writing/build/CMakeFiles/generate.stamp is up-to-date.</div><div>tutorial.cpp</div><div>C:\pdal\pdal_maintance1.7\install\include\pdal/util/Uuid.hpp(174): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.</div><div>C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'</div><div>C:\pdal\pdal_maintance1.7\install\include\pdal/Metadata.hpp(586): warning C4800: 'unsigned __int64': forcing value to bool 'true' or 'false' (performance warning)</div><div>C:\pdal\pdal_maintance1.7\install\include\pdal/PipelineManager.hpp(104): warning C4800: 'pdal::Stage *': forcing value to bool 'true' or 'false' (performance warning)</div><div>Creating library C:/pdal/pdal_maintance1.8/PDAL-1.8-maintenance/examples/writing/build/Release/tutorial.lib and object C:/pdal/pdal_maintance1.8/PDAL-1.8-maintenance/examples/writing/build/Release/tutorial.exp</div><div>tutorial.obj : error LNK2019: unresolved external symbol __imp_htonl referenced in function "public: virtual class pdal::BeInserter & __cdecl pdal::BeInserter::operator<<(int)" (??6BeInserter@pdal@@UEAAAEAV01@H@Z)</div><div>tutorial.obj : error LNK2019: unresolved external symbol __imp_htons referenced in function "public: virtual class pdal::BeInserter & __cdecl pdal::BeInserter::operator<<(short)" (??6BeInserter@pdal@@UEAAAEAV01@F@Z)</div><div>tutorial.obj : error LNK2019: unresolved external symbol __imp_ntohl referenced in function "public: virtual class pdal::BeExtractor & __cdecl pdal::BeExtractor::operator>>(int &)" (??5BeExtractor@pdal@@UEAAAEAV01@AEAH@Z)</div><div>tutorial.obj : error LNK2019: unresolved external symbol __imp_ntohs referenced in function "public: virtual class pdal::BeExtractor & __cdecl pdal::BeExtractor::operator>>(short &)" (??5BeExtractor@pdal@@UEAAAEAV01@AEAF@Z)</div><div>C:\pdal\pdal_maintance1.8\PDAL-1.8-maintenance\examples\writing\build\Release\tutorial.exe : fatal error LNK1120: 4 unresolved externals</div></div></div>