errors building from svn on osx

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

errors building from svn on osx

George Profenza
Hello,

I've tried building PCL using the source from svn but ran into these errors:
"
In file included from /Users/hm/Downloads/PCL/pcl-trunk/people/include/pcl/people/head_based_subcluster.h:230:
/Users/hm/Downloads/PCL/pcl-trunk/people/include/pcl/people/impl/head_based_subcluster.hpp:212:29: error: use of overloaded
      operator '=' is ambiguous (with operand types 'ColXpr' (aka 'Block<Eigen::Matrix<float, 3, -1, 0, 3, -1>,
      internal::traits<Matrix<float, 3, -1, 0, 3, -1> >::RowsAtCompileTime, 1, !IsRowMajor>') and 'const
      CwiseBinaryOp<internal::scalar_difference_op<Scalar>, const Eigen::Matrix<float, 3, 1, 0, 3, 1>, const
      Eigen::CwiseUnaryOp<Eigen::internal::scalar_multiple_op<float>, const Eigen::Matrix<float, 3, 1, 0, 3, 1> > >')
    maxima_projected.col(i) = p_current_eigen - head_ground_coeffs * t;         // projection of the point on the groundplane
    ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/hm/Downloads/PCL/pcl-trunk/people/include/pcl/people/impl/head_based_subcluster.hpp:318:11: note: in instantiation of
      member function 'pcl::people::HeadBasedSubclustering<pcl::PointXYZRGBA>::createSubClusters' requested here
          createSubClusters(*it, height_map_obj.getMaximaNumberAfterFiltering(),...
          ^
/Users/hm/Downloads/PCL/pcl-trunk/people/include/pcl/people/impl/ground_based_people_detection_app.hpp:279:17: note: in
      instantiation of member function 'pcl::people::HeadBasedSubclustering<pcl::PointXYZRGBA>::subcluster' requested here
  subclustering.subcluster(clusters);
                ^
/Users/hm/Downloads/PCL/pcl-trunk/people/apps/main_ground_based_people_detection.cpp:217:23: note: in instantiation of member
      function 'pcl::people::GroundBasedPeopleDetectionApp<pcl::PointXYZRGBA>::compute' requested here
      people_detector.compute(clusters);                           // perform people detection
                      ^
/opt/local/include/eigen3/Eigen/src/Core/MatrixBase.h:154:14: note: candidate function [with OtherDerived =
      Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<float>, const Eigen::Matrix<float, 3, 1, 0, 3, 1>, const
      Eigen::CwiseUnaryOp<Eigen::internal::scalar_multiple_op<float>, const Eigen::Matrix<float, 3, 1, 0, 3, 1> > >]
    Derived& operator=(const DenseBase<OtherDerived>& other);
             ^
/opt/local/include/eigen3/Eigen/src/Core/MatrixBase.h:157:14: note: candidate function [with OtherDerived =
      Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<float>, const Eigen::Matrix<float, 3, 1, 0, 3, 1>, const
      Eigen::CwiseUnaryOp<Eigen::internal::scalar_multiple_op<float>, const Eigen::Matrix<float, 3, 1, 0, 3, 1> > >]
    Derived& operator=(const EigenBase<OtherDerived>& other);
             ^
1 warning and 1 error generated.
make[2]: *** [people/CMakeFiles/pcl_ground_based_rgbd_people_detector.dir/apps/main_ground_based_people_detection.cpp.o] Error 1
make[1]: *** [people/CMakeFiles/pcl_ground_based_rgbd_people_detector.dir/all] Error 2
make: *** [all] Error 2
"

Prior to this I've installed PCL and the dependencies using the macports bundled packages from pointclouds.org

Any clues on how I can get past the error ?

Thanks,
George

_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: errors building from svn on osx

Matteo Munaro

Hi George,

try changing row 212 of /Users/hm/Downloads/PCL/pcl-trunk/people/include/pcl/people/impl/head_based_subcluster.hpp
from
maxima_projected.col(i) = p_current_eigen - head_ground_coeffs * t;         // projection of the point on the groundplane
to
maxima_projected.col(i) = Eigen::Vector3f(p_current_eigen - head_ground_coeffs * t);         // projection of the point on the groundplane

Let me know if it compiles then.


Cheers,
Matteo
___________________________________________

Matteo MUNARO

PhD Student
Intelligent and Autonomous Systems Lab (IAS-Lab)
Department of Information Engineering (DEI)
Faculty of Engineering, The University of Padua
Via Ognissanti 72, I-35131 Padova, Italy

phone: +390498277831
___________________________________________



From: [hidden email]
Date: Wed, 20 Feb 2013 10:50:44 +0000
To: [hidden email]
Subject: [PCL-users] errors building from svn on osx

Hello,

I've tried building PCL using the source from svn but ran into these errors:
"
In file included from /Users/hm/Downloads/PCL/pcl-trunk/people/include/pcl/people/head_based_subcluster.h:230:
/Users/hm/Downloads/PCL/pcl-trunk/people/include/pcl/people/impl/head_based_subcluster.hpp:212:29: error: use of overloaded
      operator '=' is ambiguous (with operand types 'ColXpr' (aka 'Block<Eigen::Matrix<float, 3, -1, 0, 3, -1>,
      internal::traits<Matrix<float, 3, -1, 0, 3, -1> >::RowsAtCompileTime, 1, !IsRowMajor>') and 'const
      CwiseBinaryOp<internal::scalar_difference_op<Scalar>, const Eigen::Matrix<float, 3, 1, 0, 3, 1>, const
      Eigen::CwiseUnaryOp<Eigen::internal::scalar_multiple_op<float>, const Eigen::Matrix<float, 3, 1, 0, 3, 1> > >')
    maxima_projected.col(i) = p_current_eigen - head_ground_coeffs * t;         // projection of the point on the groundplane
    ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/hm/Downloads/PCL/pcl-trunk/people/include/pcl/people/impl/head_based_subcluster.hpp:318:11: note: in instantiation of
      member function 'pcl::people::HeadBasedSubclustering<pcl::PointXYZRGBA>::createSubClusters' requested here
          createSubClusters(*it, height_map_obj.getMaximaNumberAfterFiltering(),...
          ^
/Users/hm/Downloads/PCL/pcl-trunk/people/include/pcl/people/impl/ground_based_people_detection_app.hpp:279:17: note: in
      instantiation of member function 'pcl::people::HeadBasedSubclustering<pcl::PointXYZRGBA>::subcluster' requested here
  subclustering.subcluster(clusters);
                ^
/Users/hm/Downloads/PCL/pcl-trunk/people/apps/main_ground_based_people_detection.cpp:217:23: note: in instantiation of member
      function 'pcl::people::GroundBasedPeopleDetectionApp<pcl::PointXYZRGBA>::compute' requested here
      people_detector.compute(clusters);                           // perform people detection
                      ^
/opt/local/include/eigen3/Eigen/src/Core/MatrixBase.h:154:14: note: candidate function [with OtherDerived =
      Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<float>, const Eigen::Matrix<float, 3, 1, 0, 3, 1>, const
      Eigen::CwiseUnaryOp<Eigen::internal::scalar_multiple_op<float>, const Eigen::Matrix<float, 3, 1, 0, 3, 1> > >]
    Derived& operator=(const DenseBase<OtherDerived>& other);
             ^
/opt/local/include/eigen3/Eigen/src/Core/MatrixBase.h:157:14: note: candidate function [with OtherDerived =
      Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<float>, const Eigen::Matrix<float, 3, 1, 0, 3, 1>, const
      Eigen::CwiseUnaryOp<Eigen::internal::scalar_multiple_op<float>, const Eigen::Matrix<float, 3, 1, 0, 3, 1> > >]
    Derived& operator=(const EigenBase<OtherDerived>& other);
             ^
1 warning and 1 error generated.
make[2]: *** [people/CMakeFiles/pcl_ground_based_rgbd_people_detector.dir/apps/main_ground_based_people_detection.cpp.o] Error 1
make[1]: *** [people/CMakeFiles/pcl_ground_based_rgbd_people_detector.dir/all] Error 2
make: *** [all] Error 2
"

Prior to this I've installed PCL and the dependencies using the macports bundled packages from pointclouds.org

Any clues on how I can get past the error ?

Thanks,
George

_______________________________________________ [hidden email] / http://pointclouds.org http://pointclouds.org/mailman/listinfo/pcl-users

_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: errors building from svn on osx

George Profenza
Hi Mateo,

I gave it a go, but unfortunately the problem seems to persist:
"
In file included from /Users/hm/Downloads/PCL/pcl-trunk/people/include/pcl/people/head_based_subcluster.h:230:
/Users/hm/Downloads/PCL/pcl-trunk/people/include/pcl/people/impl/head_based_subcluster.hpp:213:26: error: use of overloaded
      operator '=' is ambiguous (with operand types 'ColXpr' (aka 'Block<Eigen::Matrix<float, 3, -1, 0, 3, -1>,
      internal::traits<Matrix<float, 3, -1, 0, 3, -1> >::RowsAtCompileTime, 1, !IsRowMajor>') and 'Eigen::Vector3f'
      (aka 'Matrix<float, 3, 1>'))
        maxima_projected.col(i) = Eigen::Vector3f(p_current_eigen - head_ground_coeffs * t);         // projection of...
        ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/hm/Downloads/PCL/pcl-trunk/people/include/pcl/people/impl/head_based_subcluster.hpp:319:11: note: in instantiation of
      member function 'pcl::people::HeadBasedSubclustering<pcl::PointXYZRGBA>::createSubClusters' requested here
          createSubClusters(*it, height_map_obj.getMaximaNumberAfterFiltering(),...
          ^
/Users/hm/Downloads/PCL/pcl-trunk/people/include/pcl/people/impl/ground_based_people_detection_app.hpp:279:17: note: in
      instantiation of member function 'pcl::people::HeadBasedSubclustering<pcl::PointXYZRGBA>::subcluster' requested here
  subclustering.subcluster(clusters);
                ^
/Users/hm/Downloads/PCL/pcl-trunk/people/apps/main_ground_based_people_detection.cpp:217:23: note: in instantiation of member
      function 'pcl::people::GroundBasedPeopleDetectionApp<pcl::PointXYZRGBA>::compute' requested here
      people_detector.compute(clusters);                           // perform people detection
                      ^
/opt/local/include/eigen3/Eigen/src/Core/MatrixBase.h:154:14: note: candidate function [with OtherDerived =
      Eigen::Matrix<float, 3, 1, 0, 3, 1>]
    Derived& operator=(const DenseBase<OtherDerived>& other);
             ^
/opt/local/include/eigen3/Eigen/src/Core/MatrixBase.h:157:14: note: candidate function [with OtherDerived =
      Eigen::Matrix<float, 3, 1, 0, 3, 1>]
    Derived& operator=(const EigenBase<OtherDerived>& other);
             ^
1 warning and 1 error generated.
make[2]: *** [people/CMakeFiles/pcl_ground_based_rgbd_people_detector.dir/apps/main_ground_based_people_detection.cpp.o] Error 1
make[1]: *** [people/CMakeFiles/pcl_ground_based_rgbd_people_detector.dir/all] Error 2
make: *** [all] Error 2

"

Thanks,
George

On Wed, Feb 20, 2013 at 11:20 AM, Matteo Munaro <[hidden email]> wrote:

Hi George,

try changing row 212 of /Users/hm/Downloads/PCL/pcl-trunk/people/include/pcl/people/impl/head_based_subcluster.hpp
from

maxima_projected.col(i) = p_current_eigen - head_ground_coeffs * t;         // projection of the point on the groundplane
to
maxima_projected.col(i) = Eigen::Vector3f(p_current_eigen - head_ground_coeffs * t);         // projection of the point on the groundplane

Let me know if it compiles then.


Cheers,
Matteo
___________________________________________

Matteo MUNARO

PhD Student
Intelligent and Autonomous Systems Lab (IAS-Lab)
Department of Information Engineering (DEI)
Faculty of Engineering, The University of Padua
Via Ognissanti 72, I-35131 Padova, Italy

phone: <a href="tel:%2B390498277831" value="+390498277831" target="_blank">+390498277831
___________________________________________



From: [hidden email]
Date: Wed, 20 Feb 2013 10:50:44 +0000
To: [hidden email]
Subject: [PCL-users] errors building from svn on osx


Hello,

I've tried building PCL using the source from svn but ran into these errors:
"
In file included from /Users/hm/Downloads/PCL/pcl-trunk/people/include/pcl/people/head_based_subcluster.h:230:
/Users/hm/Downloads/PCL/pcl-trunk/people/include/pcl/people/impl/head_based_subcluster.hpp:212:29: error: use of overloaded
      operator '=' is ambiguous (with operand types 'ColXpr' (aka 'Block<Eigen::Matrix<float, 3, -1, 0, 3, -1>,
      internal::traits<Matrix<float, 3, -1, 0, 3, -1> >::RowsAtCompileTime, 1, !IsRowMajor>') and 'const
      CwiseBinaryOp<internal::scalar_difference_op<Scalar>, const Eigen::Matrix<float, 3, 1, 0, 3, 1>, const
      Eigen::CwiseUnaryOp<Eigen::internal::scalar_multiple_op<float>, const Eigen::Matrix<float, 3, 1, 0, 3, 1> > >')
    maxima_projected.col(i) = p_current_eigen - head_ground_coeffs * t;         // projection of the point on the groundplane
    ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/hm/Downloads/PCL/pcl-trunk/people/include/pcl/people/impl/head_based_subcluster.hpp:318:11: note: in instantiation of
      member function 'pcl::people::HeadBasedSubclustering<pcl::PointXYZRGBA>::createSubClusters' requested here
          createSubClusters(*it, height_map_obj.getMaximaNumberAfterFiltering(),...
          ^
/Users/hm/Downloads/PCL/pcl-trunk/people/include/pcl/people/impl/ground_based_people_detection_app.hpp:279:17: note: in
      instantiation of member function 'pcl::people::HeadBasedSubclustering<pcl::PointXYZRGBA>::subcluster' requested here
  subclustering.subcluster(clusters);
                ^
/Users/hm/Downloads/PCL/pcl-trunk/people/apps/main_ground_based_people_detection.cpp:217:23: note: in instantiation of member
      function 'pcl::people::GroundBasedPeopleDetectionApp<pcl::PointXYZRGBA>::compute' requested here
      people_detector.compute(clusters);                           // perform people detection
                      ^
/opt/local/include/eigen3/Eigen/src/Core/MatrixBase.h:154:14: note: candidate function [with OtherDerived =
      Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<float>, const Eigen::Matrix<float, 3, 1, 0, 3, 1>, const
      Eigen::CwiseUnaryOp<Eigen::internal::scalar_multiple_op<float>, const Eigen::Matrix<float, 3, 1, 0, 3, 1> > >]
    Derived& operator=(const DenseBase<OtherDerived>& other);
             ^
/opt/local/include/eigen3/Eigen/src/Core/MatrixBase.h:157:14: note: candidate function [with OtherDerived =
      Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<float>, const Eigen::Matrix<float, 3, 1, 0, 3, 1>, const
      Eigen::CwiseUnaryOp<Eigen::internal::scalar_multiple_op<float>, const Eigen::Matrix<float, 3, 1, 0, 3, 1> > >]
    Derived& operator=(const EigenBase<OtherDerived>& other);
             ^
1 warning and 1 error generated.
make[2]: *** [people/CMakeFiles/pcl_ground_based_rgbd_people_detector.dir/apps/main_ground_based_people_detection.cpp.o] Error 1
make[1]: *** [people/CMakeFiles/pcl_ground_based_rgbd_people_detector.dir/all] Error 2
make: *** [all] Error 2
"

Prior to this I've installed PCL and the dependencies using the macports bundled packages from pointclouds.org

Any clues on how I can get past the error ?

Thanks,
George

_______________________________________________ [hidden email] / http://pointclouds.org http://pointclouds.org/mailman/listinfo/pcl-users

_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users



_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: errors building from svn on osx

Radu B. Rusu
Administrator
Use .matrix() instead.

Cheers,
Radu.

On Feb 20, 2013, at 5:14, George Profenza <[hidden email]> wrote:

Hi Mateo,

I gave it a go, but unfortunately the problem seems to persist:
"
In file included from /Users/hm/Downloads/PCL/pcl-trunk/people/include/pcl/people/head_based_subcluster.h:230:
/Users/hm/Downloads/PCL/pcl-trunk/people/include/pcl/people/impl/head_based_subcluster.hpp:213:26: error: use of overloaded
      operator '=' is ambiguous (with operand types 'ColXpr' (aka 'Block<Eigen::Matrix<float, 3, -1, 0, 3, -1>,
      internal::traits<Matrix<float, 3, -1, 0, 3, -1> >::RowsAtCompileTime, 1, !IsRowMajor>') and 'Eigen::Vector3f'
      (aka 'Matrix<float, 3, 1>'))
        maxima_projected.col(i) = Eigen::Vector3f(p_current_eigen - head_ground_coeffs * t);         // projection of...
        ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/hm/Downloads/PCL/pcl-trunk/people/include/pcl/people/impl/head_based_subcluster.hpp:319:11: note: in instantiation of
      member function 'pcl::people::HeadBasedSubclustering<pcl::PointXYZRGBA>::createSubClusters' requested here
          createSubClusters(*it, height_map_obj.getMaximaNumberAfterFiltering(),...
          ^
/Users/hm/Downloads/PCL/pcl-trunk/people/include/pcl/people/impl/ground_based_people_detection_app.hpp:279:17: note: in
      instantiation of member function 'pcl::people::HeadBasedSubclustering<pcl::PointXYZRGBA>::subcluster' requested here
  subclustering.subcluster(clusters);
                ^
/Users/hm/Downloads/PCL/pcl-trunk/people/apps/main_ground_based_people_detection.cpp:217:23: note: in instantiation of member
      function 'pcl::people::GroundBasedPeopleDetectionApp<pcl::PointXYZRGBA>::compute' requested here
      people_detector.compute(clusters);                           // perform people detection
                      ^
/opt/local/include/eigen3/Eigen/src/Core/MatrixBase.h:154:14: note: candidate function [with OtherDerived =
      Eigen::Matrix<float, 3, 1, 0, 3, 1>]
    Derived& operator=(const DenseBase<OtherDerived>& other);
             ^
/opt/local/include/eigen3/Eigen/src/Core/MatrixBase.h:157:14: note: candidate function [with OtherDerived =
      Eigen::Matrix<float, 3, 1, 0, 3, 1>]
    Derived& operator=(const EigenBase<OtherDerived>& other);
             ^
1 warning and 1 error generated.
make[2]: *** [people/CMakeFiles/pcl_ground_based_rgbd_people_detector.dir/apps/main_ground_based_people_detection.cpp.o] Error 1
make[1]: *** [people/CMakeFiles/pcl_ground_based_rgbd_people_detector.dir/all] Error 2
make: *** [all] Error 2

"

Thanks,
George

On Wed, Feb 20, 2013 at 11:20 AM, Matteo Munaro <[hidden email]> wrote:

Hi George,

try changing row 212 of /Users/hm/Downloads/PCL/pcl-trunk/people/include/pcl/people/impl/head_based_subcluster.hpp
from

maxima_projected.col(i) = p_current_eigen - head_ground_coeffs * t;         // projection of the point on the groundplane
to
maxima_projected.col(i) = Eigen::Vector3f(p_current_eigen - head_ground_coeffs * t);         // projection of the point on the groundplane

Let me know if it compiles then.


Cheers,
Matteo
___________________________________________

Matteo MUNARO

PhD Student
Intelligent and Autonomous Systems Lab (IAS-Lab)
Department of Information Engineering (DEI)
Faculty of Engineering, The University of Padua
Via Ognissanti 72, I-35131 Padova, Italy

phone: <a href="tel:%2B390498277831" value="+390498277831" target="_blank">+390498277831
___________________________________________



From: [hidden email]
Date: Wed, 20 Feb 2013 10:50:44 +0000
To: [hidden email]
Subject: [PCL-users] errors building from svn on osx


Hello,

I've tried building PCL using the source from svn but ran into these errors:
"
In file included from /Users/hm/Downloads/PCL/pcl-trunk/people/include/pcl/people/head_based_subcluster.h:230:
/Users/hm/Downloads/PCL/pcl-trunk/people/include/pcl/people/impl/head_based_subcluster.hpp:212:29: error: use of overloaded
      operator '=' is ambiguous (with operand types 'ColXpr' (aka 'Block<Eigen::Matrix<float, 3, -1, 0, 3, -1>,
      internal::traits<Matrix<float, 3, -1, 0, 3, -1> >::RowsAtCompileTime, 1, !IsRowMajor>') and 'const
      CwiseBinaryOp<internal::scalar_difference_op<Scalar>, const Eigen::Matrix<float, 3, 1, 0, 3, 1>, const
      Eigen::CwiseUnaryOp<Eigen::internal::scalar_multiple_op<float>, const Eigen::Matrix<float, 3, 1, 0, 3, 1> > >')
    maxima_projected.col(i) = p_current_eigen - head_ground_coeffs * t;         // projection of the point on the groundplane
    ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/hm/Downloads/PCL/pcl-trunk/people/include/pcl/people/impl/head_based_subcluster.hpp:318:11: note: in instantiation of
      member function 'pcl::people::HeadBasedSubclustering<pcl::PointXYZRGBA>::createSubClusters' requested here
          createSubClusters(*it, height_map_obj.getMaximaNumberAfterFiltering(),...
          ^
/Users/hm/Downloads/PCL/pcl-trunk/people/include/pcl/people/impl/ground_based_people_detection_app.hpp:279:17: note: in
      instantiation of member function 'pcl::people::HeadBasedSubclustering<pcl::PointXYZRGBA>::subcluster' requested here
  subclustering.subcluster(clusters);
                ^
/Users/hm/Downloads/PCL/pcl-trunk/people/apps/main_ground_based_people_detection.cpp:217:23: note: in instantiation of member
      function 'pcl::people::GroundBasedPeopleDetectionApp<pcl::PointXYZRGBA>::compute' requested here
      people_detector.compute(clusters);                           // perform people detection
                      ^
/opt/local/include/eigen3/Eigen/src/Core/MatrixBase.h:154:14: note: candidate function [with OtherDerived =
      Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<float>, const Eigen::Matrix<float, 3, 1, 0, 3, 1>, const
      Eigen::CwiseUnaryOp<Eigen::internal::scalar_multiple_op<float>, const Eigen::Matrix<float, 3, 1, 0, 3, 1> > >]
    Derived& operator=(const DenseBase<OtherDerived>& other);
             ^
/opt/local/include/eigen3/Eigen/src/Core/MatrixBase.h:157:14: note: candidate function [with OtherDerived =
      Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<float>, const Eigen::Matrix<float, 3, 1, 0, 3, 1>, const
      Eigen::CwiseUnaryOp<Eigen::internal::scalar_multiple_op<float>, const Eigen::Matrix<float, 3, 1, 0, 3, 1> > >]
    Derived& operator=(const EigenBase<OtherDerived>& other);
             ^
1 warning and 1 error generated.
make[2]: *** [people/CMakeFiles/pcl_ground_based_rgbd_people_detector.dir/apps/main_ground_based_people_detection.cpp.o] Error 1
make[1]: *** [people/CMakeFiles/pcl_ground_based_rgbd_people_detector.dir/all] Error 2
make: *** [all] Error 2
"

Prior to this I've installed PCL and the dependencies using the macports bundled packages from pointclouds.org

Any clues on how I can get past the error ?

Thanks,
George

_______________________________________________ [hidden email] / http://pointclouds.org http://pointclouds.org/mailman/listinfo/pcl-users

_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users



_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: errors building from svn on osx

George Profenza
Awesome!

That did the trick, I can now use PCL, woo hoo! :)
Will try the asus sensor again tomorrow.

Thanks Radu!
On Wed, Feb 20, 2013 at 2:32 PM, Radu B. Rusu <[hidden email]> wrote:
Use .matrix() instead.

Cheers,
Radu.

On Feb 20, 2013, at 5:14, George Profenza <[hidden email]> wrote:

Hi Mateo,

I gave it a go, but unfortunately the problem seems to persist:
"
In file included from /Users/hm/Downloads/PCL/pcl-trunk/people/include/pcl/people/head_based_subcluster.h:230:
/Users/hm/Downloads/PCL/pcl-trunk/people/include/pcl/people/impl/head_based_subcluster.hpp:213:26: error: use of overloaded
      operator '=' is ambiguous (with operand types 'ColXpr' (aka 'Block<Eigen::Matrix<float, 3, -1, 0, 3, -1>,
      internal::traits<Matrix<float, 3, -1, 0, 3, -1> >::RowsAtCompileTime, 1, !IsRowMajor>') and 'Eigen::Vector3f'
      (aka 'Matrix<float, 3, 1>'))
        maxima_projected.col(i) = Eigen::Vector3f(p_current_eigen - head_ground_coeffs * t);         // projection of...
        ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/hm/Downloads/PCL/pcl-trunk/people/include/pcl/people/impl/head_based_subcluster.hpp:319:11: note: in instantiation of
      member function 'pcl::people::HeadBasedSubclustering<pcl::PointXYZRGBA>::createSubClusters' requested here
          createSubClusters(*it, height_map_obj.getMaximaNumberAfterFiltering(),...
          ^
/Users/hm/Downloads/PCL/pcl-trunk/people/include/pcl/people/impl/ground_based_people_detection_app.hpp:279:17: note: in
      instantiation of member function 'pcl::people::HeadBasedSubclustering<pcl::PointXYZRGBA>::subcluster' requested here
  subclustering.subcluster(clusters);
                ^
/Users/hm/Downloads/PCL/pcl-trunk/people/apps/main_ground_based_people_detection.cpp:217:23: note: in instantiation of member
      function 'pcl::people::GroundBasedPeopleDetectionApp<pcl::PointXYZRGBA>::compute' requested here
      people_detector.compute(clusters);                           // perform people detection
                      ^
/opt/local/include/eigen3/Eigen/src/Core/MatrixBase.h:154:14: note: candidate function [with OtherDerived =
      Eigen::Matrix<float, 3, 1, 0, 3, 1>]
    Derived& operator=(const DenseBase<OtherDerived>& other);
             ^
/opt/local/include/eigen3/Eigen/src/Core/MatrixBase.h:157:14: note: candidate function [with OtherDerived =
      Eigen::Matrix<float, 3, 1, 0, 3, 1>]
    Derived& operator=(const EigenBase<OtherDerived>& other);
             ^
1 warning and 1 error generated.
make[2]: *** [people/CMakeFiles/pcl_ground_based_rgbd_people_detector.dir/apps/main_ground_based_people_detection.cpp.o] Error 1
make[1]: *** [people/CMakeFiles/pcl_ground_based_rgbd_people_detector.dir/all] Error 2
make: *** [all] Error 2

"

Thanks,
George

On Wed, Feb 20, 2013 at 11:20 AM, Matteo Munaro <[hidden email]> wrote:

Hi George,

try changing row 212 of /Users/hm/Downloads/PCL/pcl-trunk/people/include/pcl/people/impl/head_based_subcluster.hpp
from

maxima_projected.col(i) = p_current_eigen - head_ground_coeffs * t;         // projection of the point on the groundplane
to
maxima_projected.col(i) = Eigen::Vector3f(p_current_eigen - head_ground_coeffs * t);         // projection of the point on the groundplane

Let me know if it compiles then.


Cheers,
Matteo
___________________________________________

Matteo MUNARO

PhD Student
Intelligent and Autonomous Systems Lab (IAS-Lab)
Department of Information Engineering (DEI)
Faculty of Engineering, The University of Padua
Via Ognissanti 72, I-35131 Padova, Italy

phone: <a href="tel:%2B390498277831" value="+390498277831" target="_blank">+390498277831
___________________________________________



From: [hidden email]
Date: Wed, 20 Feb 2013 10:50:44 +0000
To: [hidden email]
Subject: [PCL-users] errors building from svn on osx


Hello,

I've tried building PCL using the source from svn but ran into these errors:
"
In file included from /Users/hm/Downloads/PCL/pcl-trunk/people/include/pcl/people/head_based_subcluster.h:230:
/Users/hm/Downloads/PCL/pcl-trunk/people/include/pcl/people/impl/head_based_subcluster.hpp:212:29: error: use of overloaded
      operator '=' is ambiguous (with operand types 'ColXpr' (aka 'Block<Eigen::Matrix<float, 3, -1, 0, 3, -1>,
      internal::traits<Matrix<float, 3, -1, 0, 3, -1> >::RowsAtCompileTime, 1, !IsRowMajor>') and 'const
      CwiseBinaryOp<internal::scalar_difference_op<Scalar>, const Eigen::Matrix<float, 3, 1, 0, 3, 1>, const
      Eigen::CwiseUnaryOp<Eigen::internal::scalar_multiple_op<float>, const Eigen::Matrix<float, 3, 1, 0, 3, 1> > >')
    maxima_projected.col(i) = p_current_eigen - head_ground_coeffs * t;         // projection of the point on the groundplane
    ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/hm/Downloads/PCL/pcl-trunk/people/include/pcl/people/impl/head_based_subcluster.hpp:318:11: note: in instantiation of
      member function 'pcl::people::HeadBasedSubclustering<pcl::PointXYZRGBA>::createSubClusters' requested here
          createSubClusters(*it, height_map_obj.getMaximaNumberAfterFiltering(),...
          ^
/Users/hm/Downloads/PCL/pcl-trunk/people/include/pcl/people/impl/ground_based_people_detection_app.hpp:279:17: note: in
      instantiation of member function 'pcl::people::HeadBasedSubclustering<pcl::PointXYZRGBA>::subcluster' requested here
  subclustering.subcluster(clusters);
                ^
/Users/hm/Downloads/PCL/pcl-trunk/people/apps/main_ground_based_people_detection.cpp:217:23: note: in instantiation of member
      function 'pcl::people::GroundBasedPeopleDetectionApp<pcl::PointXYZRGBA>::compute' requested here
      people_detector.compute(clusters);                           // perform people detection
                      ^
/opt/local/include/eigen3/Eigen/src/Core/MatrixBase.h:154:14: note: candidate function [with OtherDerived =
      Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<float>, const Eigen::Matrix<float, 3, 1, 0, 3, 1>, const
      Eigen::CwiseUnaryOp<Eigen::internal::scalar_multiple_op<float>, const Eigen::Matrix<float, 3, 1, 0, 3, 1> > >]
    Derived& operator=(const DenseBase<OtherDerived>& other);
             ^
/opt/local/include/eigen3/Eigen/src/Core/MatrixBase.h:157:14: note: candidate function [with OtherDerived =
      Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<float>, const Eigen::Matrix<float, 3, 1, 0, 3, 1>, const
      Eigen::CwiseUnaryOp<Eigen::internal::scalar_multiple_op<float>, const Eigen::Matrix<float, 3, 1, 0, 3, 1> > >]
    Derived& operator=(const EigenBase<OtherDerived>& other);
             ^
1 warning and 1 error generated.
make[2]: *** [people/CMakeFiles/pcl_ground_based_rgbd_people_detector.dir/apps/main_ground_based_people_detection.cpp.o] Error 1
make[1]: *** [people/CMakeFiles/pcl_ground_based_rgbd_people_detector.dir/all] Error 2
make: *** [all] Error 2
"

Prior to this I've installed PCL and the dependencies using the macports bundled packages from pointclouds.org

Any clues on how I can get past the error ?

Thanks,
George

_______________________________________________ [hidden email] / http://pointclouds.org http://pointclouds.org/mailman/listinfo/pcl-users

_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users



_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users



_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: errors building from svn on osx

Dittmann
This post was updated on .
In reply to this post by Radu B. Rusu
Would you please commit the whole change?
Reply | Threaded
Open this post in threaded view
|

Re: errors building from svn on osx

aichim
Administrator
Fixed in r8434. Give it a try.


Cheers,
Alex
---
http://www.openperception.org



On Feb 21, 2013, at 8:29 AM, Dittmann <[hidden email]> wrote:

> Can you please write the whole change?
>
>
>
> --
> View this message in context: http://www.pcl-users.org/errors-building-from-svn-on-osx-tp4026220p4026269.html
> Sent from the Point Cloud Library (PCL) Users mailing list mailing list archive at Nabble.com.
> _______________________________________________
> [hidden email] / http://pointclouds.org
> http://pointclouds.org/mailman/listinfo/pcl-users

_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users