Closed traversaro closed 4 years ago
See https://stackoverflow.com/questions/16957458/static-const-in-c-class-undefined-reference/16957554 for the extendend explanation. Note that this constant may be accessed by reference, depending if standalone ASIO is used, or depending on the specific Boost::Asio version.
The problem appeared when compiling in Debug, and when using standalone Asio or Boost 1.69 or 1.71, while it was not happening when using Boost 1.65.
Fix https://github.com/ros-industrial/abb_libegm/issues/67 .
According to https://github.com/ros-industrial/abb_libegm/issues/67#issuecomment-652453967 , this should fix the build in Noetic that uses Boost 1.71 from Ubuntu 20.04.
See https://stackoverflow.com/questions/16957458/static-const-in-c-class-undefined-reference/16957554 for the extendend explanation. Note that this constant may be accessed by reference, depending if standalone ASIO is used, or depending on the specific Boost::Asio version.
The problem appeared when compiling in Debug, and when using standalone Asio or Boost 1.69 or 1.71, while it was not happening when using Boost 1.65.
Fix https://github.com/ros-industrial/abb_libegm/issues/67 .