image_common
image_common copied to clipboard
[ros2] macOS Build failure due to future version requirements
Hi,
I'm trying to build the image_common
package for macOS and I keep running into the following error output:
zmk5-MBP:ragesh_ws zmk5$ colcon build --symlink-install
Starting >>> cv_bridge
Starting >>> camera_calibration_parsers
Starting >>> image_geometry
Starting >>> image_transport
Finished <<< image_geometry [1.51s]
Finished <<< cv_bridge [1.76s]
Starting >>> opencv_tests
Starting >>> vision_opencv
--- stderr: camera_calibration_parsers
/Users/zmk5/ROS2/ragesh_ws/src/image_common/camera_calibration_parsers/src/parse_ini.cpp:306:13: error: 'path' is unavailable: introduced in macOS 10.15
impl::fs::path dir(impl::fs::path(file_name).parent_path());
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:739:24: note: 'path' has been explicitly marked unavailable here
class _LIBCPP_TYPE_VIS path {
^
/Users/zmk5/ROS2/ragesh_ws/src/image_common/camera_calibration_parsers/src/parse_ini.cpp:306:32: error: 'path' is unavailable: introduced in macOS 10.15
impl::fs::path dir(impl::fs::path(file_name).parent_path());
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:739:24: note: 'path' has been explicitly marked unavailable here
class _LIBCPP_TYPE_VIS path {
^
/Users/zmk5/ROS2/ragesh_ws/src/image_common/camera_calibration_parsers/src/parse_ini.cpp:306:22: error: 'path' is unavailable: introduced in macOS 10.15
impl::fs::path dir(impl::fs::path(file_name).parent_path());
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:773:3: note: 'path' has been explicitly marked unavailable here
path(const _Source& __src, format = format::auto_format) {
^
/Users/zmk5/ROS2/ragesh_ws/src/image_common/camera_calibration_parsers/src/parse_ini.cpp:306:22: error: '~path' is unavailable: introduced in macOS 10.15
impl::fs::path dir(impl::fs::path(file_name).parent_path());
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:791:3: note: '~path' has been explicitly marked unavailable here
~path() = default;
^
/Users/zmk5/ROS2/ragesh_ws/src/image_common/camera_calibration_parsers/src/parse_ini.cpp:306:48: error: 'parent_path' is unavailable: introduced in macOS 10.15
impl::fs::path dir(impl::fs::path(file_name).parent_path());
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:1064:34: note: 'parent_path' has been explicitly marked unavailable here
_LIBCPP_INLINE_VISIBILITY path parent_path() const {
^
/Users/zmk5/ROS2/ragesh_ws/src/image_common/camera_calibration_parsers/src/parse_ini.cpp:306:48: error: '~path' is unavailable: introduced in macOS 10.15
impl::fs::path dir(impl::fs::path(file_name).parent_path());
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:791:3: note: '~path' has been explicitly marked unavailable here
~path() = default;
^
/Users/zmk5/ROS2/ragesh_ws/src/image_common/camera_calibration_parsers/src/parse_ini.cpp:306:18: error: 'path' is unavailable: introduced in macOS 10.15
impl::fs::path dir(impl::fs::path(file_name).parent_path());
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:765:29: note: 'path' has been explicitly marked unavailable here
_LIBCPP_INLINE_VISIBILITY path(path&& __p) noexcept
^
/Users/zmk5/ROS2/ragesh_ws/src/image_common/camera_calibration_parsers/src/parse_ini.cpp:306:18: error: '~path' is unavailable: introduced in macOS 10.15
impl::fs::path dir(impl::fs::path(file_name).parent_path());
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:791:3: note: '~path' has been explicitly marked unavailable here
~path() = default;
^
/Users/zmk5/ROS2/ragesh_ws/src/image_common/camera_calibration_parsers/src/parse_ini.cpp:307:12: error: 'empty' is unavailable: introduced in macOS 10.15
if (!dir.empty() && !impl::fs::exists(dir) &&
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:1077:3: note: 'empty' has been explicitly marked unavailable here
empty() const noexcept {
^
/Users/zmk5/ROS2/ragesh_ws/src/image_common/camera_calibration_parsers/src/parse_ini.cpp:307:34: error: 'exists' is unavailable: introduced in macOS 10.15
if (!dir.empty() && !impl::fs::exists(dir) &&
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:1617:39: note: 'exists' has been explicitly marked unavailable here
inline _LIBCPP_INLINE_VISIBILITY bool exists(const path& __p) {
^
/Users/zmk5/ROS2/ragesh_ws/src/image_common/camera_calibration_parsers/src/parse_ini.cpp:308:16: error: 'create_directories' is unavailable: introduced in macOS 10.15
!impl::fs::create_directories(dir))
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:1548:39: note: 'create_directories' has been explicitly marked unavailable here
inline _LIBCPP_INLINE_VISIBILITY bool create_directories(const path& __p) {
^
/Users/zmk5/ROS2/ragesh_ws/src/image_common/camera_calibration_parsers/src/parse_ini.cpp:311:11: error: 'string' is unavailable: introduced in macOS 10.15
dir.string().c_str());
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:999:41: note: 'string' has been explicitly marked unavailable here
_LIBCPP_INLINE_VISIBILITY std::string string() const { return __pn_; }
^
/Users/zmk5/ROS2/ragesh_ws/src/image_common/camera_calibration_parsers/src/parse_yml.cpp:170:13: error: 'path' is unavailable: introduced in macOS 10.15
impl::fs::path dir(impl::fs::path(file_name).parent_path());
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:739:24: note: 'path' has been explicitly marked unavailable here
class _LIBCPP_TYPE_VIS path {
^
/Users/zmk5/ROS2/ragesh_ws/src/image_common/camera_calibration_parsers/src/parse_yml.cpp:170:32: error: 'path' is unavailable: introduced in macOS 10.15
impl::fs::path dir(impl::fs::path(file_name).parent_path());
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:739:24: note: 'path' has been explicitly marked unavailable here
class _LIBCPP_TYPE_VIS path {
^
/Users/zmk5/ROS2/ragesh_ws/src/image_common/camera_calibration_parsers/src/parse_yml.cpp:170:22: error: 'path' is unavailable: introduced in macOS 10.15
impl::fs::path dir(impl::fs::path(file_name).parent_path());
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:773:3: note: 'path' has been explicitly marked unavailable here
path(const _Source& __src, format = format::auto_format) {
^
/Users/zmk5/ROS2/ragesh_ws/src/image_common/camera_calibration_parsers/src/parse_yml.cpp:170:22: error: '~path' is unavailable: introduced in macOS 10.15
impl::fs::path dir(impl::fs::path(file_name).parent_path());
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:791:3: note: '~path' has been explicitly marked unavailable here
~path() = default;
^
/Users/zmk5/ROS2/ragesh_ws/src/image_common/camera_calibration_parsers/src/parse_yml.cpp:170:48: error: 'parent_path' is unavailable: introduced in macOS 10.15
impl::fs::path dir(impl::fs::path(file_name).parent_path());
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:1064:34: note: 'parent_path' has been explicitly marked unavailable here
_LIBCPP_INLINE_VISIBILITY path parent_path() const {
^
/Users/zmk5/ROS2/ragesh_ws/src/image_common/camera_calibration_parsers/src/parse_yml.cpp:170:48: error: '~path' is unavailable: introduced in macOS 10.15
impl::fs::path dir(impl::fs::path(file_name).parent_path());
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:791:3: note: '~path' has been explicitly marked unavailable here
~path() = default;
^
/Users/zmk5/ROS2/ragesh_ws/src/image_common/camera_calibration_parsers/src/parse_yml.cpp:170:18: error: 'path' is unavailable: introduced in macOS 10.15
impl::fs::path dir(impl::fs::path(file_name).parent_path());
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:765:29: note: 'path' has been explicitly marked unavailable here
_LIBCPP_INLINE_VISIBILITY path(path&& __p) noexcept
^
/Users/zmk5/ROS2/ragesh_ws/src/image_common/camera_calibration_parsers/src/parse_yml.cpp:170:18: error: '~path' is unavailable: introduced in macOS 10.15
impl::fs::path dir(impl::fs::path(file_name).parent_path());
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:791:3: note: '~path' has been explicitly marked unavailable here
~path() = default;
^
/Users/zmk5/ROS2/ragesh_ws/src/image_common/camera_calibration_parsers/src/parse_yml.cpp:171:12: error: 'empty' is unavailable: introduced in macOS 10.15
if (!dir.empty() && !impl::fs::exists(dir) &&
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:1077:3: note: 'empty' has been explicitly marked unavailable here
empty() const noexcept {
^
/Users/zmk5/ROS2/ragesh_ws/src/image_common/camera_calibration_parsers/src/parse_yml.cpp:171:34: error: 'exists' is unavailable: introduced in macOS 10.15
if (!dir.empty() && !impl::fs::exists(dir) &&
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:1617:39: note: 'exists' has been explicitly marked unavailable here
inline _LIBCPP_INLINE_VISIBILITY bool exists(const path& __p) {
^
/Users/zmk5/ROS2/ragesh_ws/src/image_common/camera_calibration_parsers/src/parse_yml.cpp:172:16: error: 'create_directories' is unavailable: introduced in macOS 10.15
!impl::fs::create_directories(dir))
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:1548:39: note: 'create_directories' has been explicitly marked unavailable here
inline _LIBCPP_INLINE_VISIBILITY bool create_directories(const path& __p) {
^
/Users/zmk5/ROS2/ragesh_ws/src/image_common/camera_calibration_parsers/src/parse_yml.cpp:175:11: error: 'string' is unavailable: introduced in macOS 10.15
dir.string().c_str());
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:999:41: note: 'string' has been explicitly marked unavailable here
_LIBCPP_INLINE_VISIBILITY std::string string() const { return __pn_; }
^
12 errors generated.
make[2]: *** [CMakeFiles/camera_calibration_parsers.dir/src/parse_ini.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
12 errors generated.
make[2]: *** [CMakeFiles/camera_calibration_parsers.dir/src/parse_yml.cpp.o] Error 1
/Users/zmk5/ROS2/ragesh_ws/src/image_common/camera_calibration_parsers/src/parse.cpp:52:13: error: 'path' is unavailable: introduced in macOS 10.15
impl::fs::path p(file_name);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:739:24: note: 'path' has been explicitly marked unavailable here
class _LIBCPP_TYPE_VIS path {
^
/Users/zmk5/ROS2/ragesh_ws/src/image_common/camera_calibration_parsers/src/parse.cpp:52:18: error: 'path' is unavailable: introduced in macOS 10.15
impl::fs::path p(file_name);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:773:3: note: 'path' has been explicitly marked unavailable here
path(const _Source& __src, format = format::auto_format) {
^
/Users/zmk5/ROS2/ragesh_ws/src/image_common/camera_calibration_parsers/src/parse.cpp:52:18: error: '~path' is unavailable: introduced in macOS 10.15
impl::fs::path p(file_name);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:791:3: note: '~path' has been explicitly marked unavailable here
~path() = default;
^
/Users/zmk5/ROS2/ragesh_ws/src/image_common/camera_calibration_parsers/src/parse.cpp:54:9: error: 'extension' is unavailable: introduced in macOS 10.15
if (p.extension() == ".ini") {
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:1071:34: note: 'extension' has been explicitly marked unavailable here
_LIBCPP_INLINE_VISIBILITY path extension() const {
^
/Users/zmk5/ROS2/ragesh_ws/src/image_common/camera_calibration_parsers/src/parse.cpp:54:9: error: '~path' is unavailable: introduced in macOS 10.15
if (p.extension() == ".ini") {
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:791:3: note: '~path' has been explicitly marked unavailable here
~path() = default;
^
/Users/zmk5/ROS2/ragesh_ws/src/image_common/camera_calibration_parsers/src/parse.cpp:54:24: error: 'path<char [5], void>' is unavailable: introduced in macOS 10.15
if (p.extension() == ".ini") {
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:773:3: note: 'path<char [5], void>' has been explicitly marked unavailable here
path(const _Source& __src, format = format::auto_format) {
^
/Users/zmk5/ROS2/ragesh_ws/src/image_common/camera_calibration_parsers/src/parse.cpp:54:24: error: '~path' is unavailable: introduced in macOS 10.15
if (p.extension() == ".ini") {
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:791:3: note: '~path' has been explicitly marked unavailable here
~path() = default;
^
/Users/zmk5/ROS2/ragesh_ws/src/image_common/camera_calibration_parsers/src/parse.cpp:54:21: error: 'operator==' is unavailable: introduced in macOS 10.15
if (p.extension() == ".ini") {
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:1156:41: note: 'operator==' has been explicitly marked unavailable here
friend _LIBCPP_INLINE_VISIBILITY bool operator==(const path& __lhs, const path& __rhs) noexcept {
^
/Users/zmk5/ROS2/ragesh_ws/src/image_common/camera_calibration_parsers/src/parse.cpp:56:16: error: 'extension' is unavailable: introduced in macOS 10.15
} else if (p.extension() == ".yml" || p.extension() == ".yaml") {
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:1071:34: note: 'extension' has been explicitly marked unavailable here
_LIBCPP_INLINE_VISIBILITY path extension() const {
^
/Users/zmk5/ROS2/ragesh_ws/src/image_common/camera_calibration_parsers/src/parse.cpp:56:16: error: '~path' is unavailable: introduced in macOS 10.15
} else if (p.extension() == ".yml" || p.extension() == ".yaml") {
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:791:3: note: '~path' has been explicitly marked unavailable here
~path() = default;
^
/Users/zmk5/ROS2/ragesh_ws/src/image_common/camera_calibration_parsers/src/parse.cpp:56:31: error: 'path<char [5], void>' is unavailable: introduced in macOS 10.15
} else if (p.extension() == ".yml" || p.extension() == ".yaml") {
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:773:3: note: 'path<char [5], void>' has been explicitly marked unavailable here
path(const _Source& __src, format = format::auto_format) {
^
/Users/zmk5/ROS2/ragesh_ws/src/image_common/camera_calibration_parsers/src/parse.cpp:56:31: error: '~path' is unavailable: introduced in macOS 10.15
} else if (p.extension() == ".yml" || p.extension() == ".yaml") {
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:791:3: note: '~path' has been explicitly marked unavailable here
~path() = default;
^
/Users/zmk5/ROS2/ragesh_ws/src/image_common/camera_calibration_parsers/src/parse.cpp:56:28: error: 'operator==' is unavailable: introduced in macOS 10.15
} else if (p.extension() == ".yml" || p.extension() == ".yaml") {
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:1156:41: note: 'operator==' has been explicitly marked unavailable here
friend _LIBCPP_INLINE_VISIBILITY bool operator==(const path& __lhs, const path& __rhs) noexcept {
^
/Users/zmk5/ROS2/ragesh_ws/src/image_common/camera_calibration_parsers/src/parse.cpp:56:43: error: 'extension' is unavailable: introduced in macOS 10.15
} else if (p.extension() == ".yml" || p.extension() == ".yaml") {
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:1071:34: note: 'extension' has been explicitly marked unavailable here
_LIBCPP_INLINE_VISIBILITY path extension() const {
^
/Users/zmk5/ROS2/ragesh_ws/src/image_common/camera_calibration_parsers/src/parse.cpp:56:43: error: '~path' is unavailable: introduced in macOS 10.15
} else if (p.extension() == ".yml" || p.extension() == ".yaml") {
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:791:3: note: '~path' has been explicitly marked unavailable here
~path() = default;
^
/Users/zmk5/ROS2/ragesh_ws/src/image_common/camera_calibration_parsers/src/parse.cpp:56:58: error: 'path<char [6], void>' is unavailable: introduced in macOS 10.15
} else if (p.extension() == ".yml" || p.extension() == ".yaml") {
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:773:3: note: 'path<char [6], void>' has been explicitly marked unavailable here
path(const _Source& __src, format = format::auto_format) {
^
/Users/zmk5/ROS2/ragesh_ws/src/image_common/camera_calibration_parsers/src/parse.cpp:56:58: error: '~path' is unavailable: introduced in macOS 10.15
} else if (p.extension() == ".yml" || p.extension() == ".yaml") {
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:791:3: note: '~path' has been explicitly marked unavailable here
~path() = default;
^
/Users/zmk5/ROS2/ragesh_ws/src/image_common/camera_calibration_parsers/src/parse.cpp:56:55: error: 'operator==' is unavailable: introduced in macOS 10.15
} else if (p.extension() == ".yml" || p.extension() == ".yaml") {
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:1156:41: note: 'operator==' has been explicitly marked unavailable here
friend _LIBCPP_INLINE_VISIBILITY bool operator==(const path& __lhs, const path& __rhs) noexcept {
^
/Users/zmk5/ROS2/ragesh_ws/src/image_common/camera_calibration_parsers/src/parse.cpp:62:9: error: 'extension' is unavailable: introduced in macOS 10.15
p.extension().c_str());
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:1071:34: note: 'extension' has been explicitly marked unavailable here
_LIBCPP_INLINE_VISIBILITY path extension() const {
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [CMakeFiles/camera_calibration_parsers.dir/src/parse.cpp.o] Error 1
make[1]: *** [CMakeFiles/camera_calibration_parsers.dir/all] Error 2
make: *** [all] Error 2
---
Failed <<< camera_calibration_parsers [ Exited with code 2 ]
--- stderr: image_transport
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/image_transport.cpp:37:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:545:30: error: 'exists' is unavailable: introduced in macOS 10.15
if (pluginlib::impl::fs::exists(*it)) {
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:1617:39: note: 'exists' has been explicitly marked unavailable here
inline _LIBCPP_INLINE_VISIBILITY bool exists(const path& __p) {
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/image_transport.cpp:37:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:545:37: error: 'path' is unavailable: introduced in macOS 10.15
if (pluginlib::impl::fs::exists(*it)) {
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:773:3: note: 'path' has been explicitly marked unavailable here
path(const _Source& __src, format = format::auto_format) {
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/image_transport.cpp:37:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:545:37: error: '~path' is unavailable: introduced in macOS 10.15
if (pluginlib::impl::fs::exists(*it)) {
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:791:3: note: '~path' has been explicitly marked unavailable here
~path() = default;
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/image_transport.cpp:37:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:622:24: error: 'path' is unavailable: introduced in macOS 10.15
pluginlib::impl::fs::path p(plugin_xml_file_path);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:739:24: note: 'path' has been explicitly marked unavailable here
class _LIBCPP_TYPE_VIS path {
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/image_transport.cpp:37:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:622:29: error: 'path' is unavailable: introduced in macOS 10.15
pluginlib::impl::fs::path p(plugin_xml_file_path);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:773:3: note: 'path' has been explicitly marked unavailable here
path(const _Source& __src, format = format::auto_format) {
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/image_transport.cpp:37:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:622:29: error: '~path' is unavailable: introduced in macOS 10.15
pluginlib::impl::fs::path p(plugin_xml_file_path);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:791:3: note: '~path' has been explicitly marked unavailable here
~path() = default;
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/image_transport.cpp:37:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:623:24: error: 'path' is unavailable: introduced in macOS 10.15
pluginlib::impl::fs::path parent = p.parent_path();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:739:24: note: 'path' has been explicitly marked unavailable here
class _LIBCPP_TYPE_VIS path {
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/image_transport.cpp:37:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:623:40: error: 'parent_path' is unavailable: introduced in macOS 10.15
pluginlib::impl::fs::path parent = p.parent_path();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:1064:34: note: 'parent_path' has been explicitly marked unavailable here
_LIBCPP_INLINE_VISIBILITY path parent_path() const {
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/image_transport.cpp:37:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:623:40: error: '~path' is unavailable: introduced in macOS 10.15
pluginlib::impl::fs::path parent = p.parent_path();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:791:3: note: '~path' has been explicitly marked unavailable here
~path() = default;
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/image_transport.cpp:37:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:623:38: error: 'path' is unavailable: introduced in macOS 10.15
pluginlib::impl::fs::path parent = p.parent_path();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:765:29: note: 'path' has been explicitly marked unavailable here
_LIBCPP_INLINE_VISIBILITY path(path&& __p) noexcept
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/image_transport.cpp:37:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:623:29: error: '~path' is unavailable: introduced in macOS 10.15
pluginlib::impl::fs::path parent = p.parent_path();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:791:3: note: '~path' has been explicitly marked unavailable here
~path() = default;
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/image_transport.cpp:37:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:627:46: error: 'path<char [12], void>' is unavailable: introduced in macOS 10.15
if (pluginlib::impl::fs::exists(parent / "package.xml")) {
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:773:3: note: 'path<char [12], void>' has been explicitly marked unavailable here
path(const _Source& __src, format = format::auto_format) {
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/image_transport.cpp:37:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:627:46: error: '~path' is unavailable: introduced in macOS 10.15
if (pluginlib::impl::fs::exists(parent / "package.xml")) {
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:791:3: note: '~path' has been explicitly marked unavailable here
~path() = default;
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/image_transport.cpp:37:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:627:44: error: 'operator/' is unavailable: introduced in macOS 10.15
if (pluginlib::impl::fs::exists(parent / "package.xml")) {
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:1175:41: note: 'operator/' has been explicitly marked unavailable here
friend _LIBCPP_INLINE_VISIBILITY path operator/(const path& __lhs,
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/image_transport.cpp:37:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:627:44: error: '~path' is unavailable: introduced in macOS 10.15
if (pluginlib::impl::fs::exists(parent / "package.xml")) {
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:791:3: note: '~path' has been explicitly marked unavailable here
~path() = default;
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/image_transport.cpp:37:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:627:30: error: 'exists' is unavailable: introduced in macOS 10.15
if (pluginlib::impl::fs::exists(parent / "package.xml")) {
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:1617:39: note: 'exists' has been explicitly marked unavailable here
inline _LIBCPP_INLINE_VISIBILITY bool exists(const path& __p) {
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/image_transport.cpp:37:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:628:49: error: 'path<char [12], void>' is unavailable: introduced in macOS 10.15
std::string package_file_path = (parent / "package.xml").string();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:773:3: note: 'path<char [12], void>' has been explicitly marked unavailable here
path(const _Source& __src, format = format::auto_format) {
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/image_transport.cpp:37:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:628:49: error: '~path' is unavailable: introduced in macOS 10.15
std::string package_file_path = (parent / "package.xml").string();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:791:3: note: '~path' has been explicitly marked unavailable here
~path() = default;
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/image_transport.cpp:37:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:628:47: error: 'operator/' is unavailable: introduced in macOS 10.15
std::string package_file_path = (parent / "package.xml").string();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:1175:41: note: 'operator/' has been explicitly marked unavailable here
friend _LIBCPP_INLINE_VISIBILITY path operator/(const path& __lhs,
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [CMakeFiles/image_transport.dir/src/image_transport.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/subscriber.cpp:43:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:545:30: error: 'exists' is unavailable: introduced in macOS 10.15
if (pluginlib::impl::fs::exists(*it)) {
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:1617:39: note: 'exists' has been explicitly marked unavailable here
inline _LIBCPP_INLINE_VISIBILITY bool exists(const path& __p) {
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/subscriber.cpp:43:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:545:37: error: 'path' is unavailable: introduced in macOS 10.15
if (pluginlib::impl::fs::exists(*it)) {
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:773:3: note: 'path' has been explicitly marked unavailable here
path(const _Source& __src, format = format::auto_format) {
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/subscriber.cpp:43:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:545:37: error: '~path' is unavailable: introduced in macOS 10.15
if (pluginlib::impl::fs::exists(*it)) {
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:791:3: note: '~path' has been explicitly marked unavailable here
~path() = default;
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/subscriber.cpp:43:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:622:24: error: 'path' is unavailable: introduced in macOS 10.15
pluginlib::impl::fs::path p(plugin_xml_file_path);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:739:24: note: 'path' has been explicitly marked unavailable here
class _LIBCPP_TYPE_VIS path {
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/subscriber.cpp:43:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:622:29: error: 'path' is unavailable: introduced in macOS 10.15
pluginlib::impl::fs::path p(plugin_xml_file_path);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:773:3: note: 'path' has been explicitly marked unavailable here
path(const _Source& __src, format = format::auto_format) {
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/subscriber.cpp:43:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:622:29: error: '~path' is unavailable: introduced in macOS 10.15
pluginlib::impl::fs::path p(plugin_xml_file_path);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:791:3: note: '~path' has been explicitly marked unavailable here
~path() = default;
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/subscriber.cpp:43:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:623:24: error: 'path' is unavailable: introduced in macOS 10.15
pluginlib::impl::fs::path parent = p.parent_path();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:739:24: note: 'path' has been explicitly marked unavailable here
class _LIBCPP_TYPE_VIS path {
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/subscriber.cpp:43:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:623:40: error: 'parent_path' is unavailable: introduced in macOS 10.15
pluginlib::impl::fs::path parent = p.parent_path();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:1064:34: note: 'parent_path' has been explicitly marked unavailable here
_LIBCPP_INLINE_VISIBILITY path parent_path() const {
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/subscriber.cpp:43:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:623:40: error: '~path' is unavailable: introduced in macOS 10.15
pluginlib::impl::fs::path parent = p.parent_path();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:791:3: note: '~path' has been explicitly marked unavailable here
~path() = default;
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/subscriber.cpp:43:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:623:38: error: 'path' is unavailable: introduced in macOS 10.15
pluginlib::impl::fs::path parent = p.parent_path();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:765:29: note: 'path' has been explicitly marked unavailable here
_LIBCPP_INLINE_VISIBILITY path(path&& __p) noexcept
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/subscriber.cpp:43:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:623:29: error: '~path' is unavailable: introduced in macOS 10.15
pluginlib::impl::fs::path parent = p.parent_path();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:791:3: note: '~path' has been explicitly marked unavailable here
~path() = default;
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/subscriber.cpp:43:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:627:46: error: 'path<char [12], void>' is unavailable: introduced in macOS 10.15
if (pluginlib::impl::fs::exists(parent / "package.xml")) {
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:773:3: note: 'path<char [12], void>' has been explicitly marked unavailable here
path(const _Source& __src, format = format::auto_format) {
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/subscriber.cpp:43:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:627:46: error: '~path' is unavailable: introduced in macOS 10.15
if (pluginlib::impl::fs::exists(parent / "package.xml")) {
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:791:3: note: '~path' has been explicitly marked unavailable here
~path() = default;
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/subscriber.cpp:43:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:627:44: error: 'operator/' is unavailable: introduced in macOS 10.15
if (pluginlib::impl::fs::exists(parent / "package.xml")) {
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:1175:41: note: 'operator/' has been explicitly marked unavailable here
friend _LIBCPP_INLINE_VISIBILITY path operator/(const path& __lhs,
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/subscriber.cpp:43:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:627:44: error: '~path' is unavailable: introduced in macOS 10.15
if (pluginlib::impl::fs::exists(parent / "package.xml")) {
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:791:3: note: '~path' has been explicitly marked unavailable here
~path() = default;
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/subscriber.cpp:43:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:627:30: error: 'exists' is unavailable: introduced in macOS 10.15
if (pluginlib::impl::fs::exists(parent / "package.xml")) {
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:1617:39: note: 'exists' has been explicitly marked unavailable here
inline _LIBCPP_INLINE_VISIBILITY bool exists(const path& __p) {
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/subscriber.cpp:43:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:628:49: error: 'path<char [12], void>' is unavailable: introduced in macOS 10.15
std::string package_file_path = (parent / "package.xml").string();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:773:3: note: 'path<char [12], void>' has been explicitly marked unavailable here
path(const _Source& __src, format = format::auto_format) {
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/subscriber.cpp:43:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:628:49: error: '~path' is unavailable: introduced in macOS 10.15
std::string package_file_path = (parent / "package.xml").string();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:791:3: note: '~path' has been explicitly marked unavailable here
~path() = default;
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/subscriber.cpp:43:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:628:47: error: 'operator/' is unavailable: introduced in macOS 10.15
std::string package_file_path = (parent / "package.xml").string();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:1175:41: note: 'operator/' has been explicitly marked unavailable here
friend _LIBCPP_INLINE_VISIBILITY path operator/(const path& __lhs,
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/publisher.cpp:43:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:545:30: error: 'exists' is unavailable: introduced in macOS 10.15
if (pluginlib::impl::fs::exists(*it)) {
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:1617:39: note: 'exists' has been explicitly marked unavailable here
inline _LIBCPP_INLINE_VISIBILITY bool exists(const path& __p) {
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/publisher.cpp:43:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:545:37: error: 'path' is unavailable: introduced in macOS 10.15
if (pluginlib::impl::fs::exists(*it)) {
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:773:3: note: 'path' has been explicitly marked unavailable here
path(const _Source& __src, format = format::auto_format) {
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/publisher.cpp:43:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:545:37: error: '~path' is unavailable: introduced in macOS 10.15
if (pluginlib::impl::fs::exists(*it)) {
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:791:3: note: '~path' has been explicitly marked unavailable here
~path() = default;
^
20 errors generated.
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/publisher.cpp:43:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:622:24: error: 'path' is unavailable: introduced in macOS 10.15
pluginlib::impl::fs::path p(plugin_xml_file_path);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:739:24: note: 'path' has been explicitly marked unavailable here
class _LIBCPP_TYPE_VIS path {
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/publisher.cpp:43:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:622:29: error: 'path' is unavailable: introduced in macOS 10.15
pluginlib::impl::fs::path p(plugin_xml_file_path);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:773:3: note: 'path' has been explicitly marked unavailable here
path(const _Source& __src, format = format::auto_format) {
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/publisher.cpp:43:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:622:29: error: '~path' is unavailable: introduced in macOS 10.15
pluginlib::impl::fs::path p(plugin_xml_file_path);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:791:3: note: '~path' has been explicitly marked unavailable here
~path() = default;
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/publisher.cpp:43:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:623:24: error: 'path' is unavailable: introduced in macOS 10.15
pluginlib::impl::fs::path parent = p.parent_path();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:739:24: note: 'path' has been explicitly marked unavailable here
class _LIBCPP_TYPE_VIS path {
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/publisher.cpp:43:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:623:40: error: 'parent_path' is unavailable: introduced in macOS 10.15
pluginlib::impl::fs::path parent = p.parent_path();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:1064:34: note: 'parent_path' has been explicitly marked unavailable here
_LIBCPP_INLINE_VISIBILITY path parent_path() const {
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/publisher.cpp:43:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:623:40: error: '~path' is unavailable: introduced in macOS 10.15
pluginlib::impl::fs::path parent = p.parent_path();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:791:3: note: '~path' has been explicitly marked unavailable here
~path() = default;
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/publisher.cpp:43:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:623:38: error: 'path' is unavailable: introduced in macOS 10.15
pluginlib::impl::fs::path parent = p.parent_path();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:765:29: note: 'path' has been explicitly marked unavailable here
_LIBCPP_INLINE_VISIBILITY path(path&& __p) noexcept
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/publisher.cpp:43:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:623:29: error: '~path' is unavailable: introduced in macOS 10.15
pluginlib::impl::fs::path parent = p.parent_path();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:791:3: note: '~path' has been explicitly marked unavailable here
~path() = default;
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/publisher.cpp:43:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:627:46: error: 'path<char [12], void>' is unavailable: introduced in macOS 10.15
if (pluginlib::impl::fs::exists(parent / "package.xml")) {
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:773:3: note: 'path<char [12], void>' has been explicitly marked unavailable here
path(const _Source& __src, format = format::auto_format) {
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/publisher.cpp:43:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:627:46: error: '~path' is unavailable: introduced in macOS 10.15
if (pluginlib::impl::fs::exists(parent / "package.xml")) {
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:791:3: note: '~path' has been explicitly marked unavailable here
~path() = default;
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/publisher.cpp:43:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:627:44: error: 'operator/' is unavailable: introduced in macOS 10.15
if (pluginlib::impl::fs::exists(parent / "package.xml")) {
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:1175:41: note: 'operator/' has been explicitly marked unavailable here
friend _LIBCPP_INLINE_VISIBILITY path operator/(const path& __lhs,
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/publisher.cpp:43:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:627:44: error: '~path' is unavailable: introduced in macOS 10.15
if (pluginlib::impl::fs::exists(parent / "package.xml")) {
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:791:3: note: '~path' has been explicitly marked unavailable here
~path() = default;
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/publisher.cpp:43:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:627:30: error: 'exists' is unavailable: introduced in macOS 10.15
if (pluginlib::impl::fs::exists(parent / "package.xml")) {
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:1617:39: note: 'exists' has been explicitly marked unavailable here
inline _LIBCPP_INLINE_VISIBILITY bool exists(const path& __p) {
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/publisher.cpp:43:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:628:49: error: 'path<char [12], void>' is unavailable: introduced in macOS 10.15
std::string package_file_path = (parent / "package.xml").string();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:773:3: note: 'path<char [12], void>' has been explicitly marked unavailable here
path(const _Source& __src, format = format::auto_format) {
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/publisher.cpp:43:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:628:49: error: '~path' is unavailable: introduced in macOS 10.15
std::string package_file_path = (parent / "package.xml").string();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:791:3: note: '~path' has been explicitly marked unavailable here
~path() = default;
^
In file included from /Users/zmk5/ROS2/ragesh_ws/src/image_common/image_transport/src/publisher.cpp:43:
In file included from /Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader.hpp:370:
/Users/zmk5/ROS2/ros2_install/ros2-osx/include/pluginlib/./class_loader_imp.hpp:628:47: error: 'operator/' is unavailable: introduced in macOS 10.15
std::string package_file_path = (parent / "package.xml").string();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/filesystem:1175:41: note: 'operator/' has been explicitly marked unavailable here
friend _LIBCPP_INLINE_VISIBILITY path operator/(const path& __lhs,
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
make[2]: *** [CMakeFiles/image_transport.dir/src/subscriber.cpp.o] Error 1
20 errors generated.
make[2]: *** [CMakeFiles/image_transport.dir/src/publisher.cpp.o] Error 1
make[1]: *** [CMakeFiles/image_transport.dir/all] Error 2
make: *** [all] Error 2
---
Failed <<< image_transport [ Exited with code 2 ]
Aborted <<< opencv_tests
Aborted <<< vision_opencv
Summary: 2 packages finished [2.29s]
2 packages failed: camera_calibration_parsers image_transport
2 packages aborted: opencv_tests vision_opencv
2 packages had stderr output: camera_calibration_parsers image_transport
1 package not processed
The error consistantly states that certain methods and functions are unavailable due to version macOS version requirements (e.g. error: '~path' is unavailable: introduced in macOS 10.15
). Is there a way to get around this issue?
Hey, I think I may have figured it out. The issue seems to be that XCode has turned on the C++17 features but not the C++17 standard library in versions less than macOS 10.15. Therefore to be able to compile in Mojave and older, you will need to add the -mmacosx-version-min=10.15
flag in your CMakeLists.txt
file as such:
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wall -Wextra -Wpedantic -mmacosx-version-min=10.15)
endif()
Hi @zmk5 I think it would be better to fix this in pluginlib (https://github.com/ros/pluginlib/blob/9fecba30c6e388024bc14137b53694b4e555696f/pluginlib/include/pluginlib/impl/filesystem_helper.hpp#L39-L49 ).
One could add a check for the OSX deployment target ...
There are a bunch of polyfill filesystem libraries available as well that could be used.
@zmk5 I opened an issue here: https://github.com/ros/pluginlib/issues/215 maybe we can get that sorted out in the future.
We got quite some ROS packages for Foxy on the robostack channel now, but still missing RViz 2 (because there were issues compiling RViz. If you have ideas, please help! :)
(Failing RViz build here: https://dev.azure.com/roboforge/ros_pipelines/_build/results?buildId=1483&view=logs&j=72f35559-b34c-5aff-f26a-5f9b23141180&t=5a86ea88-b89b-5155-3f25-817bbf591b05 (sorry for hijacking this thread).