How to install on windows 10
download
Visual Studio 2017 - 64 bit <https://github.com/PointCloudLibrary/pcl/releases/download/pcl-1.9.1/PCL-1.9.1-AllInOne-msvc2017-win64.exe>
_- git clone https://github.com/wateryi/python-pcl.git
Windows Gtk+ Download <http://www.tarnyko.net/dl/gtk.htm>
_
summary
We got files PCL-1.9.1-AllInOne-msvc2017-win64.exe, gtk+-bundle_3.6.4-20130513_win64.zip, and folder python-pcl-master
prepare
- unzip gtk+-bundle_3.6.4-20130513_win64.zip
- copy folder gtk+-bundle_3.6.4-20130513_win64\bin to python-pcl-master\pkg-config
install
install pcl
- run PCL-1.9.1-AllInOne-msvc2017-win64.exe, set install path as "C:\ProgramFiles\PCL 1.9.1" remove the space in 'Program Files'
- install OpenNI2 similar with step 1
set enviroment
- Add %PCL_ROOT%\bin;%OPEN_NI2_ROOT%\Tools;%VTK_ROOT%\bin; at the end of Path
- Add new variable PCL_ROOT with value C:\ProgramFiles\PCL 1.9.1
- Add new variable PCL_VERSION with value 1.9
- Add new variable VTK_ROOT with value C:\ProgramFiles\PCL 1.9.1\3rdParty\VTK
- Check if the below enviroment existed 'OPENNI2_INCLUDE64': 'C:\ProgramFiles\OpenNI2\Include\', 'OPENNI2_LIB64': 'C:\ProgramFiles\OpenNI2\Lib\', 'OPENNI2_REDIST64': 'C:\ProgramFiles\OpenNI2\Redist\', 'OPEN_NI2_ROOT': 'C:\ProgramFiles\OpenNI2'
anaconda setting
- create a new enviroment with python vertion 3.6.X, activate it
- Open terminal
- conda install -c anaconda numpy
- conda install -c anaconda cython
install python-pcl
- Enter in folder python-pcl-master with the terminal
- python setup.py build_ext -i
- python setup.py install