-----------
-----------
Install PCL
-----------
-----------

To install the PCL library, it is recommended to first install a package manager. PCL lists a few package managers based on the user’s OS. You can check that here: https://pointclouds.org/downloads/.

For Windows, we have used vcpkg. To use vcpkg to install PCL, follow the steps below:

(Before you install PCL using vcpkg, ensure you have an instance of Visual Studio installed on your system. PCL installation will fail if it cannot find an instance of Visual Studio. Visual Studio 2022 Community is a readily available choice.)

1.	Navigate to the github repo GitHub - microsoft/vcpkg: C++ Library Manager for Windows, Linux, and MacOS
2.	Git clone this repo onto your PC or download as a ZIP folder. Note: ensure the file path this folder is Git cloned to (or extracted to) does not have any spaces in it – this can affect the PCL installation later down the line.
3.	Navigate to vcpkg-master folder, and execute this through the terminal: .\bootstrap-vcpkg.bat 
4.	Execute the following command to install PCL: vcpkg install pcl[vtk]. This will install all the PCL libraries + VTK libraries (visual add-ons). Be sure to specify vtk in your installation to install the visualization capabilities offered by PCL – the default installation does not include this.

------------------------
------------------------
Install Coloring library
------------------------
------------------------

There are several third-party libraries that can be used to color point clouds. We used cppturbo, which is a header-only implementation for coloring point clouds. 
It is available here: https://github.com/tatsuya-s/cppturbo

--------------------------------
--------------------------------
Adding paths to system variables
--------------------------------
--------------------------------

1. Navigate to your system's Environment Variables
2. Under 'System variables', add a new variable called 'PCL_ROOT' and set its value to the folder path of the vcpkg folder (e.g. C:\Users\<username>\Downloads\vcpkg if you git cloned the folder here, and C:\Users\<username>\Downloads\vcpkg-master if you installed as zip folder here)
3. Add another variable called 'TURBO_ROOT' and set its value to the folder path of the cppturbo-master (e.g. C:\Users\<username>\Downloads\cppturbo-master if you installed cppturbo-master here)
4. After downloading our example zip folder, navigate to the folder Cpp_HTP_PCL\DLLs, copy its path and add it to your PATH variable. 


