ROS动态安装在Mojave(OS X)上失败

时间:2019-01-08 22:13:18

标签: terminal ros macos-mojave


我正在尝试在运行最新Mojave版本的Mac OS X上安装ROS dynamic,但是编译主工作区时安装程序遇到错误。

./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release

处理软件包 bondcpp (228个中的145个)失败,并出现一些与标准C ++库有关的错误。

In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/__string:56:
/Library/Developer/CommandLineTools/usr/include/c++/v1/algorithm:1866:9: error: no member named '__builtin___memmove_chk' in namespace
      'std::__1'; did you mean simply '__builtin___memmove_chk'?
        _VSTD::memmove(__result, __first, __n * sizeof(_Up));

In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/string_view:176:
/Library/Developer/CommandLineTools/usr/include/c++/v1/__string:273:31: error: use of undeclared identifier 'memchr'; did you mean 'wmemchr'?
    return (const char_type*) memchr(__s, to_int_type(__a), __n);
                              ^
/Library/Developer/CommandLineTools/usr/include/c++/v1/wchar.h:169:16: note: 'wmemchr' declared here
      wchar_t* wmemchr(wchar_t* __s, wchar_t __c, size_t __n) {return __libcpp_wmemchr(__s, __c, __n);}
               ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]

最初,在编译 opencv 时出现类似的错误(228个中的27个),但是我使用自定义的yaml文件跳过了它。

0 个答案:

没有答案