# I am getting error by installing a treeseg package in virtual ubuntu

**URL:** https://discourse.cmake.org/t/i-am-getting-error-by-installing-a-treeseg-package-in-virtual-ubuntu/13078
**Category:** Usage
**Tags:** os:windows
**Created:** [November 27, 2024, 5:04pm UTC](https://discourse.cmake.org/t/i-am-getting-error-by-installing-a-treeseg-package-in-virtual-ubuntu/13078 "2024-11-27T17:04:19Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![hermane](https://discourse.cmake.org/user_avatar/discourse.cmake.org/hermane/32/5158_2.png) [@hermane](https://discourse.cmake.org/u/hermane)
#### Post date: [November 27, 2024, 5:04pm UTC](https://discourse.cmake.org/t/i-am-getting-error-by-installing-a-treeseg-package-in-virtual-ubuntu/13078/1 "2024-11-27T17:04:19Z")

</div>

hermane@DESKTOP-CAF2ER5:/mnt/c/Users/Precision 7510/treeseg/build$ ls -l  
total 120  
-rwxrwxrwx 1 hermane hermane 88962 Nov 27 2024 CMakeCache.txt  
drwxrwxrwx 1 hermane hermane 4096 Nov 27 2024 CMakeFiles  
-rwxrwxrwx 1 hermane hermane 25280 Nov 27 2024 Makefile  
-rwxrwxrwx 1 hermane hermane 1646 Nov 27 2024 cmake\_install.cmake  
drwxrwxrwx 1 hermane hermane 4096 Nov 27 2024 treeseg  
hermane@DESKTOP-CAF2ER5:/mnt/c/Users/Precision 7510/treeseg/build$ cd /mnt/c/Users/Precision\ 7510/treeseg/build  
hermane@DESKTOP-CAF2ER5:/mnt/c/Users/Precision 7510/treeseg/build$ make VERBOSE=1  
make: Warning: File ‘Makefile’ has modification time 16627 s in the future  
/usr/bin/cmake -S"/mnt/c/Users/Precision 7510/treeseg" -B"/mnt/c/Users/Precision 7510/treeseg/build" --check-build-system CMakeFiles/Makefile.cmake 0  
/usr/bin/cmake -E cmake\_progress\_start “/mnt/c/Users/Precision 7510/treeseg/build/CMakeFiles” “/mnt/c/Users/Precision 7510/treeseg/build//CMakeFiles/progress.marks”  
make -f CMakeFiles/Makefile2 all  
make[1]: Entering directory ‘/mnt/c/Users/Precision 7510/treeseg/build’  
make[1]: Warning: File ‘CMakeFiles/Makefile2’ has modification time 16628 s in the future  
make -f CMakeFiles/treeseg.dir/build.make CMakeFiles/treeseg.dir/depend  
make[2]: Entering directory ‘/mnt/c/Users/Precision 7510/treeseg/build’  
make[2]: Warning: File ‘CMakeFiles/treeseg.dir/flags.make’ has modification time 7674 s in the future  
cd “/mnt/c/Users/Precision 7510/treeseg/build” && /usr/bin/cmake -E cmake\_depends “Unix Makefiles” “/mnt/c/Users/Precision 7510/treeseg” “/mnt/c/Users/Precision 7510/treeseg” “/mnt/c/Users/Precision 7510/treeseg/build” “/mnt/c/Users/Precision 7510/treeseg/build” “/mnt/c/Users/Precision 7510/treeseg/build/CMakeFiles/treeseg.dir/DependInfo.cmake” “–color=”  
Dependencies file “CMakeFiles/treeseg.dir/src/treeseg.cpp.o.d” is newer than depends file “/mnt/c/Users/Precision 7510/treeseg/build/CMakeFiles/treeseg.dir/compiler\_depend.internal”.  
Consolidate compiler generated dependencies of target treeseg  
make[2]: warning: Clock skew detected. Your build may be incomplete.  
make[2]: Leaving directory ‘/mnt/c/Users/Precision 7510/treeseg/build’  
make -f CMakeFiles/treeseg.dir/build.make CMakeFiles/treeseg.dir/build  
make[2]: Entering directory ‘/mnt/c/Users/Precision 7510/treeseg/build’  
make[2]: Warning: File ‘CMakeFiles/treeseg.dir/flags.make’ has modification time 7672 s in the future  
[3%] Building CXX object CMakeFiles/treeseg.dir/src/treeseg.cpp.o  
/usr/bin/c++ -DBOOST\_ATOMIC\_DYN\_LINK -DBOOST\_ATOMIC\_NO\_LIB -DBOOST\_FILESYSTEM\_DYN\_LINK -DBOOST\_FILESYSTEM\_NO\_LIB -DBOOST\_IOSTREAMS\_DYN\_LINK -DBOOST\_IOSTREAMS\_NO\_LIB -DBOOST\_SERIALIZATION\_DYN\_LINK -DBOOST\_SERIALIZATION\_NO\_LIB -DBOOST\_SYSTEM\_DYN\_LINK -DBOOST\_SYSTEM\_NO\_LIB -DEIGEN\_HAS\_CXX17\_OVERALIGN=0 -DQT\_CORE\_LIB -DQT\_GUI\_LIB -DQT\_NO\_DEBUG -DQT\_OPENGL\_LIB -DQT\_WIDGETS\_LIB -Dkiss\_fft\_scalar=double -Dtreeseg\_EXPORTS -I"/mnt/c/Users/Precision 7510/treeseg/include" -I"/mnt/c/Users/Precision 7510/treeseg/include/riegl" -isystem /usr/include/eigen3 -isystem /usr/include/pcl-1.14 -isystem /usr/include/ni -isystem /usr/include/openni2 -isystem /usr/include/vtk-9.1 -isystem /usr/include/jsoncpp -isystem /usr/include/freetype2 -isystem /usr/include/x86\_64-linux-gnu/qt5 -isystem /usr/include/x86\_64-linux-gnu/qt5/QtOpenGL -isystem /usr/include/x86\_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86\_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86\_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86\_64-linux-gnu/qt5/mkspecs/linux-g++ -fPIC -fopenmp -fPIC -MD -MT CMakeFiles/treeseg.dir/src/treeseg.cpp.o -MF CMakeFiles/treeseg.dir/src/treeseg.cpp.o.d -o CMakeFiles/treeseg.dir/src/treeseg.cpp.o -c “/mnt/c/Users/Precision 7510/treeseg/src/treeseg.cpp”/mnt/c/Users/Precision 7510/treeseg/src/treeseg.cpp: In function ‘std::vector\<std::\_\_cxx11::basic\_string \> getFileID(std::string)’:  
/mnt/c/Users/Precision 7510/treeseg/src/treeseg.cpp:54:16: error: ‘split’ is not a member of ‘boost’  
54 | boost::split(tmp1,filename,boost::is\_any\_of(“/”));  
| ^ ~~~~  
/mnt/c/Users/Precision 7510/treeseg/src/treeseg.cpp:55:16: error: ‘split’ is not a member of ‘boost’  
55 | boost::split(tmp2,tmp1[tmp1.size()-1],boost::is\_any\_of(“.”));  
| ^ ~~~~  
/mnt/c/Users/Precision 7510/treeseg/src/treeseg.cpp: In function ‘void readTiles(const std::vector\<std::\_\_cxx11::basic\_string \>&, pcl::PointCloud::Ptr&)’:  
/mnt/c/Users/Precision 7510/treeseg/src/treeseg.cpp:83:24: error: ‘split’ is not a member of ‘boost’  
83 | boost::split(tmp1,filename,boost::is\_any\_of(“/”));  
| ^ ~~~~  
/mnt/c/Users/Precision 7510/treeseg/src/treeseg.cpp:84:24: error: ‘split’ is not a member of ‘boost’  
84 | boost::split(tmp2,tmp1[tmp1.size()-1],boost::is\_any\_of(“.”));  
| ^ ~~~~  
/mnt/c/Users/Precision 7510/treeseg/src/treeseg.cpp: In function ‘int getTilesStartIdx(const std::vector\<std::\_\_cxx11::basic\_string \>&)’:  
/mnt/c/Users/Precision 7510/treeseg/src/treeseg.cpp:104:24: error: ‘split’ is not a member of ‘boost’  
104 | boost::split(tmp1,filename,boost::is\_any\_of(“/”));  
| ^ ~~~~  
/mnt/c/Users/Precision 7510/treeseg/src/treeseg.cpp:105:24: error: ‘split’ is not a member of ‘boost’  
105 | boost::split(tmp2,tmp1[tmp1.size()-1],boost::is\_any\_of(“.”));  
| ^ ~~~~  
/mnt/c/Users/Precision 7510/treeseg/src/treeseg.cpp: In function ‘void cylinderDiagnostics(cylinder&, int)’:  
/mnt/c/Users/Precision 7510/treeseg/src/treeseg.cpp:608:83: warning: ‘std::binder2nd\<\_Operation\> std::bind2nd(const \_Operation&, const \_Tp&) [with \_Operation = minus; \_Tp = float]’ is deprecated: use ‘std::bind’ instead [-Wdeprecated-declarations]  
608 | std::transform(zrads.begin(),zrads.end(),diff.begin(),std::bind2nd(std::minus(),mean));  
| ~~^~~~~~~~~~~~~~~~  
In file included from /usr/include/c++/13/bits/stl\_function.h:1438,  
from /usr/include/c++/13/string:49,  
from /usr/include/c++/13/bitset:52,  
from /usr/include/pcl-1.14/pcl/point\_types.h:42,  
from /mnt/c/Users/Precision 7510/treeseg/include/treeseg\_pointtype.h:31,  
from /mnt/c/Users/Precision 7510/treeseg/include/treeseg.h:30,  
from /mnt/c/Users/Precision 7510/treeseg/src/treeseg.cpp:30:  
/usr/include/c++/13/backward/binders.h:172:5: note: declared here  
172 | bind2nd(const \_Operation& \_\_fn, const \_Tp& \_\_x)  
| ^ ~~~~~~  
/mnt/c/Users/Precision 7510/treeseg/src/treeseg.cpp: In function ‘void correctStem(const pcl::PointCloud::Ptr&, float, float, float, float, float, pcl::PointCloud::Ptr&)’:  
/mnt/c/Users/Precision 7510/treeseg/src/treeseg.cpp:882:81: warning: ‘std::binder2nd\<\_Operation\> std::bind2nd(const \_Operation&, const \_Tp&) [with \_Operation = minus; \_Tp = float]’ is deprecated: use ‘std::bind’ instead [-Wdeprecated-declarations]  
882 | std::transform(zrad.begin(),zrad.end(),diff.begin(),std::bind2nd(std::minus(),mean));  
| ~~^~~~~~~~~~~~~~~~  
/usr/include/c++/13/backward/binders.h:172:5: note: declared here  
172 | bind2nd(const \_Operation& \_\_fn, const \_Tp& \_\_x)  
| ^ ~~~~~~  
make[2]: \*\*\* [CMakeFiles/treeseg.dir/build.make:76: CMakeFiles/treeseg.dir/src/treeseg.cpp.o] Error 1  
make[2]: Leaving directory ‘/mnt/c/Users/Precision 7510/treeseg/build’  
make[1]: \*\*\* [CMakeFiles/Makefile2:111: CMakeFiles/treeseg.dir/all] Error 2  
make[1]: Leaving directory ‘/mnt/c/Users/Precision 7510/treeseg/build’  
make: \*\*\* [Makefile:91: all] Error 2  
hermane@DESKTOP-CAF2ER5:/mnt/c/Users/Precision 7510/treeseg/build$ find\_package(Boost 1.45.0 COMPONENTS filesystem regex)  
-bash: syntax error near unexpected token `Boost' hermane@DESKTOP-CAF2ER5:/mnt/c/Users/Precision 7510/treeseg/build$ set(Boost_USE_STATIC_LIBS OFF) -bash: syntax error near unexpected token `Boost\_USE\_STATIC\_LIBS’  
hermane@DESKTOP-CAF2ER5:/mnt/c/Users/Precision 7510/treeseg/build$ rm CMakeCache.txt  
hermane@DESKTOP-CAF2ER5:/mnt/c/Users/Precision 7510/treeseg/build$ make VERBOSE=1  
make: Warning: File ‘Makefile’ has modification time 16006 s in the future  
/usr/bin/cmake -S"/mnt/c/Users/Precision 7510/treeseg" -B"/mnt/c/Users/Precision 7510/treeseg/build" --check-build-system CMakeFiles/Makefile.cmake 0  
Re-run cmake missing file: CMakeFiles/Makefile.cmake  
– The C compiler identification is GNU 13.2.0  
– The CXX compiler identification is GNU 13.2.0  
– Detecting C compiler ABI info  
– Detecting C compiler ABI info - done  
– Check for working C compiler: /usr/bin/cc - skipped  
– Detecting C compile features  
– Detecting C compile features - done  
– Detecting CXX compiler ABI info  
– Detecting CXX compiler ABI info - done  
– Check for working CXX compiler: /usr/bin/c++ - skipped  
– Detecting CXX compile features  
– Detecting CXX compile features - done  
– Found Boost: /usr/lib/x86\_64-linux-gnu/cmake/Boost-1.83.0/BoostConfig.cmake (found suitable version “1.83.0”, minimum required is “1.65.0”) found components: system filesystem iostreams serialization  
CMake Warning (dev) at /usr/lib/x86\_64-linux-gnu/cmake/pcl/Modules/FindFLANN.cmake:45 (find\_package):  
Policy CMP0144 is not set: find\_package uses upper-case \_ROOT  
variables. Run “cmake --help-policy CMP0144” for policy details. Use the  
cmake\_policy command to set the policy and suppress this warning.

CMake variable FLANN\_ROOT is set to:

```
/usr

```

For compatibility, find\_package is ignoring the variable, but code in a  
.cmake module might still use it.  
Call Stack (most recent call first):  
/usr/lib/x86\_64-linux-gnu/cmake/pcl/PCLConfig.cmake:261 (find\_package)  
/usr/lib/x86\_64-linux-gnu/cmake/pcl/PCLConfig.cmake:306 (find\_flann)  
/usr/lib/x86\_64-linux-gnu/cmake/pcl/PCLConfig.cmake:570 (find\_external\_library)  
CMakeLists.txt:4 (find\_package)  
This warning is for project developers. Use -Wno-dev to suppress it.

– Found flann version 1.9.2  
– Found OpenMP\_CXX: -fopenmp (found version “4.5”)  
– Found OpenMP: TRUE (found version “4.5”) found components: CXX  
– Performing Test CMAKE\_HAVE\_LIBC\_PTHREAD  
– Performing Test CMAKE\_HAVE\_LIBC\_PTHREAD - Success  
– Found Threads: TRUE  
– Found GLEW: /usr/lib/x86\_64-linux-gnu/libGLEW.so  
– Found OpenGL: /usr/lib/x86\_64-linux-gnu/libOpenGL.so found components: OpenGL GLX  
– Found MPI\_C: /usr/lib/x86\_64-linux-gnu/libmpi.so (found version “3.1”)  
– Found MPI: TRUE (found version “3.1”) found components: C  
– Found JsonCpp: /usr/lib/x86\_64-linux-gnu/libjsoncpp.so (found suitable version “1.9.5”, minimum required is “0.7.0”)  
– Found ZLIB: /usr/lib/x86\_64-linux-gnu/libz.so (found version “1.3”)  
– Found PNG: /usr/lib/x86\_64-linux-gnu/libpng.so (found version “1.6.43”)  
– Found Eigen3: /usr/include/eigen3 (found version “3.4.0”)  
– Found X11: /usr/include  
– Looking for XOpenDisplay in /usr/lib/x86\_64-linux-gnu/libX11.so;/usr/lib/x86\_64-linux-gnu/libXext.so  
– Looking for XOpenDisplay in /usr/lib/x86\_64-linux-gnu/libX11.so;/usr/lib/x86\_64-linux-gnu/libXext.so - found  
– Looking for gethostbyname  
– Looking for gethostbyname - found  
– Looking for connect  
– Looking for connect - found  
– Looking for remove  
– Looking for remove - found  
– Looking for shmat  
– Looking for shmat - found  
– Looking for IceConnectionNumber in ICE  
– Looking for IceConnectionNumber in ICE - found  
– Found EXPAT: /usr/lib/x86\_64-linux-gnu/libexpat.so (found version “2.6.1”)  
– Found double-conversion: /usr/lib/x86\_64-linux-gnu/libdouble-conversion.so  
– Found LZ4: /usr/lib/x86\_64-linux-gnu/liblz4.so (found version “1.9.4”)  
– Found LZMA: /usr/lib/x86\_64-linux-gnu/liblzma.so (found version “5.4.5”)  
– Found JPEG: /usr/lib/x86\_64-linux-gnu/libjpeg.so (found version “80”)  
– Found TIFF: /usr/lib/x86\_64-linux-gnu/libtiff.so (found version “4.5.1”)  
– Found Freetype: /usr/lib/x86\_64-linux-gnu/libfreetype.so (found version “2.13.2”)  
– Found utf8cpp: /usr/include/utf8cpp  
– Checking for module ‘libusb-1.0’  
– Found libusb-1.0, version 1.0.27  
– Found libusb: /usr/lib/x86\_64-linux-gnu/libusb-1.0.so  
– Found OpenNI: /usr/lib/libOpenNI.so;libusb::libusb (found version “1.5.4.0”)  
– OpenNI found (version: 1.5.4.0, include: /usr/include/ni, lib: /usr/lib/libOpenNI.so;libusb::libusb)  
– Found OpenNI2: /usr/lib/x86\_64-linux-gnu/libOpenNI2.so;libusb::libusb (found version “2.2.0.33”)  
– OpenNI2 found (version: 2.2.0.33, include: /usr/include/openni2, lib: /usr/lib/x86\_64-linux-gnu/libOpenNI2.so;libusb::libusb)  
– Could NOT find Pcap (missing: PCAP\_LIBRARIES PCAP\_INCLUDE\_DIRS)  
\*\* WARNING \*\* io features related to pcap will be disabled  
– OpenNI found (version: 1.5.4.0, include: /usr/include/ni, lib: /usr/lib/libOpenNI.so;libusb::libusb)  
– OpenNI2 found (version: 2.2.0.33, include: /usr/include/openni2, lib: /usr/lib/x86\_64-linux-gnu/libOpenNI2.so;libusb::libusb)  
– Found Qhull version 8.0.2  
– OpenNI found (version: 1.5.4.0, include: /usr/include/ni, lib: /usr/lib/libOpenNI.so;libusb::libusb)  
– looking for PCL\_COMMON  
– Found PCL\_COMMON: /usr/lib/x86\_64-linux-gnu/libpcl\_common.so  
– looking for PCL\_KDTREE  
– Found PCL\_KDTREE: /usr/lib/x86\_64-linux-gnu/libpcl\_kdtree.so  
– looking for PCL\_OCTREE  
– Found PCL\_OCTREE: /usr/lib/x86\_64-linux-gnu/libpcl\_octree.so  
– looking for PCL\_SEARCH  
– Found PCL\_SEARCH: /usr/lib/x86\_64-linux-gnu/libpcl\_search.so  
– looking for PCL\_SAMPLE\_CONSENSUS  
– Found PCL\_SAMPLE\_CONSENSUS: /usr/lib/x86\_64-linux-gnu/libpcl\_sample\_consensus.so  
– looking for PCL\_FILTERS  
– Found PCL\_FILTERS: /usr/lib/x86\_64-linux-gnu/libpcl\_filters.so  
– looking for PCL\_2D  
– Found PCL\_2D: /usr/include/pcl-1.14  
– looking for PCL\_GEOMETRY  
– Found PCL\_GEOMETRY: /usr/include/pcl-1.14  
– looking for PCL\_IO  
– Found PCL\_IO: /usr/lib/x86\_64-linux-gnu/libpcl\_io.so  
– looking for PCL\_FEATURES  
– Found PCL\_FEATURES: /usr/lib/x86\_64-linux-gnu/libpcl\_features.so  
– looking for PCL\_ML  
– Found PCL\_ML: /usr/lib/x86\_64-linux-gnu/libpcl\_ml.so  
– looking for PCL\_SEGMENTATION  
– Found PCL\_SEGMENTATION: /usr/lib/x86\_64-linux-gnu/libpcl\_segmentation.so  
– looking for PCL\_VISUALIZATION  
– Found PCL\_VISUALIZATION: /usr/lib/x86\_64-linux-gnu/libpcl\_visualization.so  
– looking for PCL\_SURFACE  
– Found PCL\_SURFACE: /usr/lib/x86\_64-linux-gnu/libpcl\_surface.so  
– looking for PCL\_REGISTRATION  
– Found PCL\_REGISTRATION: /usr/lib/x86\_64-linux-gnu/libpcl\_registration.so  
– looking for PCL\_KEYPOINTS  
– Found PCL\_KEYPOINTS: /usr/lib/x86\_64-linux-gnu/libpcl\_keypoints.so  
– looking for PCL\_TRACKING  
– Found PCL\_TRACKING: /usr/lib/x86\_64-linux-gnu/libpcl\_tracking.so  
– looking for PCL\_RECOGNITION  
– Found PCL\_RECOGNITION: /usr/lib/x86\_64-linux-gnu/libpcl\_recognition.so  
– looking for PCL\_STEREO  
– Found PCL\_STEREO: /usr/lib/x86\_64-linux-gnu/libpcl\_stereo.so  
– looking for PCL\_APPS  
– Found PCL\_APPS: /usr/lib/x86\_64-linux-gnu/libpcl\_apps.so  
– looking for PCL\_IN\_HAND\_SCANNER  
– Found PCL\_IN\_HAND\_SCANNER: /usr/include/pcl-1.14  
– looking for PCL\_MODELER  
– Found PCL\_MODELER: /usr/include/pcl-1.14  
– looking for PCL\_POINT\_CLOUD\_EDITOR  
– Found PCL\_POINT\_CLOUD\_EDITOR: /usr/include/pcl-1.14  
– looking for PCL\_OUTOFCORE  
– Found PCL\_OUTOFCORE: /usr/lib/x86\_64-linux-gnu/libpcl\_outofcore.so  
– looking for PCL\_PEOPLE  
– Found PCL\_PEOPLE: /usr/lib/x86\_64-linux-gnu/libpcl\_people.so  
– Found PCL: pcl\_common;pcl\_kdtree;pcl\_octree;pcl\_search;pcl\_sample\_consensus;pcl\_filters;pcl\_io;pcl\_features;pcl\_ml;pcl\_segmentation;pcl\_visualization;pcl\_surface;pcl\_registration;pcl\_keypoints;pcl\_tracking;pcl\_recognition;pcl\_stereo;pcl\_apps;pcl\_outofcore;pcl\_people;Boost::system;Boost::filesystem;Boost::iostreams;Boost::serialization;/usr/lib/libOpenNI.so;libusb::libusb;/usr/lib/x86\_64-linux-gnu/libOpenNI2.so;libusb::libusb;VTK::ChartsCore;VTK::CommonColor;VTK::CommonComputationalGeometry;VTK::CommonCore;VTK::CommonDataModel;VTK::CommonExecutionModel;VTK::CommonMath;VTK::CommonMisc;VTK::CommonTransforms;VTK::FiltersCore;VTK::FiltersExtraction;VTK::FiltersGeneral;VTK::FiltersGeometry;VTK::FiltersModeling;VTK::FiltersSources;VTK::ImagingCore;VTK::ImagingSources;VTK::InteractionImage;VTK::InteractionStyle;VTK::InteractionWidgets;VTK::IOCore;VTK::IOGeometry;VTK::IOImage;VTK::IOLegacy;VTK::IOPLY;VTK::RenderingAnnotation;VTK::RenderingCore;VTK::RenderingContext2D;VTK::RenderingLOD;VTK::RenderingFreeType;VTK::ViewsCore;VTK::ViewsContext2D;VTK::RenderingOpenGL2;VTK::RenderingContextOpenGL2;VTK::GUISupportQt;FLANN::FLANN;QHULL::QHULL (Required is at least version “1.10”)  
– Found Armadillo: /usr/include (found suitable version “12.6.7”, minimum required is “9.8”)  
– Configuring done (65.5s)  
– Generating done (7.2s)  
– Build files have been written to: /mnt/c/Users/Precision 7510/treeseg/build  
/usr/bin/cmake -E cmake\_progress\_start “/mnt/c/Users/Precision 7510/treeseg/build/CMakeFiles” “/mnt/c/Users/Precision 7510/treeseg/build//CMakeFiles/progress.marks”  
make -f CMakeFiles/Makefile2 all  
make[1]: Entering directory ‘/mnt/c/Users/Precision 7510/treeseg/build’  
make[1]: Warning: File ‘CMakeFiles/Makefile2’ has modification time 18000 s in the future  
make -f CMakeFiles/treeseg.dir/build.make CMakeFiles/treeseg.dir/depend  
make[2]: Entering directory ‘/mnt/c/Users/Precision 7510/treeseg/build’  
make[2]: Warning: File ‘CMakeFiles/treeseg.dir/flags.make’ has modification time 6980 s in the future  
cd “/mnt/c/Users/Precision 7510/treeseg/build” && /usr/bin/cmake -E cmake\_depends “Unix Makefiles” “/mnt/c/Users/Precision 7510/treeseg” “/mnt/c/Users/Precision 7510/treeseg” “/mnt/c/Users/Precision 7510/treeseg/build” “/mnt/c/Users/Precision 7510/treeseg/build” “/mnt/c/Users/Precision 7510/treeseg/build/CMakeFiles/treeseg.dir/DependInfo.cmake” “–color=”  
Dependencies file “CMakeFiles/treeseg.dir/src/treeseg.cpp.o.d” is newer than depends file “/mnt/c/Users/Precision 7510/treeseg/build/CMakeFiles/treeseg.dir/compiler\_depend.internal”.  
Consolidate compiler generated dependencies of target treeseg  
make[2]: warning: Clock skew detected. Your build may be incomplete.  
make[2]: Leaving directory ‘/mnt/c/Users/Precision 7510/treeseg/build’  
make -f CMakeFiles/treeseg.dir/build.make CMakeFiles/treeseg.dir/build  
make[2]: Entering directory ‘/mnt/c/Users/Precision 7510/treeseg/build’  
make[2]: Warning: File ‘CMakeFiles/treeseg.dir/flags.make’ has modification time 6978 s in the future  
[3%] Building CXX object CMakeFiles/treeseg.dir/src/treeseg.cpp.o  
/usr/bin/c++ -DBOOST\_ATOMIC\_DYN\_LINK -DBOOST\_ATOMIC\_NO\_LIB -DBOOST\_FILESYSTEM\_DYN\_LINK -DBOOST\_FILESYSTEM\_NO\_LIB -DBOOST\_IOSTREAMS\_DYN\_LINK -DBOOST\_IOSTREAMS\_NO\_LIB -DBOOST\_SERIALIZATION\_DYN\_LINK -DBOOST\_SERIALIZATION\_NO\_LIB -DBOOST\_SYSTEM\_DYN\_LINK -DBOOST\_SYSTEM\_NO\_LIB -DEIGEN\_HAS\_CXX17\_OVERALIGN=0 -DQT\_CORE\_LIB -DQT\_GUI\_LIB -DQT\_NO\_DEBUG -DQT\_OPENGL\_LIB -DQT\_WIDGETS\_LIB -Dkiss\_fft\_scalar=double -Dtreeseg\_EXPORTS -I"/mnt/c/Users/Precision 7510/treeseg/include" -I"/mnt/c/Users/Precision 7510/treeseg/include/riegl" -isystem /usr/include/eigen3 -isystem /usr/include/pcl-1.14 -isystem /usr/include/ni -isystem /usr/include/openni2 -isystem /usr/include/vtk-9.1 -isystem /usr/include/jsoncpp -isystem /usr/include/freetype2 -isystem /usr/include/x86\_64-linux-gnu/qt5 -isystem /usr/include/x86\_64-linux-gnu/qt5/QtOpenGL -isystem /usr/include/x86\_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86\_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86\_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86\_64-linux-gnu/qt5/mkspecs/linux-g++ -fPIC -fopenmp -fPIC -MD -MT CMakeFiles/treeseg.dir/src/treeseg.cpp.o -MF CMakeFiles/treeseg.dir/src/treeseg.cpp.o.d -o CMakeFiles/treeseg.dir/src/treeseg.cpp.o -c “/mnt/c/Users/Precision 7510/treeseg/src/treeseg.cpp”/mnt/c/Users/Precision 7510/treeseg/src/treeseg.cpp: In function ‘std::vector\<std::\_\_cxx11::basic\_string \> getFileID(std::string)’:  
/mnt/c/Users/Precision 7510/treeseg/src/treeseg.cpp:54:16: error: ‘split’ is not a member of ‘boost’  
54 | boost::split(tmp1,filename,boost::is\_any\_of(“/”));  
| ^ ~~~~  
/mnt/c/Users/Precision 7510/treeseg/src/treeseg.cpp:55:16: error: ‘split’ is not a member of ‘boost’  
55 | boost::split(tmp2,tmp1[tmp1.size()-1],boost::is\_any\_of(“.”));  
| ^ ~~~~  
/mnt/c/Users/Precision 7510/treeseg/src/treeseg.cpp: In function ‘void readTiles(const std::vector\<std::\_\_cxx11::basic\_string \>&, pcl::PointCloud::Ptr&)’:  
/mnt/c/Users/Precision 7510/treeseg/src/treeseg.cpp:83:24: error: ‘split’ is not a member of ‘boost’  
83 | boost::split(tmp1,filename,boost::is\_any\_of(“/”));  
| ^ ~~~~  
/mnt/c/Users/Precision 7510/treeseg/src/treeseg.cpp:84:24: error: ‘split’ is not a member of ‘boost’  
84 | boost::split(tmp2,tmp1[tmp1.size()-1],boost::is\_any\_of(“.”));  
| ^ ~~~~  
/mnt/c/Users/Precision 7510/treeseg/src/treeseg.cpp: In function ‘int getTilesStartIdx(const std::vector\<std::\_\_cxx11::basic\_string \>&)’:  
/mnt/c/Users/Precision 7510/treeseg/src/treeseg.cpp:104:24: error: ‘split’ is not a member of ‘boost’  
104 | boost::split(tmp1,filename,boost::is\_any\_of(“/”));  
| ^ ~~~~  
/mnt/c/Users/Precision 7510/treeseg/src/treeseg.cpp:105:24: error: ‘split’ is not a member of ‘boost’  
105 | boost::split(tmp2,tmp1[tmp1.size()-1],boost::is\_any\_of(“.”));  
| ^ ~~~~  
/mnt/c/Users/Precision 7510/treeseg/src/treeseg.cpp: In function ‘void cylinderDiagnostics(cylinder&, int)’:  
/mnt/c/Users/Precision 7510/treeseg/src/treeseg.cpp:608:83: warning: ‘std::binder2nd\<\_Operation\> std::bind2nd(const \_Operation&, const \_Tp&) [with \_Operation = minus; \_Tp = float]’ is deprecated: use ‘std::bind’ instead [-Wdeprecated-declarations]  
608 | std::transform(zrads.begin(),zrads.end(),diff.begin(),std::bind2nd(std::minus(),mean));  
| ~~^~~~~~~~~~~~~~~~  
In file included from /usr/include/c++/13/bits/stl\_function.h:1438,  
from /usr/include/c++/13/string:49,  
from /usr/include/c++/13/bitset:52,  
from /usr/include/pcl-1.14/pcl/point\_types.h:42,  
from /mnt/c/Users/Precision 7510/treeseg/include/treeseg\_pointtype.h:31,  
from /mnt/c/Users/Precision 7510/treeseg/include/treeseg.h:30,  
from /mnt/c/Users/Precision 7510/treeseg/src/treeseg.cpp:30:  
/usr/include/c++/13/backward/binders.h:172:5: note: declared here  
172 | bind2nd(const \_Operation& \_\_fn, const \_Tp& \_\_x)  
| ^ ~~~~~~  
/mnt/c/Users/Precision 7510/treeseg/src/treeseg.cpp: In function ‘void correctStem(const pcl::PointCloud::Ptr&, float, float, float, float, float, pcl::PointCloud::Ptr&)’:  
/mnt/c/Users/Precision 7510/treeseg/src/treeseg.cpp:882:81: warning: ‘std::binder2nd\<\_Operation\> std::bind2nd(const \_Operation&, const \_Tp&) [with \_Operation = minus; \_Tp = float]’ is deprecated: use ‘std::bind’ instead [-Wdeprecated-declarations]  
882 | std::transform(zrad.begin(),zrad.end(),diff.begin(),std::bind2nd(std::minus(),mean));  
| ~~^~~~~~~~~~~~~~~~  
/usr/include/c++/13/backward/binders.h:172:5: note: declared here  
172 | bind2nd(const \_Operation& \_\_fn, const \_Tp& \_\_x)  
| ^ ~~~~~~  
make[2]: \*\*\* [CMakeFiles/treeseg.dir/build.make:76: CMakeFiles/treeseg.dir/src/treeseg.cpp.o] Error 1  
make[2]: Leaving directory ‘/mnt/c/Users/Precision 7510/treeseg/build’  
make[1]: \*\*\* [CMakeFiles/Makefile2:111: CMakeFiles/treeseg.dir/all] Error 2  
make[1]: Leaving directory ‘/mnt/c/Users/Precision 7510/treeseg/build’  
make: \*\*\* [Makefile:91: all] Error 2

---

<div class="post-metadata">

### Author: ![ClausKlein](https://discourse.cmake.org/user_avatar/discourse.cmake.org/clausklein/32/352_2.png) [@ClausKlein](https://discourse.cmake.org/u/ClausKlein)
#### Post date: [November 27, 2024, 8:20pm UTC](https://discourse.cmake.org/t/i-am-getting-error-by-installing-a-treeseg-package-in-virtual-ubuntu/13078/2 "2024-11-27T20:20:47Z")

</div>

**TLDR**! dit you read [GitHub - apburt/treeseg: Extract individual trees from lidar point clouds](https://github.com/apburt/treeseg?tab=readme-ov-file#installation) ?
