pcl icon indicating copy to clipboard operation
pcl copied to clipboard

[compile error] error: ISO C++ prohibits anonymous structs [-Werror=pedantic]

Open jieunko opened this issue 1 year ago • 1 comments

Operating System and version: Ubuntu 20.04 (Jetpack 5.1.1) Compiler: gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1-20.04.1) PCL Version: 1.10 ROS : Galactic

I am facing the same anonymous struct error while building pointcloud_preprocessor package in autoware as described in issue:2303. https://github.com/PointCloudLibrary/pcl/issues/2303

However, I could not solve the issue with the solution in the link. Is there anyone who solved the issue? Any advice will be grateful Thanks.

jieunko avatar Oct 31 '23 03:10 jieunko

@jieunko What have you tried exactly? Please show your CMakeLists.txt

mvieth avatar Oct 31 '23 09:10 mvieth