-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build error: ‘set’ is not a member of ‘std’ #12
Comments
Update: I tried it on a different machine and it builds just fine. It's definitely related to my machine. Though I really wish I knew what... |
I have the same issue. I'm trying to build gpd (so also gpg) inside a Docker container based on Ubuntu 18.04. Does it mean that gpg/gpd is not compatible with Ubuntu 18.04/ROS Melodic? |
Small update about this particular issue. I decided to look at it again and I found out that its not related to Ubuntu version. Errors returned from g++ seems logical and related to the code of gpd. But then I cannot really explain why that package builds nicely on some system setups |
I'm trying to build this on an Ubuntu 16 machine. When building I get this error:
[ 50%] Built target gpg_antipodal /homes/corcodel/gpd/gpg/src/gpg/cloud_camera.cpp: In member function ‘void CloudCamera::voxelizeCloud(double)’: /homes/corcodel/gpd/gpg/src/gpg/cloud_camera.cpp:237:3: error: ‘set’ is not a member of ‘std’ std::set< Eigen::Vector4i, CloudCamera::UniqueVectorFirstThreeElementsComparator> bins; ^ /homes/corcodel/gpd/gpg/src/gpg/cloud_camera.cpp:237:3: note: suggested alternatives: In file included from /usr/include/boost/fusion/container/set/detail/preprocessed/set_fwd.hpp:11:0, from /usr/include/boost/fusion/container/set/set_fwd.hpp:15, from /usr/include/boost/fusion/mpl/detail/clear.hpp:14, from /usr/include/boost/fusion/mpl/clear.hpp:13, from /usr/include/boost/fusion/mpl.hpp:17, from /usr/include/boost/fusion/include/mpl.hpp:12, from /usr/local/include/pcl-1.9/pcl/common/impl/accumulators.hpp:44, from /usr/local/include/pcl-1.9/pcl/common/centroid.h:954, from /usr/local/include/pcl-1.9/pcl/features/normal_3d.h:45, from /usr/local/include/pcl-1.9/pcl/features/normal_3d_omp.h:43, from /homes/corcodel/gpd/gpg/include/gpg/cloud_camera.h:45, from /homes/corcodel/gpd/gpg/src/gpg/cloud_camera.cpp:1: /usr/include/boost/fusion/container/set/detail/preprocessed/set10_fwd.hpp:17:12: note: ‘boost::fusion::set’ struct set; ^ In file included from /usr/include/boost/lexical_cast/detail/converter_lexical.hpp:51:0, from /usr/include/boost/lexical_cast/try_lexical_convert.hpp:34, from /usr/include/boost/lexical_cast.hpp:32, from /usr/include/boost/date_time/string_parse_tree.hpp:13, from /usr/include/boost/date_time/period_parser.hpp:14, from /usr/include/boost/date_time/date_facet.hpp:23, from /usr/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian.hpp:31, from /usr/include/boost/date_time/posix_time/time_formatters.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:24, from /usr/local/include/pcl-1.9/pcl/io/boost.h:58, from /usr/local/include/pcl-1.9/pcl/io/file_io.h:42, from /usr/local/include/pcl-1.9/pcl/io/pcd_io.h:44, from /homes/corcodel/gpd/gpg/include/gpg/cloud_camera.h:49, from /homes/corcodel/gpd/gpg/src/gpg/cloud_camera.cpp:1: /usr/include/boost/container/container_fwd.hpp:126:7: note: ‘boost::container::set’ class set; ^
Any ideas what might it be?
The text was updated successfully, but these errors were encountered: