kgreenek / rules_pcl

Bazel rules for building PCL libraries (PointCloudLibrary)
Apache License 2.0
15 stars 15 forks source link

cant compile in mac os #19

Open the-code-samurai-97 opened 10 months ago

the-code-samurai-97 commented 10 months ago
In file included from external/pcl/surface/include/pcl/surface/3rdparty/poisson4/sparse_matrix.h:185:
external/pcl/surface/include/pcl/surface/3rdparty/poisson4/sparse_matrix.hpp:256:40: error: member reference base type 'MatrixEntry<T> *' is not a structure or union
        for(int ii=0;ii<m_ppElements[i].size();i++){m_ppElements[i][ii].Value*=V;}
                        ~~~~~~~~~~~~~~~^~~~~
external/pcl/surface/include/pcl/surface/3rdparty/poisson4/sparse_matrix.hpp:266:40: error: member reference base type 'MatrixEntry<T> *' is not a structure or union
        for(int ii=0;ii<m_ppElements[i].size();ii++){
                        ~~~~~~~~~~~~~~~^~~~~
external/pcl/surface/include/pcl/surface/3rdparty/poisson4/sparse_matrix.hpp:327:40: error: member reference base type 'MatrixEntry<T> *' is not a structure or union
        for(int ii=0;ii<m_ppElements[i].size();ii++){
                        ~~~~~~~~~~~~~~~^~~~~

the config is same as the github and I added build --repo_env=CC=/usr/bin/gcc to my .bazelrc still a problem