Created
November 17, 2016 14:25
-
-
Save toyoxx/8a8123ecf5a0ee7828a3f5745e125697 to your computer and use it in GitHub Desktop.
ROS fails to install on macOS.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==> Processing catkin package: 'nodelet_tutorial_math' | |
==> Building with env: '/Users/jose/ROSWorkspace/install_isolated/env.sh' | |
==> cmake /Users/jose/ROSWorkspace/src/common_tutorials/nodelet_tutorial_math -DCATKIN_DEVEL_PREFIX=/Users/jose/ROSWorkspace/devel_isolated/nodelet_tutorial_math -DCMAKE_INSTALL_PREFIX=/Users/jose/ROSWorkspace/install_isolated -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXE_LINKER_FLAGS= -stdlib=libc++ -G Unix Makefiles in '/Users/jose/ROSWorkspace/build_isolated/nodelet_tutorial_math' | |
-- Using CATKIN_DEVEL_PREFIX: /Users/jose/ROSWorkspace/devel_isolated/nodelet_tutorial_math | |
-- Using CMAKE_PREFIX_PATH: /Users/jose/ROSWorkspace/install_isolated | |
-- This workspace overlays: /Users/jose/ROSWorkspace/install_isolated | |
-- Using PYTHON_EXECUTABLE: /usr/local/bin/python | |
-- Using default Python package layout | |
-- Using empy: /Library/Python/2.7/site-packages/em.pyc | |
-- Using CATKIN_ENABLE_TESTING: ON | |
-- Call enable_testing() | |
-- Using CATKIN_TEST_RESULTS_DIR: /Users/jose/ROSWorkspace/build_isolated/nodelet_tutorial_math/test_results | |
-- Found gtest: gtests will be built | |
-- Using Python nosetests: /usr/local/bin/nosetests-2.7 | |
-- catkin 0.6.18 | |
-- Configuring done | |
CMake Warning (dev): | |
Policy CMP0042 is not set: MACOSX_RPATH is enabled by default. Run "cmake | |
--help-policy CMP0042" for policy details. Use the cmake_policy command to | |
set the policy and suppress this warning. | |
MACOSX_RPATH is not specified for the following targets: | |
nodelet_math | |
This warning is for project developers. Use -Wno-dev to suppress it. | |
-- Generating done | |
-- Build files have been written to: /Users/jose/ROSWorkspace/build_isolated/nodelet_tutorial_math | |
==> make -j8 -l8 in '/Users/jose/ROSWorkspace/build_isolated/nodelet_tutorial_math' | |
Scanning dependencies of target nodelet_math | |
[ 50%] Building CXX object CMakeFiles/nodelet_math.dir/src/plus.cpp.o | |
In file included from /Users/jose/ROSWorkspace/src/common_tutorials/nodelet_tutorial_math/src/plus.cpp:30: | |
In file included from /Users/jose/ROSWorkspace/install_isolated/include/pluginlib/class_list_macros.h:40: | |
In file included from /Users/jose/ROSWorkspace/install_isolated/include/class_loader/class_loader.h:33: | |
In file included from /usr/local/include/boost/shared_ptr.hpp:17: | |
In file included from /usr/local/include/boost/smart_ptr/shared_ptr.hpp:23: | |
In file included from /usr/local/include/boost/config/no_tr1/memory.hpp:21: | |
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:610: | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:79:9: error: no member named | |
'strcoll' in the global namespace | |
using ::strcoll; | |
~~^ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:80:9: error: no member named | |
'strxfrm' in the global namespace | |
using ::strxfrm; | |
~~^ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:82:9: error: no member named 'memchr' | |
in the global namespace; did you mean 'wmemchr'? | |
using ::memchr; | |
~~^ | |
/usr/include/wchar.h:150:10: note: 'wmemchr' declared here | |
wchar_t *wmemchr(const wchar_t *, wchar_t, size_t); | |
^ | |
In file included from /Users/jose/ROSWorkspace/src/common_tutorials/nodelet_tutorial_math/src/plus.cpp:30: | |
In file included from /Users/jose/ROSWorkspace/install_isolated/include/pluginlib/class_list_macros.h:40: | |
In file included from /Users/jose/ROSWorkspace/install_isolated/include/class_loader/class_loader.h:33: | |
In file included from /usr/local/include/boost/shared_ptr.hpp:17: | |
In file included from /usr/local/include/boost/smart_ptr/shared_ptr.hpp:23: | |
In file included from /usr/local/include/boost/config/no_tr1/memory.hpp:21: | |
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:610: | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:86:9: error: no member named | |
'strcspn' in the global namespace | |
using ::strcspn; | |
~~^ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:88:9: error: no member named | |
'strpbrk' in the global namespace | |
using ::strpbrk; | |
~~^ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:90:9: error: no member named | |
'strrchr' in the global namespace; did you mean 'strchr'? | |
using ::strrchr; | |
~~^ | |
/System/Library/Frameworks/Kernel.framework/Headers/string.h:81:14: note: 'strchr' declared here | |
extern char *strchr(const char *s, int c); | |
^ | |
In file included from /Users/jose/ROSWorkspace/src/common_tutorials/nodelet_tutorial_math/src/plus.cpp:30: | |
In file included from /Users/jose/ROSWorkspace/install_isolated/include/pluginlib/class_list_macros.h:40: | |
In file included from /Users/jose/ROSWorkspace/install_isolated/include/class_loader/class_loader.h:33: | |
In file included from /usr/local/include/boost/shared_ptr.hpp:17: | |
In file included from /usr/local/include/boost/smart_ptr/shared_ptr.hpp:23: | |
In file included from /usr/local/include/boost/config/no_tr1/memory.hpp:21: | |
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:610: | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:92:9: error: no member named 'strspn' | |
in the global namespace | |
using ::strspn; | |
~~^ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:94:9: error: no member named 'strstr' | |
in the global namespace; did you mean 'strnstr'? | |
using ::strstr; | |
~~^ | |
/System/Library/Frameworks/Kernel.framework/Headers/string.h:80:14: note: 'strnstr' declared here | |
extern char *strnstr(char *s, const char *find, size_t slen); | |
^ | |
In file included from /Users/jose/ROSWorkspace/src/common_tutorials/nodelet_tutorial_math/src/plus.cpp:30: | |
In file included from /Users/jose/ROSWorkspace/install_isolated/include/pluginlib/class_list_macros.h:40: | |
In file included from /Users/jose/ROSWorkspace/install_isolated/include/class_loader/class_loader.h:33: | |
In file included from /usr/local/include/boost/shared_ptr.hpp:17: | |
In file included from /usr/local/include/boost/smart_ptr/shared_ptr.hpp:23: | |
In file included from /usr/local/include/boost/config/no_tr1/memory.hpp:21: | |
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:610: | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:99:98: error: no member named | |
'strpbrk' in the global namespace; did you mean simply 'strpbrk'? | |
inline _LIBCPP_INLINE_VISIBILITY char* strpbrk( char* __s1, const char* __s2) {return ::strpbrk(__s1, __s2);} | |
^~ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:99:46: note: 'strpbrk' declared here | |
inline _LIBCPP_INLINE_VISIBILITY char* strpbrk( char* __s1, const char* __s2) {return ::strpbrk(__s1, __s2);} | |
^ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:100:88: error: no member named | |
'strrchr' in the global namespace; did you mean simply 'strrchr'? | |
inline _LIBCPP_INLINE_VISIBILITY char* strrchr( char* __s, int __c) {return ::strrchr(__s, __c);} | |
^~ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:100:46: note: 'strrchr' declared here | |
inline _LIBCPP_INLINE_VISIBILITY char* strrchr( char* __s, int __c) {return ::strrchr(__s, __c);} | |
^ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:101:99: error: no member named | |
'memchr' in the global namespace; did you mean simply 'memchr'? | |
inline _LIBCPP_INLINE_VISIBILITY void* memchr( void* __s, int __c, size_t __n) {return ::memchr(__s, __c, __n);} | |
^~ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:101:46: note: 'memchr' declared here | |
inline _LIBCPP_INLINE_VISIBILITY void* memchr( void* __s, int __c, size_t __n) {return ::memchr(__s, __c, __n);} | |
^ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:102:97: error: no member named | |
'strstr' in the global namespace; did you mean simply 'strstr'? | |
inline _LIBCPP_INLINE_VISIBILITY char* strstr( char* __s1, const char* __s2) {return ::strstr(__s1, __s2);} | |
^~ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:102:46: note: 'strstr' declared here | |
inline _LIBCPP_INLINE_VISIBILITY char* strstr( char* __s1, const char* __s2) {return ::strstr(__s1, __s2);} | |
^ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:106:9: error: no member named | |
'strtok' in the global namespace | |
using ::strtok; | |
~~^ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:109:9: error: no member named | |
'strerror' in the global namespace | |
using ::strerror; | |
~~^ | |
In file included from /Users/jose/ROSWorkspace/src/common_tutorials/nodelet_tutorial_math/src/plus.cpp:30: | |
In file included from /Users/jose/ROSWorkspace/install_isolated/include/pluginlib/class_list_macros.h:40: | |
In file included from /Users/jose/ROSWorkspace/install_isolated/include/class_loader/class_loader.h:33: | |
In file included from /usr/local/include/boost/shared_ptr.hpp:17: | |
In file included from /usr/local/include/boost/smart_ptr/shared_ptr.hpp:28: | |
In file included from /usr/local/include/boost/smart_ptr/detail/shared_count.hpp:29: | |
In file included from /usr/local/include/boost/smart_ptr/detail/sp_counted_base.hpp:45: | |
In file included from /usr/local/include/boost/smart_ptr/detail/sp_counted_base_clang.hpp:18: | |
In file included from /usr/local/include/boost/detail/sp_typeinfo.hpp:20: | |
In file included from /usr/local/include/boost/core/typeinfo.hpp:119: | |
In file included from /usr/local/include/boost/core/demangle.hpp:14: | |
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:438: | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cwchar:186:49: error: declaration conflicts | |
with target of using declaration already in scope | |
inline _LIBCPP_INLINE_VISIBILITY const wchar_t* wmemchr(const wchar_t* __s, wchar_t __c, size_t __n) {return ::wmemchr(__s, __c, __n);} | |
^ | |
/usr/include/wchar.h:150:10: note: target of using declaration | |
wchar_t *wmemchr(const wchar_t *, wchar_t, size_t); | |
^ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:82:9: note: using declaration | |
using ::memchr; | |
^ | |
In file included from /Users/jose/ROSWorkspace/src/common_tutorials/nodelet_tutorial_math/src/plus.cpp:30: | |
In file included from /Users/jose/ROSWorkspace/install_isolated/include/pluginlib/class_list_macros.h:40: | |
In file included from /Users/jose/ROSWorkspace/install_isolated/include/class_loader/class_loader.h:33: | |
In file included from /usr/local/include/boost/shared_ptr.hpp:17: | |
In file included from /usr/local/include/boost/smart_ptr/shared_ptr.hpp:28: | |
In file included from /usr/local/include/boost/smart_ptr/detail/shared_count.hpp:29: | |
In file included from /usr/local/include/boost/smart_ptr/detail/sp_counted_base.hpp:45: | |
In file included from /usr/local/include/boost/smart_ptr/detail/sp_counted_base_clang.hpp:18: | |
In file included from /usr/local/include/boost/detail/sp_typeinfo.hpp:20: | |
In file included from /usr/local/include/boost/core/typeinfo.hpp:119: | |
In file included from /usr/local/include/boost/core/demangle.hpp:14: | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:646:54: error: no matching function | |
for call to 'memchr' | |
{return __n == 0 ? NULL : (const char_type*) memchr(__s, to_int_type(__a), __n);} | |
^~~~~~ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:101:46: note: candidate function not | |
viable: no known conversion from 'const char_type *' (aka 'const char *') to 'void *' for 1st argument; take the address of the argument with & | |
inline _LIBCPP_INLINE_VISIBILITY void* memchr( void* __s, int __c, size_t __n) {return ::memchr(__s, __c, __n);} | |
^ | |
In file included from /Users/jose/ROSWorkspace/src/common_tutorials/nodelet_tutorial_math/src/plus.cpp:30: | |
In file included from /Users/jose/ROSWorkspace/install_isolated/include/pluginlib/class_list_macros.h:40: | |
In file included from /Users/jose/ROSWorkspace/install_isolated/include/class_loader/class_loader.h:34: | |
In file included from /usr/local/include/boost/thread/recursive_mutex.hpp:16: | |
In file included from /usr/local/include/boost/thread/pthread/recursive_mutex.hpp:11: | |
In file included from /usr/local/include/boost/thread/exceptions.hpp:22: | |
In file included from /usr/local/include/boost/system/system_error.hpp:14: | |
In file included from /usr/local/include/boost/system/error_code.hpp:19: | |
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ostream:140: | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/locale:871:44: error: use of undeclared | |
identifier 'errno' | |
typename remove_reference<decltype(errno)>::type __save_errno = errno; | |
^ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/locale:871:53: error: no type named 'type' in | |
the global namespace | |
typename remove_reference<decltype(errno)>::type __save_errno = errno; | |
~~^ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/locale:871:73: error: use of undeclared | |
identifier 'errno' | |
typename remove_reference<decltype(errno)>::type __save_errno = errno; | |
^ | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make[2]: *** [CMakeFiles/nodelet_math.dir/src/plus.cpp.o] Error 1 | |
make[1]: *** [CMakeFiles/nodelet_math.dir/all] Error 2 | |
make: *** [all] Error 2 | |
<== Failed to process package 'nodelet_tutorial_math': | |
Command '['/Users/jose/ROSWorkspace/install_isolated/env.sh', 'make', '-j8', '-l8']' returned non-zero exit status 2 | |
Reproduce this error by running: | |
==> cd /Users/jose/ROSWorkspace/build_isolated/nodelet_tutorial_math && /Users/jose/ROSWorkspace/install_isolated/env.sh make -j8 -l8 | |
Command failed, exiting. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment