Robotics StackExchange | Archived questions

catkin_make error ROS melodic beginner tutorials creating service and client

Hi, I'm new to ubuntu and ROS, and I'm learning through the tutorials here http://wiki.ros.org/ROS/Tutorials. I've followed each instruction there until writing a simple publisher, subscriber, service, and client just fine with the python. But when I try the C++ tutorial, I get this error when doing catkin_make. Any suggestion?

I'm on Ubuntu Mate 18.04 with ROS melodic

/usr/include/wctype.h:103:24: error: 'wint_t' was not declared in this scope
 extern int iswupper_l (wint_t __wc, locale_t __locale) __THROW;
                        ^~~~~~
/usr/include/wctype.h:103:24: note: suggested alternative: 'uint8_t'
 extern int iswupper_l (wint_t __wc, locale_t __locale) __THROW;
                        ^~~~~~
                        uint8_t
/usr/include/wctype.h:103:46: error: expected primary-expression before '__locale'
 extern int iswupper_l (wint_t __wc, locale_t __locale) __THROW;
                                              ^~~~~~~~
/usr/include/wctype.h:103:54: error: expression list treated as compound expression in initializer [-fpermissive]
 extern int iswupper_l (wint_t __wc, locale_t __locale) __THROW;
                                                      ^
/usr/include/wctype.h:108:25: error: 'wint_t' was not declared in this scope
 extern int iswxdigit_l (wint_t __wc, locale_t __locale) __THROW;
                         ^~~~~~
/usr/include/wctype.h:93:24: note: suggested alternative: 'uint8_t'
 extern int iswpunct_l (wint_t __wc, locale_t __locale) __THROW;
                        ^~~~~~
                        uint8_t
/usr/include/wctype.h:93:46: error: expected primary-expression before '__locale'
 extern int iswpunct_l (wint_t __wc, locale_t __locale) __THROW;
                                              ^~~~~~~~
/usr/include/wctype.h:93:54: error: expression list treated as compound expression in initializer [-fpermissive]
 extern int iswpunct_l (wint_t __wc, locale_t __locale) __THROW;
                                                      ^
/usr/include/wctype.h:98:24: error: 'wint_t' was not declared in this scope
 extern int iswspace_l (wint_t __wc, locale_t __locale) __THROW;
                        ^~~~~~
/usr/include/wctype.h:108:25: note: suggested alternative: 'uint8_t'
 extern int iswxdigit_l (wint_t __wc, locale_t __locale) __THROW;
                         ^~~~~~
                         uint8_t
/usr/include/wctype.h:108:47: error: expected primary-expression before '__locale'
 extern int iswxdigit_l (wint_t __wc, locale_t __locale) __THROW;
                                               ^~~~~~~~
/usr/include/wctype.h:108:55: error: expression list treated as compound expression in initializer [-fpermissive]
 extern int iswxdigit_l (wint_t __wc, locale_t __locale) __THROW;
                                                       ^
/usr/include/wctype.h:113:24: error: 'wint_t' was not declared in this scope
 extern int iswblank_l (wint_t __wc, locale_t __locale) __THROW;
                        ^~~~~~
/usr/include/wctype.h:113:24: note: suggested alternative: 'uint8_t'
 extern int iswblank_l (wint_t __wc, locale_t __locale) __THROW;
                        ^~~~~~
                        uint8_t
/usr/include/wctype.h:113:46: error: expected primary-expression before '__locale'
 extern int iswblank_l (wint_t __wc, locale_t __locale) __THROW;
                                              ^~~~~~~~
/usr/include/wctype.h:113:54: error: expression list treated as compound expression in initializer [-fpermissive]
 extern int iswblank_l (wint_t __wc, locale_t __locale) __THROW;
                                                      ^
/usr/include/wctype.h:122:24: error: 'wint_t' was not declared in this scope
 extern int iswctype_l (wint_t __wc, wctype_t __desc, locale_t __locale)
                        ^~~~~~
/usr/include/wctype.h:122:24: note: suggested alternative: 'uint8_t'
 extern int iswctype_l (wint_t __wc, wctype_t __desc, locale_t __locale)
                        ^~~~~~
                        uint8_t
/usr/include/wctype.h:98:24: note: suggested alternative: 'uint8_t'
 extern int iswspace_l (wint_t __wc, locale_t __locale) __THROW;
                        ^~~~~~
                        uint8_t
/usr/include/wctype.h:122:46: error: expected primary-expression before '__desc'
 extern int iswctype_l (wint_t __wc, wctype_t __desc, locale_t __locale)
                                              ^~~~~~
/usr/include/wctype.h:122:63: error: expected primary-expression before '__locale'
 ern int iswctype_l (wint_t __wc, wctype_t __desc, locale_t __locale)
                                                            ^~~~~~~~
/usr/include/wctype.h:98:46: error: expected primary-expression before '__locale'
 extern int iswspace_l (wint_t __wc, locale_t __locale) __THROW;
                                              ^~~~~~~~
/usr/include/wctype.h:122:71: error: expression list treated as compound expression in initializer [-fpermissive]
 ern int iswctype_l (wint_t __wc, wctype_t __desc, locale_t __locale)
                                                                    ^
/usr/include/wctype.h:98:54: error: expression list treated as compound expression in initializer [-fpermissive]
 extern int iswspace_l (wint_t __wc, locale_t __locale) __THROW;
                                                      ^
/usr/include/wctype.h:103:24: error: 'wint_t' was not declared in this scope
 extern int iswupper_l (wint_t __wc, locale_t __locale) __THROW;
                        ^~~~~~
/usr/include/wctype.h:130:8: error: 'wint_t' does not name a type; did you mean 'uint8_t'?
 extern wint_t towlower_l (wint_t __wc, locale_t __locale) __THROW;
        ^~~~~~
        uint8_t
/usr/include/wctype.h:133:8: error: 'wint_t' does not name a type; did you mean 'uint8_t'?
 extern wint_t towupper_l (wint_t __wc, locale_t __locale) __THROW;
        ^~~~~~
        uint8_t
/usr/include/wctype.h:103:24: note: suggested alternative: 'uint8_t'
 extern int iswupper_l (wint_t __wc, locale_t __locale) __THROW;
                        ^~~~~~
                        uint8_t
/usr/include/wctype.h:103:46: error: expected primary-expression before '__locale'
 extern int iswupper_l (wint_t __wc, locale_t __locale) __THROW;
                                              ^~~~~~~~
/usr/include/wctype.h:103:54: error: expression list treated as compound expression in initializer [-fpermissive]
 extern int iswupper_l (wint_t __wc, locale_t __locale) __THROW;
                                                      ^
/usr/include/wctype.h:108:25: error: 'wint_t' was not declared in this scope
 extern int iswxdigit_l (wint_t __wc, locale_t __locale) __THROW;
                         ^~~~~~
/usr/include/wctype.h:141:8: error: 'wint_t' does not name a type; did you mean 'uint8_t'?
 extern wint_t towctrans_l (wint_t __wc, wctrans_t __desc,
        ^~~~~~
        uint8_t
In file included from /usr/include/c++/7/bits/locale_facets.h:39:0,
                 from /usr/include/c++/7/bits/basic_ios.h:37,
                 from /usr/include/c++/7/ios:44,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from /opt/ros/melodic/include/ros/time.h:54,
                 from /opt/ros/melodic/include/ros/ros.h:38,
                 from /home/odroid/catkin_ws/src/beginner_tutorials/src/add_two_ints_server.cpp:1:
/usr/include/c++/7/cwctype:84:11: error: '::wint_t' has not been declared
   using ::wint_t;
           ^~~~~~
/usr/include/c++/7/cwctype:101:11: error: '::towctrans' has not been declared
   using ::towctrans;
           ^~~~~~~~~
/usr/include/c++/7/cwctype:102:11: error: '::towlower' has not been declared
   using ::towlower;
           ^~~~~~~~
/usr/include/c++/7/cwctype:103:11: error: '::towupper' has not been declared
   using ::towupper;
           ^~~~~~~~
/usr/include/wctype.h:108:25: note: suggested alternative: 'uint8_t'
 extern int iswxdigit_l (wint_t __wc, locale_t __locale) __THROW;
                         ^~~~~~
                         uint8_t
/usr/include/wctype.h:108:47: error: expected primary-expression before '__locale'
 extern int iswxdigit_l (wint_t __wc, locale_t __locale) __THROW;
                                               ^~~~~~~~
/usr/include/wctype.h:108:55: error: expression list treated as compound expression in initializer [-fpermissive]
 extern int iswxdigit_l (wint_t __wc, locale_t __locale) __THROW;
                                                       ^
/usr/include/wctype.h:113:24: error: 'wint_t' was not declared in this scope
 extern int iswblank_l (wint_t __wc, locale_t __locale) __THROW;
                        ^~~~~~
/usr/include/wctype.h:113:24: note: suggested alternative: 'uint8_t'
 extern int iswblank_l (wint_t __wc, locale_t __locale) __THROW;
                        ^~~~~~
                        uint8_t
/usr/include/wctype.h:113:46: error: expected primary-expression before '__locale'
 extern int iswblank_l (wint_t __wc, locale_t __locale) __THROW;
                                              ^~~~~~~~
/usr/include/wctype.h:113:54: error: expression list treated as compound expression in initializer [-fpermissive]
 extern int iswblank_l (wint_t __wc, locale_t __locale) __THROW;
                                                      ^
In file included from /usr/include/c++/7/bits/basic_ios.h:37:0,
                 from /usr/include/c++/7/ios:44,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from /opt/ros/melodic/include/ros/time.h:54,
                 from /opt/ros/melodic/include/ros/ros.h:38,
                 from /home/odroid/catkin_ws/src/beginner_tutorials/src/add_two_ints_server.cpp:1:
/usr/include/c++/7/bits/locale_facets.h:1196:7: error: 'wint_t' does not name a type; did you mean 'uint8_t'?
       wint_t                    _M_widen[1 + static_cast<unsigned char>(-1)];
       ^~~~~~
       uint8_t
/usr/include/wctype.h:122:24: error: 'wint_t' was not declared in this scope
 extern int iswctype_l (wint_t __wc, wctype_t __desc, locale_t __locale)
                        ^~~~~~
/usr/include/wctype.h:122:24: note: suggested alternative: 'uint8_t'
 extern int iswctype_l (wint_t __wc, wctype_t __desc, locale_t __locale)
                        ^~~~~~
                        uint8_t
/usr/include/wctype.h:122:46: error: expected primary-expression before '__desc'
 extern int iswctype_l (wint_t __wc, wctype_t __desc, locale_t __locale)
                                              ^~~~~~
/usr/include/wctype.h:122:63: error: expected primary-expression before '__locale'
 extern int iswctype_l (wint_t __wc, wctype_t __desc, locale_t __locale)
                                                               ^~~~~~~~
/usr/include/wctype.h:122:71: error: expression list treated as compound expression in initializer [-fpermissive]
 extern int iswctype_l (wint_t __wc, wctype_t __desc, locale_t __locale)
                                                                       ^
/usr/include/wctype.h:130:8: error: 'wint_t' does not name a type; did you mean 'uint8_t'?
 extern wint_t towlower_l (wint_t __wc, locale_t __locale) __THROW;
        ^~~~~~
        uint8_t
/usr/include/wctype.h:133:8: error: 'wint_t' does not name a type; did you mean 'uint8_t'?
 extern wint_t towupper_l (wint_t __wc, locale_t __locale) __THROW;
        ^~~~~~
        uint8_t
/usr/include/wctype.h:141:8: error: 'wint_t' does not name a type; did you mean 'uint8_t'?
 extern wint_t towctrans_l (wint_t __wc, wctrans_t __desc,
        ^~~~~~
        uint8_t
In file included from /usr/include/c++/7/bits/locale_facets.h:39:0,
                 from /usr/include/c++/7/bits/basic_ios.h:37,
                 from /usr/include/c++/7/ios:44,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from /opt/ros/melodic/include/ros/time.h:54,
                 from /opt/ros/melodic/include/ros/ros.h:38,
                 from /home/odroid/catkin_ws/src/beginner_tutorials/src/add_two_ints_client.cpp:1:
/usr/include/c++/7/cwctype:84:11: error: '::wint_t' has not been declared
   using ::wint_t;
           ^~~~~~
/usr/include/c++/7/cwctype:101:11: error: '::towctrans' has not been declared
   using ::towctrans;
           ^~~~~~~~~
/usr/include/c++/7/cwctype:102:11: error: '::towlower' has not been declared
   using ::towlower;
           ^~~~~~~~
/usr/include/c++/7/cwctype:103:11: error: '::towupper' has not been declared
   using ::towupper;
           ^~~~~~~~
In file included from /usr/include/c++/7/ios:44:0,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from /opt/ros/melodic/include/ros/time.h:54,
                 from /opt/ros/melodic/include/ros/ros.h:38,
                 from /home/odroid/catkin_ws/src/beginner_tutorials/src/add_two_ints_server.cpp:1:
/usr/include/c++/7/bits/basic_ios.h: In instantiation of 'class std::basic_ios<wchar_t>':
/usr/include/c++/7/bits/basic_ios.tcc:181:25:   required from here
/usr/include/c++/7/bits/basic_ios.h:77:54: error: no type named 'int_type' in 'struct std::char_traits<wchar_t>'
       typedef typename _Traits::int_type             int_type;
                                                      ^~~~~~~~
In file included from /usr/include/c++/7/iostream:39:0,
                 from /opt/ros/melodic/include/ros/time.h:54,
                 from /opt/ros/melodic/include/ros/ros.h:38,
                 from /home/odroid/catkin_ws/src/beginner_tutorials/src/add_two_ints_server.cpp:1:
/usr/include/c++/7/ostream: In instantiation of 'class std::basic_ostream<wchar_t>':
/usr/include/c++/7/bits/ostream.tcc:382:25:   required from here
/usr/include/c++/7/ostream:63:44: error: no type named 'int_type' in 'struct std::char_traits<wchar_t>'
       typedef typename _Traits::int_type   int_type;
                                            ^~~~~~~~
In file included from /usr/include/c++/7/iostream:40:0,
                 from /opt/ros/melodic/include/ros/time.h:54,
                 from /opt/ros/melodic/include/ros/ros.h:38,
                 from /home/odroid/catkin_ws/src/beginner_tutorials/src/add_two_ints_server.cpp:1:
/usr/include/c++/7/istream: In instantiation of 'class std::basic_istream<wchar_t>':
/usr/include/c++/7/istream:663:27:   required from here
/usr/include/c++/7/istream:63:44: error: no type named 'int_type' in 'struct std::char_traits<wchar_t>'
       typedef typename _Traits::int_type   int_type;
                                            ^~~~~~~~
/usr/include/c++/7/istream:673:5: error: template-id 'ignore<>' for 'std::basic_istream<wchar_t>& std::basic_istream<wchar_t>::ignore(...)' does not match any template declaration
     basic_istream<wchar_t>::
     ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/7/istream:674:44: note: saw 1 'template<>', need 2 for specializing a member function template
     ignore(streamsize __n, int_type __delim);
                                            ^
In file included from /usr/include/c++/7/bits/basic_ios.h:37:0,
                 from /usr/include/c++/7/ios:44,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from /opt/ros/melodic/include/ros/time.h:54,
                 from /opt/ros/melodic/include/ros/ros.h:38,
                 from /home/odroid/catkin_ws/src/beginner_tutorials/src/add_two_ints_client.cpp:1:
/usr/include/c++/7/bits/locale_facets.h:1196:7: error: 'wint_t' does not name a type; did you mean 'uint8_t'?
       wint_t                    _M_widen[1 + static_cast<unsigned char>(-1)];
       ^~~~~~
       uint8_t
/usr/include/c++/7/istream: In instantiation of 'class std::basic_istream<wchar_t>::sentry':
/usr/include/c++/7/bits/istream.tcc:1074:25:   required from here
/usr/include/c++/7/istream:697:43: error: no type named 'int_type' in 'struct std::char_traits<wchar_t>'
       typedef typename _Traits::int_type  __int_type;
                                           ^~~~~~~~~~
/usr/include/c++/7/istream: In instantiation of 'class std::basic_iostream<wchar_t>':
/usr/include/c++/7/bits/istream.tcc:1093:25:   required from here
/usr/include/c++/7/istream:833:44: error: no type named 'int_type' in 'struct std::char_traits<wchar_t>'
       typedef typename _Traits::int_type   int_type;
                                            ^~~~~~~~
In file included from /usr/include/c++/7/ios:44:0,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from /opt/ros/melodic/include/ros/time.h:54,
                 from /opt/ros/melodic/include/ros/ros.h:38,
                 from /home/odroid/catkin_ws/src/beginner_tutorials/src/add_two_ints_client.cpp:1:
/usr/include/c++/7/bits/basic_ios.h: In instantiation of 'class std::basic_ios<wchar_t>':
/usr/include/c++/7/bits/basic_ios.tcc:181:25:   required from here
/usr/include/c++/7/bits/basic_ios.h:77:54: error: no type named 'int_type' in 'struct std::char_traits<wchar_t>'
       typedef typename _Traits::int_type             int_type;
                                                      ^~~~~~~~
In file included from /usr/include/c++/7/iostream:39:0,
                 from /opt/ros/melodic/include/ros/time.h:54,
                 from /opt/ros/melodic/include/ros/ros.h:38,
                 from /home/odroid/catkin_ws/src/beginner_tutorials/src/add_two_ints_client.cpp:1:
/usr/include/c++/7/ostream: In instantiation of 'class std::basic_ostream<wchar_t>':
/usr/include/c++/7/bits/ostream.tcc:382:25:   required from here
/usr/include/c++/7/ostream:63:44: error: no type named 'int_type' in 'struct std::char_traits<wchar_t>'
       typedef typename _Traits::int_type   int_type;
                                            ^~~~~~~~
In file included from /usr/include/c++/7/iostream:40:0,
                 from /opt/ros/melodic/include/ros/time.h:54,
                 from /opt/ros/melodic/include/ros/ros.h:38,
                 from /home/odroid/catkin_ws/src/beginner_tutorials/src/add_two_ints_client.cpp:1:
/usr/include/c++/7/istream: In instantiation of 'class std::basic_istream<wchar_t>':
/usr/include/c++/7/istream:663:27:   required from here
/usr/include/c++/7/istream:63:44: error: no type named 'int_type' in 'struct std::char_traits<wchar_t>'
       typedef typename _Traits::int_type   int_type;
                                            ^~~~~~~~
/usr/include/c++/7/istream:673:5: error: template-id 'ignore<>' for 'std::basic_istream<wchar_t>& std::basic_istream<wchar_t>::ignore(...)' does not match any template declaration
     basic_istream<wchar_t>::
     ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/7/istream:674:44: note: saw 1 'template<>', need 2 for specializing a member function template
     ignore(streamsize __n, int_type __delim);
                                            ^
/usr/include/c++/7/istream: In instantiation of 'class std::basic_istream<wchar_t>::sentry':
/usr/include/c++/7/bits/istream.tcc:1074:25:   required from here
/usr/include/c++/7/istream:697:43: error: no type named 'int_type' in 'struct std::char_traits<wchar_t>'
       typedef typename _Traits::int_type  __int_type;
                                           ^~~~~~~~~~
/usr/include/c++/7/istream: In instantiation of 'class std::basic_iostream<wchar_t>':
/usr/include/c++/7/bits/istream.tcc:1093:25:   required from here
/usr/include/c++/7/istream:833:44: error: no type named 'int_type' in 'struct std::char_traits<wchar_t>'
       typedef typename _Traits::int_type   int_type;
                                            ^~~~~~~~
In file included from /usr/include/c++/7/bits/quoted_string.h:38:0,
                 from /usr/include/c++/7/iomanip:45,
                 from /usr/include/boost/math/policies/error_handling.hpp:12,
                 from /usr/include/boost/math/special_functions/round.hpp:14,
                 from /opt/ros/melodic/include/ros/time.h:58,
                 from /opt/ros/melodic/include/ros/ros.h:38,
                 from /home/odroid/catkin_ws/src/beginner_tutorials/src/add_two_ints_server.cpp:1:
/usr/include/c++/7/sstream: In instantiation of 'class std::__cxx11::basic_stringbuf<wchar_t>':
/usr/include/c++/7/bits/sstream.tcc:297:25:   required from here
/usr/include/c++/7/sstream:75:48: error: no type named 'int_type' in 'std::__cxx11::basic_stringbuf<wchar_t>::traits_type {aka struct std::char_traits<wchar_t>}'
       typedef typename traits_type::int_type   int_type;
                                                ^~~~~~~~
/usr/include/c++/7/sstream: In instantiation of 'class std::__cxx11::basic_istringstream<wchar_t>':
/usr/include/c++/7/bits/sstream.tcc:298:25:   required from here
/usr/include/c++/7/sstream:389:48: error: no type named 'int_type' in 'std::__cxx11::basic_istringstream<wchar_t>::traits_type {aka struct std::char_traits<wchar_t>}'
       typedef typename traits_type::int_type   int_type;
                                                ^~~~~~~~
/usr/include/c++/7/sstream: In instantiation of 'class std::__cxx11::basic_ostringstream<wchar_t>':
/usr/include/c++/7/bits/sstream.tcc:299:25:   required from here
/usr/include/c++/7/sstream:533:48: error: no type named 'int_type' in 'std::__cxx11::basic_ostringstream<wchar_t>::traits_type {aka struct std::char_traits<wchar_t>}'
       typedef typename traits_type::int_type   int_type;
                                                ^~~~~~~~
/usr/include/c++/7/sstream: In instantiation of 'class std::__cxx11::basic_stringstream<wchar_t>':
/usr/include/c++/7/bits/sstream.tcc:300:25:   required from here
/usr/include/c++/7/sstream:677:48: error: no type named 'int_type' in 'std::__cxx11::basic_stringstream<wchar_t>::traits_type {aka struct std::char_traits<wchar_t>}'
       typedef typename traits_type::int_type   int_type;
                                                ^~~~~~~~
In file included from /usr/include/c++/7/bits/quoted_string.h:38:0,
                 from /usr/include/c++/7/iomanip:45,
                 from /usr/include/boost/math/policies/error_handling.hpp:12,
                 from /usr/include/boost/math/special_functions/round.hpp:14,
                 from /opt/ros/melodic/include/ros/time.h:58,
                 from /opt/ros/melodic/include/ros/ros.h:38,
                 from /home/odroid/catkin_ws/src/beginner_tutorials/src/add_two_ints_client.cpp:1:
/usr/include/c++/7/sstream: In instantiation of 'class std::__cxx11::basic_stringbuf<wchar_t>':
/usr/include/c++/7/bits/sstream.tcc:297:25:   required from here
/usr/include/c++/7/sstream:75:48: error: no type named 'int_type' in 'std::__cxx11::basic_stringbuf<wchar_t>::traits_type {aka struct std::char_traits<wchar_t>}'
       typedef typename traits_type::int_type   int_type;
                                                ^~~~~~~~
/usr/include/c++/7/sstream: In instantiation of 'class std::__cxx11::basic_istringstream<wchar_t>':
/usr/include/c++/7/bits/sstream.tcc:298:25:   required from here
/usr/include/c++/7/sstream:389:48: error: no type named 'int_type' in 'std::__cxx11::basic_istringstream<wchar_t>::traits_type {aka struct std::char_traits<wchar_t>}'
       typedef typename traits_type::int_type   int_type;
                                                ^~~~~~~~
/usr/include/c++/7/sstream: In instantiation of 'class std::__cxx11::basic_ostringstream<wchar_t>':
/usr/include/c++/7/bits/sstream.tcc:299:25:   required from here
/usr/include/c++/7/sstream:533:48: error: no type named 'int_type' in 'std::__cxx11::basic_ostringstream<wchar_t>::traits_type {aka struct std::char_traits<wchar_t>}'
       typedef typename traits_type::int_type   int_type;
                                                ^~~~~~~~
/usr/include/c++/7/sstream: In instantiation of 'class std::__cxx11::basic_stringstream<wchar_t>':
/usr/include/c++/7/bits/sstream.tcc:300:25:   required from here
/usr/include/c++/7/sstream:677:48: error: no type named 'int_type' in 'std::__cxx11::basic_stringstream<wchar_t>::traits_type {aka struct std::char_traits<wchar_t>}'
       typedef typename traits_type::int_type   int_type;
                                                ^~~~~~~~
beginner_tutorials/CMakeFiles/add_two_ints_server.dir/build.make:62: recipe for target 'beginner_tutorials/CMakeFiles/add_two_ints_server.dir/src/add_two_ints_server.cpp.o' failed
make[2]: *** [beginner_tutorials/CMakeFiles/add_two_ints_server.dir/src/add_two_ints_server.cpp.o] Error 1
CMakeFiles/Makefile2:781: recipe for target 'beginner_tutorials/CMakeFiles/add_two_ints_server.dir/all' failed
make[1]: *** [beginner_tutorials/CMakeFiles/add_two_ints_server.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
beginner_tutorials/CMakeFiles/add_two_ints_client.dir/build.make:62: recipe for target 'beginner_tutorials/CMakeFiles/add_two_ints_client.dir/src/add_two_ints_client.cpp.o' failed
make[2]: *** [beginner_tutorials/CMakeFiles/add_two_ints_client.dir/src/add_two_ints_client.cpp.o] Error 1
CMakeFiles/Makefile2:1347: recipe for target 'beginner_tutorials/CMakeFiles/add_two_ints_client.dir/all' failed
make[1]: *** [beginner_tutorials/CMakeFiles/add_two_ints_client.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j8 -l8" failed

Asked by mfaliha on 2020-12-09 00:38:10 UTC

Comments

Answers