Open irmas opened 5 years ago
I'm experiencing the build issues described in https://github.com/strawlab/python-pcl/issues/298 and https://github.com/strawlab/python-pcl/issues/297
@DmitrySavchuk suggested using the ubuntu 16.04 dockerfile. I'm also having trouble using this method. I'm new to Docker so I may have misconfigured it.
System:
Command:
python-pcl/docker(master)$ docker build -t python-pcl .
Sending build context to Docker daemon 4.096kB Step 1/8 : FROM ubuntu:16.04 ---> 13c9f1285025 Step 2/8 : RUN apt-get update && apt-get install -y software-properties-common vim && add-apt-repository ppa:jonathonf/python-3.6 ---> Using cache ---> 77a0fa7896d6 Step 3/8 : RUN apt-get update -y ---> Using cache ---> 929acfe48052 Step 4/8 : RUN apt-get install cmake -y && apt-get install -y build-essential python3.6 python3.6-dev python3-pip python3.6-venv && apt-get install -y git && apt-get install openni2-utils -y && apt-get install libpcl-dev -y ---> Using cache ---> 0f67e97c540e Step 5/8 : RUN git clone -b rc_patches4 https://github.com/Sirokujira/python-pcl.git ---> Using cache ---> cea002366e6d Step 6/8 : WORKDIR /python-pcl ---> Using cache ---> 5338104afd41 Step 7/8 : RUN python3.6 -m pip install pip --upgrade && python3.6 -m pip install wheel ---> Using cache ---> 4b38459e02ee Step 8/8 : RUN pip install -r requirements.txt && python3.6 setup.py build_ext -i && python3.6 setup.py install ---> Running in 6b2919b1635c Collecting numpy!=1.16.2,>=1.16.1 (from -r requirements.txt (line 1)) Downloading https://files.pythonhosted.org/packages/87/2d/e4656149cbadd3a8a0369fcd1a9c7d61cc7b87b3903b85389c70c989a696/numpy-1.16.4-cp36-cp36m-manylinux1_x86_64.whl (17.3MB) Collecting Cython>=0.26.0 (from -r requirements.txt (line 2)) Downloading https://files.pythonhosted.org/packages/58/2f/b08ad77c639040baafc891621f0cfdb209e2266404ca13c3167970a6f6d6/Cython-0.29.12-cp36-cp36m-manylinux1_x86_64.whl (2.1MB) Installing collected packages: numpy, Cython Successfully installed Cython-0.29.12 numpy-1.16.4 running build_ext cythoning pcl/_pcl_172.pyx to pcl/_pcl_172.cpp building 'pcl._pcl' extension creating build creating build/temp.linux-x86_64-3.6 creating build/temp.linux-x86_64-3.6/pcl x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET=1 -I/usr/local/lib/python3.6/dist-packages/numpy/core/include -I/usr/include/pcl-1.7 -I/usr/include/ni -I/usr/include/eigen3 -I/usr/include/ni -I/usr/include/openni2 -I/usr/include/vtk-6.2 -I/usr/include/python3.6m -c pcl/_pcl_172.cpp -o build/temp.linux-x86_64-3.6/pcl/_pcl_172.o -std=c++11 In file included from /usr/local/lib/python3.6/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1822:0, from /usr/local/lib/python3.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/local/lib/python3.6/dist-packages/numpy/core/include/numpy/arrayobject.h:4, from pcl/_pcl_172.cpp:661: /usr/local/lib/python3.6/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it with " \ ^ pcl/_pcl_172.cpp: In function 'int __pyx_pf_3pcl_4_pcl_18ConditionalRemoval___cinit__(__pyx_obj_3pcl_4_pcl_ConditionalRemoval*, __pyx_obj_3pcl_4_pcl_ConditionAnd*)': pcl/_pcl_172.cpp:54717:153: warning: 'pcl::ConditionalRemoval<PointT>::ConditionalRemoval(pcl::ConditionalRemoval<PointT>::ConditionBasePtr, bool) [with PointT = pcl::PointXYZ; pcl::ConditionalRemoval<PointT>::ConditionBasePtr = boost::shared_ptr<pcl::ConditionBase<pcl::PointXYZ> >]' is deprecated: ConditionalRemoval(ConditionBasePtr condition, bool extract_removed_indices = false) is deprecated, please use the setCondition (ConditionBasePtr condition) function instead. [-Wdeprecated-declarations] __pyx_v_self->me = new __pyx_t_3pcl_15pcl_filters_172_ConditionalRemoval_t(((__pyx_t_3pcl_15pcl_filters_172_ConditionBasePtr_t)__pyx_v_cond->me), NULL); ^ In file included from pcl/_pcl_172.cpp:703:0: /usr/include/pcl-1.7/pcl/filters/conditional_removal.h:632:7: note: declared here ConditionalRemoval (ConditionBasePtr condition, bool extract_removed_indices = false) : ^ pcl/_pcl_172.cpp: In function 'PyObject* __pyx_pf_3pcl_4_pcl_32GeneralizedIterativeClosestPoint_4gicp(__pyx_obj_3pcl_4_pcl_GeneralizedIterativeClosestPoint*, __pyx_obj_3pcl_4_pcl_PointCloud*, __pyx_obj_3pcl_4_pcl_PointCloud*, PyObject*)': pcl/_pcl_172.cpp:59124:60: warning: 'void pcl::GeneralizedIterativeClosestPoint<PointSource, PointTarget>::setInputCloud(const PointCloudSourceConstPtr&) [with PointSource = pcl::PointXYZ; PointTarget = pcl::PointXYZ; pcl::GeneralizedIterativeClosestPoint<PointSource, PointTarget>::PointCloudSourceConstPtr = boost::shared_ptr<const pcl::PointCloud<pcl::PointXYZ> >]' is deprecated: [pcl::registration::GeneralizedIterativeClosestPoint::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead. [-Wdeprecated-declarations] __pyx_v_gicp.setInputCloud(__pyx_v_source->thisptr_shared); ^ In file included from /usr/include/pcl-1.7/pcl/registration/gicp.h:351:0, from pcl/_pcl_172.cpp:754: /usr/include/pcl-1.7/pcl/registration/impl/gicp.hpp:48:1: note: declared here pcl::GeneralizedIterativeClosestPoint<PointSource, PointTarget>::setInputCloud ( ^ pcl/_pcl_172.cpp: In function 'PyObject* __pyx_pf_3pcl_4_pcl_21IterativeClosestPoint_6icp(__pyx_obj_3pcl_4_pcl_IterativeClosestPoint*, __pyx_obj_3pcl_4_pcl_PointCloud*, __pyx_obj_3pcl_4_pcl_PointCloud*, PyObject*)': pcl/_pcl_172.cpp:59800:59: warning: 'void pcl::Registration<PointSource, PointTarget, Scalar>::setInputCloud(const PointCloudSourceConstPtr&) [with PointSource = pcl::PointXYZ; PointTarget = pcl::PointXYZ; Scalar = float; pcl::Registration<PointSource, PointTarget, Scalar>::PointCloudSourceConstPtr = boost::shared_ptr<const pcl::PointCloud<pcl::PointXYZ> >]' is deprecated: [pcl::registration::Registration::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead. [-Wdeprecated-declarations] __pyx_v_icp.setInputCloud(__pyx_v_source->thisptr_shared); ^ In file included from /usr/include/pcl-1.7/pcl/registration/registration.h:607:0, from pcl/_pcl_172.cpp:749: /usr/include/pcl-1.7/pcl/registration/impl/registration.hpp:43:1: note: declared here pcl::Registration<PointSource, PointTarget, Scalar>::setInputCloud ( ^ pcl/_pcl_172.cpp: In function 'PyObject* __pyx_pf_3pcl_4_pcl_30IterativeClosestPointNonLinear_4icp_nl(__pyx_obj_3pcl_4_pcl_IterativeClosestPointNonLinear*, __pyx_obj_3pcl_4_pcl_PointCloud*, __pyx_obj_3pcl_4_pcl_PointCloud*, PyObject*)': pcl/_pcl_172.cpp:60420:62: warning: 'void pcl::Registration<PointSource, PointTarget, Scalar>::setInputCloud(const PointCloudSourceConstPtr&) [with PointSource = pcl::PointXYZ; PointTarget = pcl::PointXYZ; Scalar = float; pcl::Registration<PointSource, PointTarget, Scalar>::PointCloudSourceConstPtr = boost::shared_ptr<const pcl::PointCloud<pcl::PointXYZ> >]' is deprecated: [pcl::registration::Registration::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead. [-Wdeprecated-declarations] __pyx_v_icp_nl.setInputCloud(__pyx_v_source->thisptr_shared); ^ In file included from /usr/include/pcl-1.7/pcl/registration/registration.h:607:0, from pcl/_pcl_172.cpp:749: /usr/include/pcl-1.7/pcl/registration/impl/registration.hpp:43:1: note: declared here pcl::Registration<PointSource, PointTarget, Scalar>::setInputCloud ( ^ pcl/_pcl_172.cpp: In function 'PyObject* __pyx_pf_3pcl_4_pcl_10PointCloud_92make_GeneralizedIterativeClosestPoint(__pyx_obj_3pcl_4_pcl_PointCloud*)': pcl/_pcl_172.cpp:73845:150: warning: 'void pcl::GeneralizedIterativeClosestPoint<PointSource, PointTarget>::setInputCloud(const PointCloudSourceConstPtr&) [with PointSource = pcl::PointXYZ; PointTarget = pcl::PointXYZ; pcl::GeneralizedIterativeClosestPoint<PointSource, PointTarget>::PointCloudSourceConstPtr = boost::shared_ptr<const pcl::PointCloud<pcl::PointXYZ> >]' is deprecated: [pcl::registration::GeneralizedIterativeClosestPoint::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead. [-Wdeprecated-declarations] __pyx_v_cGeneralizedIterativeClosestPoint->setInputCloud(((boost::shared_ptr<pcl::PointCloud<struct pcl::PointXYZ> > )__pyx_v_self->thisptr_shared)); ^ In file included from /usr/include/pcl-1.7/pcl/registration/gicp.h:351:0, from pcl/_pcl_172.cpp:754: /usr/include/pcl-1.7/pcl/registration/impl/gicp.hpp:48:1: note: declared here pcl::GeneralizedIterativeClosestPoint<PointSource, PointTarget>::setInputCloud ( ^ pcl/_pcl_172.cpp: In function 'PyObject* __pyx_pf_3pcl_4_pcl_10PointCloud_94make_IterativeClosestPointNonLinear(__pyx_obj_3pcl_4_pcl_PointCloud*)': pcl/_pcl_172.cpp:73937:148: warning: 'void pcl::Registration<PointSource, PointTarget, Scalar>::setInputCloud(const PointCloudSourceConstPtr&) [with PointSource = pcl::PointXYZ; PointTarget = pcl::PointXYZ; Scalar = float; pcl::Registration<PointSource, PointTarget, Scalar>::PointCloudSourceConstPtr = boost::shared_ptr<const pcl::PointCloud<pcl::PointXYZ> >]' is deprecated: [pcl::registration::Registration::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead. [-Wdeprecated-declarations] __pyx_v_cIterativeClosestPointNonLinear->setInputCloud(((boost::shared_ptr<pcl::PointCloud<struct pcl::PointXYZ> > )__pyx_v_self->thisptr_shared)); ^ In file included from /usr/include/pcl-1.7/pcl/registration/registration.h:607:0, from pcl/_pcl_172.cpp:749: /usr/include/pcl-1.7/pcl/registration/impl/registration.hpp:43:1: note: declared here pcl::Registration<PointSource, PointTarget, Scalar>::setInputCloud ( ^ pcl/_pcl_172.cpp: In function 'PyObject* __pyx_pf_3pcl_4_pcl_10PointCloud_96make_IterativeClosestPoint(__pyx_obj_3pcl_4_pcl_PointCloud*)': pcl/_pcl_172.cpp:74029:139: warning: 'void pcl::Registration<PointSource, PointTarget, Scalar>::setInputCloud(const PointCloudSourceConstPtr&) [with PointSource = pcl::PointXYZ; PointTarget = pcl::PointXYZ; Scalar = float; pcl::Registration<PointSource, PointTarget, Scalar>::PointCloudSourceConstPtr = boost::shared_ptr<const pcl::PointCloud<pcl::PointXYZ> >]' is deprecated: [pcl::registration::Registration::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead. [-Wdeprecated-declarations] __pyx_v_cIterativeClosestPoint->setInputCloud(((boost::shared_ptr<pcl::PointCloud<struct pcl::PointXYZ> > )__pyx_v_self->thisptr_shared)); ^ In file included from /usr/include/pcl-1.7/pcl/registration/registration.h:607:0, from pcl/_pcl_172.cpp:749: /usr/include/pcl-1.7/pcl/registration/impl/registration.hpp:43:1: note: declared here pcl::Registration<PointSource, PointTarget, Scalar>::setInputCloud ( ^ pcl/_pcl_172.cpp: In function 'PyObject* __pyx_pf_3pcl_4_pcl_29PointCloud_PointWithViewpoint_12from_list(__pyx_obj_3pcl_4_pcl_PointCloud_PointWithViewpoint*, PyObject*)': pcl/_pcl_172.cpp:89512:77: warning: variable '__pyx_t_8' set but not used [-Wunused-but-set-variable] __pyx_ctuple_float__and_float__and_float__and_float__and_float__and_float __pyx_t_8; ^ pcl/_pcl_172.cpp: In function 'PyObject* __pyx_pw_3pcl_4_pcl_8Vertices_7to_array(PyObject*, PyObject*)': pcl/_pcl_172.cpp:121550:33: warning: '<anonymous>' may be used uninitialized in this function [-Wmaybe-uninitialized] return PyInt_FromSize_t(ival); ^ pcl/_pcl_172.cpp:15643:18: note: '<anonymous>' was declared here __pyx_t_14 = __pyx_f_3pcl_4_pcl_8Vertices_thisptr(__pyx_v_self)->vertices.at(__pyx_v_i); ^ pcl/_pcl_172.cpp: In function 'PyObject* __pyx_pf_3pcl_4_pcl_14PCLPointCloud2_12to_array(__pyx_obj_3pcl_4_pcl_PCLPointCloud2*)': pcl/_pcl_172.cpp:96757:31: warning: '__pyx_v_p' may be used uninitialized in this function [-Wmaybe-uninitialized] struct pcl::PCLPointCloud2 *__pyx_v_p; ^ x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET=1 -I/usr/local/lib/python3.6/dist-packages/numpy/core/include -I/usr/include/pcl-1.7 -I/usr/include/ni -I/usr/include/eigen3 -I/usr/include/ni -I/usr/include/openni2 -I/usr/include/vtk-6.2 -I/usr/include/python3.6m -c pcl/minipcl.cpp -o build/temp.linux-x86_64-3.6/pcl/minipcl.o -std=c++11 x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET=1 -I/usr/local/lib/python3.6/dist-packages/numpy/core/include -I/usr/include/pcl-1.7 -I/usr/include/ni -I/usr/include/eigen3 -I/usr/include/ni -I/usr/include/openni2 -I/usr/include/vtk-6.2 -I/usr/include/python3.6m -c pcl/ProjectInliers.cpp -o build/temp.linux-x86_64-3.6/pcl/ProjectInliers.o -std=c++11 x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/pcl/_pcl_172.o build/temp.linux-x86_64-3.6/pcl/minipcl.o build/temp.linux-x86_64-3.6/pcl/ProjectInliers.o -L/usr/lib/x86_64-linux-gnu/ -lpcl_keypoints -lpcl_outofcore -lpcl_people -lpcl_recognition -lpcl_registration -lpcl_segmentation -lpcl_features -lpcl_surface -lpcl_tracking -lpcl_filters -lpcl_sample_consensus -lpcl_visualization -lpcl_io -lOpenNI -lpcl_search -lpcl_kdtree -lflann_cpp -lpcl_octree -lpcl_common -o /python-pcl/pcl/_pcl.cpython-36m-x86_64-linux-gnu.so cythoning pcl/pcl_visualization.pyx to pcl/pcl_visualization.cpp building 'pcl.pcl_visualization' extension x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET=1 -I/usr/local/lib/python3.6/dist-packages/numpy/core/include -I/usr/include/pcl-1.7 -I/usr/include/ni -I/usr/include/eigen3 -I/usr/include/ni -I/usr/include/openni2 -I/usr/include/vtk-6.2 -I/usr/include/python3.6m -c pcl/pcl_visualization.cpp -o build/temp.linux-x86_64-3.6/pcl/pcl_visualization.o -std=c++11 In file included from /usr/local/lib/python3.6/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1822:0, from /usr/local/lib/python3.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/local/lib/python3.6/dist-packages/numpy/core/include/numpy/arrayobject.h:4, from pcl/pcl_visualization.cpp:649: /usr/local/lib/python3.6/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it with " \ ^ In file included from pcl/pcl_visualization.cpp:641:0: /usr/include/pcl-1.7/pcl/visualization/cloud_viewer.h:202:14: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr<CloudViewer_impl> impl_; ^ In file included from /usr/include/c++/5/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from pcl/pcl_visualization.cpp:618: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template<typename> class auto_ptr; ^ pcl/pcl_visualization.cpp:6342:12: warning: 'int __pyx_pw_3pcl_17pcl_visualization_31PointCloudColorHandleringCustom_1__cinit__(PyObject*, PyObject*, PyObject*)' defined but not used [-Wunused-function] static int __pyx_pw_3pcl_17pcl_visualization_31PointCloudColorHandleringCustom_1__cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) { ^ x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/pcl/pcl_visualization.o -L/usr/lib/x86_64-linux-gnu/ -lpcl_keypoints -lpcl_outofcore -lpcl_people -lpcl_recognition -lpcl_registration -lpcl_segmentation -lpcl_features -lpcl_surface -lpcl_tracking -lpcl_filters -lpcl_sample_consensus -lpcl_visualization -lpcl_io -lOpenNI -lpcl_search -lpcl_kdtree -lflann_cpp -lpcl_octree -lpcl_common -o /python-pcl/pcl/pcl_visualization.cpython-36m-x86_64-linux-gnu.so /usr/local/lib/python3.6/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /python-pcl/pcl/_pcl.pxd tree = Parsing.p_module(s, pxd, full_module_name) warning: pcl/pxi/PointCloud_PCLPointCloud2.pxi:220:27: local variable 'p' referenced before assignment warning: pcl/pxi/PointCloud_PCLPointCloud2.pxi:220:56: local variable 'p' referenced before assignment warning: pcl/pxi/PointCloud_PCLPointCloud2.pxi:220:85: local variable 'p' referenced before assignment warning: pcl/pxi/PointCloud_PCLPointCloud2.pxi:220:114: local variable 'p' referenced before assignment warning: pcl/pxi/PointCloud_PCLPointCloud2.pxi:221:27: local variable 'p' referenced before assignment warning: pcl/pxi/PointCloud_PCLPointCloud2.pxi:221:56: local variable 'p' referenced before assignment warning: pcl/pxi/PointCloud_PCLPointCloud2.pxi:221:85: local variable 'p' referenced before assignment warning: pcl/pxi/PointCloud_PCLPointCloud2.pxi:221:114: local variable 'p' referenced before assignment warning: pcl/pxi/PointCloud_PCLPointCloud2.pxi:222:27: local variable 'p' referenced before assignment warning: pcl/pxi/PointCloud_PCLPointCloud2.pxi:222:56: local variable 'p' referenced before assignment warning: pcl/pxi/PointCloud_PCLPointCloud2.pxi:222:85: local variable 'p' referenced before assignment warning: pcl/pxi/PointCloud_PCLPointCloud2.pxi:222:114: local variable 'p' referenced before assignment /usr/local/lib/python3.6/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /python-pcl/pcl/pcl_visualization.pxd tree = Parsing.p_module(s, pxd, full_module_name) running install Checking .pth file support in /usr/local/lib/python3.6/dist-packages/ /usr/bin/python3.6 -E -c pass TEST PASSED: /usr/local/lib/python3.6/dist-packages/ appears to support .pth files running bdist_egg running egg_info creating python_pcl.egg-info writing python_pcl.egg-info/PKG-INFO writing dependency_links to python_pcl.egg-info/dependency_links.txt writing requirements to python_pcl.egg-info/requires.txt writing top-level names to python_pcl.egg-info/top_level.txt writing manifest file 'python_pcl.egg-info/SOURCES.txt' reading manifest file 'python_pcl.egg-info/SOURCES.txt' writing manifest file 'python_pcl.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_py creating build/lib.linux-x86_64-3.6 creating build/lib.linux-x86_64-3.6/pcl copying pcl/__init__.py -> build/lib.linux-x86_64-3.6/pcl running build_ext skipping 'pcl/_pcl_172.cpp' Cython extension (up-to-date) building 'pcl._pcl' extension x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET=1 -I/usr/local/lib/python3.6/dist-packages/numpy/core/include -I/usr/include/pcl-1.7 -I/usr/include/ni -I/usr/include/eigen3 -I/usr/include/ni -I/usr/include/openni2 -I/usr/include/vtk-6.2 -I/usr/include/python3.6m -c pcl/_pcl_172.cpp -o build/temp.linux-x86_64-3.6/pcl/_pcl_172.o -std=c++11 In file included from /usr/local/lib/python3.6/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1822:0, from /usr/local/lib/python3.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/local/lib/python3.6/dist-packages/numpy/core/include/numpy/arrayobject.h:4, from pcl/_pcl_172.cpp:661: /usr/local/lib/python3.6/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it with " \ ^ pcl/_pcl_172.cpp: In function 'int __pyx_pf_3pcl_4_pcl_18ConditionalRemoval___cinit__(__pyx_obj_3pcl_4_pcl_ConditionalRemoval*, __pyx_obj_3pcl_4_pcl_ConditionAnd*)': pcl/_pcl_172.cpp:54717:153: warning: 'pcl::ConditionalRemoval<PointT>::ConditionalRemoval(pcl::ConditionalRemoval<PointT>::ConditionBasePtr, bool) [with PointT = pcl::PointXYZ; pcl::ConditionalRemoval<PointT>::ConditionBasePtr = boost::shared_ptr<pcl::ConditionBase<pcl::PointXYZ> >]' is deprecated: ConditionalRemoval(ConditionBasePtr condition, bool extract_removed_indices = false) is deprecated, please use the setCondition (ConditionBasePtr condition) function instead. [-Wdeprecated-declarations] __pyx_v_self->me = new __pyx_t_3pcl_15pcl_filters_172_ConditionalRemoval_t(((__pyx_t_3pcl_15pcl_filters_172_ConditionBasePtr_t)__pyx_v_cond->me), NULL); ^ In file included from pcl/_pcl_172.cpp:703:0: /usr/include/pcl-1.7/pcl/filters/conditional_removal.h:632:7: note: declared here ConditionalRemoval (ConditionBasePtr condition, bool extract_removed_indices = false) : ^ pcl/_pcl_172.cpp: In function 'PyObject* __pyx_pf_3pcl_4_pcl_32GeneralizedIterativeClosestPoint_4gicp(__pyx_obj_3pcl_4_pcl_GeneralizedIterativeClosestPoint*, __pyx_obj_3pcl_4_pcl_PointCloud*, __pyx_obj_3pcl_4_pcl_PointCloud*, PyObject*)': pcl/_pcl_172.cpp:59124:60: warning: 'void pcl::GeneralizedIterativeClosestPoint<PointSource, PointTarget>::setInputCloud(const PointCloudSourceConstPtr&) [with PointSource = pcl::PointXYZ; PointTarget = pcl::PointXYZ; pcl::GeneralizedIterativeClosestPoint<PointSource, PointTarget>::PointCloudSourceConstPtr = boost::shared_ptr<const pcl::PointCloud<pcl::PointXYZ> >]' is deprecated: [pcl::registration::GeneralizedIterativeClosestPoint::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead. [-Wdeprecated-declarations] __pyx_v_gicp.setInputCloud(__pyx_v_source->thisptr_shared); ^ In file included from /usr/include/pcl-1.7/pcl/registration/gicp.h:351:0, from pcl/_pcl_172.cpp:754: /usr/include/pcl-1.7/pcl/registration/impl/gicp.hpp:48:1: note: declared here pcl::GeneralizedIterativeClosestPoint<PointSource, PointTarget>::setInputCloud ( ^ pcl/_pcl_172.cpp: In function 'PyObject* __pyx_pf_3pcl_4_pcl_21IterativeClosestPoint_6icp(__pyx_obj_3pcl_4_pcl_IterativeClosestPoint*, __pyx_obj_3pcl_4_pcl_PointCloud*, __pyx_obj_3pcl_4_pcl_PointCloud*, PyObject*)': pcl/_pcl_172.cpp:59800:59: warning: 'void pcl::Registration<PointSource, PointTarget, Scalar>::setInputCloud(const PointCloudSourceConstPtr&) [with PointSource = pcl::PointXYZ; PointTarget = pcl::PointXYZ; Scalar = float; pcl::Registration<PointSource, PointTarget, Scalar>::PointCloudSourceConstPtr = boost::shared_ptr<const pcl::PointCloud<pcl::PointXYZ> >]' is deprecated: [pcl::registration::Registration::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead. [-Wdeprecated-declarations] __pyx_v_icp.setInputCloud(__pyx_v_source->thisptr_shared); ^ In file included from /usr/include/pcl-1.7/pcl/registration/registration.h:607:0, from pcl/_pcl_172.cpp:749: /usr/include/pcl-1.7/pcl/registration/impl/registration.hpp:43:1: note: declared here pcl::Registration<PointSource, PointTarget, Scalar>::setInputCloud ( ^ pcl/_pcl_172.cpp: In function 'PyObject* __pyx_pf_3pcl_4_pcl_30IterativeClosestPointNonLinear_4icp_nl(__pyx_obj_3pcl_4_pcl_IterativeClosestPointNonLinear*, __pyx_obj_3pcl_4_pcl_PointCloud*, __pyx_obj_3pcl_4_pcl_PointCloud*, PyObject*)': pcl/_pcl_172.cpp:60420:62: warning: 'void pcl::Registration<PointSource, PointTarget, Scalar>::setInputCloud(const PointCloudSourceConstPtr&) [with PointSource = pcl::PointXYZ; PointTarget = pcl::PointXYZ; Scalar = float; pcl::Registration<PointSource, PointTarget, Scalar>::PointCloudSourceConstPtr = boost::shared_ptr<const pcl::PointCloud<pcl::PointXYZ> >]' is deprecated: [pcl::registration::Registration::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead. [-Wdeprecated-declarations] __pyx_v_icp_nl.setInputCloud(__pyx_v_source->thisptr_shared); ^ In file included from /usr/include/pcl-1.7/pcl/registration/registration.h:607:0, from pcl/_pcl_172.cpp:749: /usr/include/pcl-1.7/pcl/registration/impl/registration.hpp:43:1: note: declared here pcl::Registration<PointSource, PointTarget, Scalar>::setInputCloud ( ^ pcl/_pcl_172.cpp: In function 'PyObject* __pyx_pf_3pcl_4_pcl_10PointCloud_92make_GeneralizedIterativeClosestPoint(__pyx_obj_3pcl_4_pcl_PointCloud*)': pcl/_pcl_172.cpp:73845:150: warning: 'void pcl::GeneralizedIterativeClosestPoint<PointSource, PointTarget>::setInputCloud(const PointCloudSourceConstPtr&) [with PointSource = pcl::PointXYZ; PointTarget = pcl::PointXYZ; pcl::GeneralizedIterativeClosestPoint<PointSource, PointTarget>::PointCloudSourceConstPtr = boost::shared_ptr<const pcl::PointCloud<pcl::PointXYZ> >]' is deprecated: [pcl::registration::GeneralizedIterativeClosestPoint::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead. [-Wdeprecated-declarations] __pyx_v_cGeneralizedIterativeClosestPoint->setInputCloud(((boost::shared_ptr<pcl::PointCloud<struct pcl::PointXYZ> > )__pyx_v_self->thisptr_shared)); ^ In file included from /usr/include/pcl-1.7/pcl/registration/gicp.h:351:0, from pcl/_pcl_172.cpp:754: /usr/include/pcl-1.7/pcl/registration/impl/gicp.hpp:48:1: note: declared here pcl::GeneralizedIterativeClosestPoint<PointSource, PointTarget>::setInputCloud ( ^ pcl/_pcl_172.cpp: In function 'PyObject* __pyx_pf_3pcl_4_pcl_10PointCloud_94make_IterativeClosestPointNonLinear(__pyx_obj_3pcl_4_pcl_PointCloud*)': pcl/_pcl_172.cpp:73937:148: warning: 'void pcl::Registration<PointSource, PointTarget, Scalar>::setInputCloud(const PointCloudSourceConstPtr&) [with PointSource = pcl::PointXYZ; PointTarget = pcl::PointXYZ; Scalar = float; pcl::Registration<PointSource, PointTarget, Scalar>::PointCloudSourceConstPtr = boost::shared_ptr<const pcl::PointCloud<pcl::PointXYZ> >]' is deprecated: [pcl::registration::Registration::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead. [-Wdeprecated-declarations] __pyx_v_cIterativeClosestPointNonLinear->setInputCloud(((boost::shared_ptr<pcl::PointCloud<struct pcl::PointXYZ> > )__pyx_v_self->thisptr_shared)); ^ In file included from /usr/include/pcl-1.7/pcl/registration/registration.h:607:0, from pcl/_pcl_172.cpp:749: /usr/include/pcl-1.7/pcl/registration/impl/registration.hpp:43:1: note: declared here pcl::Registration<PointSource, PointTarget, Scalar>::setInputCloud ( ^ pcl/_pcl_172.cpp: In function 'PyObject* __pyx_pf_3pcl_4_pcl_10PointCloud_96make_IterativeClosestPoint(__pyx_obj_3pcl_4_pcl_PointCloud*)': pcl/_pcl_172.cpp:74029:139: warning: 'void pcl::Registration<PointSource, PointTarget, Scalar>::setInputCloud(const PointCloudSourceConstPtr&) [with PointSource = pcl::PointXYZ; PointTarget = pcl::PointXYZ; Scalar = float; pcl::Registration<PointSource, PointTarget, Scalar>::PointCloudSourceConstPtr = boost::shared_ptr<const pcl::PointCloud<pcl::PointXYZ> >]' is deprecated: [pcl::registration::Registration::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead. [-Wdeprecated-declarations] __pyx_v_cIterativeClosestPoint->setInputCloud(((boost::shared_ptr<pcl::PointCloud<struct pcl::PointXYZ> > )__pyx_v_self->thisptr_shared)); ^ In file included from /usr/include/pcl-1.7/pcl/registration/registration.h:607:0, from pcl/_pcl_172.cpp:749: /usr/include/pcl-1.7/pcl/registration/impl/registration.hpp:43:1: note: declared here pcl::Registration<PointSource, PointTarget, Scalar>::setInputCloud ( ^ pcl/_pcl_172.cpp: In function 'PyObject* __pyx_pf_3pcl_4_pcl_29PointCloud_PointWithViewpoint_12from_list(__pyx_obj_3pcl_4_pcl_PointCloud_PointWithViewpoint*, PyObject*)': pcl/_pcl_172.cpp:89512:77: warning: variable '__pyx_t_8' set but not used [-Wunused-but-set-variable] __pyx_ctuple_float__and_float__and_float__and_float__and_float__and_float __pyx_t_8; ^ pcl/_pcl_172.cpp: In function 'PyObject* __pyx_pw_3pcl_4_pcl_8Vertices_7to_array(PyObject*, PyObject*)': pcl/_pcl_172.cpp:121550:33: warning: '<anonymous>' may be used uninitialized in this function [-Wmaybe-uninitialized] return PyInt_FromSize_t(ival); ^ pcl/_pcl_172.cpp:15643:18: note: '<anonymous>' was declared here __pyx_t_14 = __pyx_f_3pcl_4_pcl_8Vertices_thisptr(__pyx_v_self)->vertices.at(__pyx_v_i); ^ pcl/_pcl_172.cpp: In function 'PyObject* __pyx_pf_3pcl_4_pcl_14PCLPointCloud2_12to_array(__pyx_obj_3pcl_4_pcl_PCLPointCloud2*)': pcl/_pcl_172.cpp:96757:31: warning: '__pyx_v_p' may be used uninitialized in this function [-Wmaybe-uninitialized] struct pcl::PCLPointCloud2 *__pyx_v_p; ^ x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET=1 -I/usr/local/lib/python3.6/dist-packages/numpy/core/include -I/usr/include/pcl-1.7 -I/usr/include/ni -I/usr/include/eigen3 -I/usr/include/ni -I/usr/include/openni2 -I/usr/include/vtk-6.2 -I/usr/include/python3.6m -c pcl/minipcl.cpp -o build/temp.linux-x86_64-3.6/pcl/minipcl.o -std=c++11 x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET=1 -I/usr/local/lib/python3.6/dist-packages/numpy/core/include -I/usr/include/pcl-1.7 -I/usr/include/ni -I/usr/include/eigen3 -I/usr/include/ni -I/usr/include/openni2 -I/usr/include/vtk-6.2 -I/usr/include/python3.6m -c pcl/ProjectInliers.cpp -o build/temp.linux-x86_64-3.6/pcl/ProjectInliers.o -std=c++11 x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/pcl/_pcl_172.o build/temp.linux-x86_64-3.6/pcl/minipcl.o build/temp.linux-x86_64-3.6/pcl/ProjectInliers.o -L/usr/lib/x86_64-linux-gnu/ -lpcl_keypoints -lpcl_outofcore -lpcl_people -lpcl_recognition -lpcl_registration -lpcl_segmentation -lpcl_features -lpcl_surface -lpcl_tracking -lpcl_filters -lpcl_sample_consensus -lpcl_visualization -lpcl_io -lOpenNI -lpcl_search -lpcl_kdtree -lflann_cpp -lpcl_octree -lpcl_common -o build/lib.linux-x86_64-3.6/pcl/_pcl.cpython-36m-x86_64-linux-gnu.so skipping 'pcl/pcl_visualization.cpp' Cython extension (up-to-date) building 'pcl.pcl_visualization' extension x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET=1 -I/usr/local/lib/python3.6/dist-packages/numpy/core/include -I/usr/include/pcl-1.7 -I/usr/include/ni -I/usr/include/eigen3 -I/usr/include/ni -I/usr/include/openni2 -I/usr/include/vtk-6.2 -I/usr/include/python3.6m -c pcl/pcl_visualization.cpp -o build/temp.linux-x86_64-3.6/pcl/pcl_visualization.o -std=c++11 In file included from /usr/local/lib/python3.6/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1822:0, from /usr/local/lib/python3.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/local/lib/python3.6/dist-packages/numpy/core/include/numpy/arrayobject.h:4, from pcl/pcl_visualization.cpp:649: /usr/local/lib/python3.6/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it with " \ ^ In file included from pcl/pcl_visualization.cpp:641:0: /usr/include/pcl-1.7/pcl/visualization/cloud_viewer.h:202:14: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr<CloudViewer_impl> impl_; ^ In file included from /usr/include/c++/5/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from pcl/pcl_visualization.cpp:618: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template<typename> class auto_ptr; ^ pcl/pcl_visualization.cpp:6342:12: warning: 'int __pyx_pw_3pcl_17pcl_visualization_31PointCloudColorHandleringCustom_1__cinit__(PyObject*, PyObject*, PyObject*)' defined but not used [-Wunused-function] static int __pyx_pw_3pcl_17pcl_visualization_31PointCloudColorHandleringCustom_1__cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) { ^ x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/pcl/pcl_visualization.o -L/usr/lib/x86_64-linux-gnu/ -lpcl_keypoints -lpcl_outofcore -lpcl_people -lpcl_recognition -lpcl_registration -lpcl_segmentation -lpcl_features -lpcl_surface -lpcl_tracking -lpcl_filters -lpcl_sample_consensus -lpcl_visualization -lpcl_io -lOpenNI -lpcl_search -lpcl_kdtree -lflann_cpp -lpcl_octree -lpcl_common -o build/lib.linux-x86_64-3.6/pcl/pcl_visualization.cpython-36m-x86_64-linux-gnu.so creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/egg creating build/bdist.linux-x86_64/egg/pcl copying build/lib.linux-x86_64-3.6/pcl/_pcl.cpython-36m-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/egg/pcl copying build/lib.linux-x86_64-3.6/pcl/__init__.py -> build/bdist.linux-x86_64/egg/pcl copying build/lib.linux-x86_64-3.6/pcl/pcl_visualization.cpython-36m-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/egg/pcl byte-compiling build/bdist.linux-x86_64/egg/pcl/__init__.py to __init__.cpython-36.pyc creating stub loader for pcl/_pcl.cpython-36m-x86_64-linux-gnu.so creating stub loader for pcl/pcl_visualization.cpython-36m-x86_64-linux-gnu.so byte-compiling build/bdist.linux-x86_64/egg/pcl/_pcl.py to _pcl.cpython-36.pyc byte-compiling build/bdist.linux-x86_64/egg/pcl/pcl_visualization.py to pcl_visualization.cpython-36.pyc creating build/bdist.linux-x86_64/egg/EGG-INFO copying python_pcl.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO copying python_pcl.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying python_pcl.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying python_pcl.egg-info/not-zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO copying python_pcl.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying python_pcl.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO writing build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt creating dist creating 'dist/python_pcl-0.3.0rc1-py3.6-linux-x86_64.egg' and adding 'build/bdist.linux-x86_64/egg' to it removing 'build/bdist.linux-x86_64/egg' (and everything under it) Processing python_pcl-0.3.0rc1-py3.6-linux-x86_64.egg creating /usr/local/lib/python3.6/dist-packages/python_pcl-0.3.0rc1-py3.6-linux-x86_64.egg Extracting python_pcl-0.3.0rc1-py3.6-linux-x86_64.egg to /usr/local/lib/python3.6/dist-packages Adding python-pcl 0.3.0rc1 to easy-install.pth file Installed /usr/local/lib/python3.6/dist-packages/python_pcl-0.3.0rc1-py3.6-linux-x86_64.egg Processing dependencies for python-pcl==0.3.0rc1 Searching for nose Reading https://pypi.python.org/simple/nose/ Best match: nose 1.3.7 Downloading https://files.pythonhosted.org/packages/58/a5/0dc93c3ec33f4e281849523a5a913fa1eea9a3068acfa754d44d88107a44/nose-1.3.7.tar.gz#sha256=f1bffef9cbc82628f6e7d7b40d7e255aefaa1adb6a1b1d26c69a8b79e6208a98 Processing nose-1.3.7.tar.gz Writing /tmp/easy_install-a78tcadf/nose-1.3.7/setup.cfg Running nose-1.3.7/setup.py -q bdist_egg --dist-dir /tmp/easy_install-a78tcadf/nose-1.3.7/egg-dist-tmp-vb76nikq no previously-included directories found matching 'doc/.build' creating /usr/local/lib/python3.6/dist-packages/nose-1.3.7-py3.6.egg Extracting nose-1.3.7-py3.6.egg to /usr/local/lib/python3.6/dist-packages Adding nose 1.3.7 to easy-install.pth file Installing nosetests script to /usr/local/bin Installing nosetests-3.6 script to /usr/local/bin Installed /usr/local/lib/python3.6/dist-packages/nose-1.3.7-py3.6.egg Searching for mock Reading https://pypi.python.org/simple/mock/ Best match: mock 3.0.5 Downloading https://files.pythonhosted.org/packages/2e/ab/4fe657d78b270aa6a32f027849513b829b41b0f28d9d8d7f8c3d29ea559a/mock-3.0.5.tar.gz#sha256=83657d894c90d5681d62155c82bda9c1187827525880eda8ff5df4ec813437c3 Processing mock-3.0.5.tar.gz Writing /tmp/easy_install-znkep8nj/mock-3.0.5/setup.cfg Running mock-3.0.5/setup.py -q bdist_egg --dist-dir /tmp/easy_install-znkep8nj/mock-3.0.5/egg-dist-tmp-1amvz8tt warning: install_lib: 'build/lib' does not exist -- no Python modules to install zip_safe flag not set; analyzing archive contents... Moving UNKNOWN-3.0.5-py3.6.egg to /usr/local/lib/python3.6/dist-packages Adding UNKNOWN 3.0.5 to easy-install.pth file Installed /usr/local/lib/python3.6/dist-packages/UNKNOWN-3.0.5-py3.6.egg error: The 'mock' distribution was not found and is required by python-pcl The command '/bin/sh -c pip install -r requirements.txt && python3.6 setup.py build_ext -i && python3.6 setup.py install' returned a non-zero code: 1
same error for me.
I'm experiencing the build issues described in https://github.com/strawlab/python-pcl/issues/298 and https://github.com/strawlab/python-pcl/issues/297
@DmitrySavchuk suggested using the ubuntu 16.04 dockerfile. I'm also having trouble using this method. I'm new to Docker so I may have misconfigured it.
System:
Command: