Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save aaronchongth/b68b8600075efc172075fe784d63306e to your computer and use it in GitHub Desktop.
Save aaronchongth/b68b8600075efc172075fe784d63306e to your computer and use it in GitHub Desktop.
Starting >>> rmf_utils
--- output: rmf_utils
[0.014s] Not searching for unused variables given on the command line.
[2.198s] -- The C compiler identification is Clang 10.0.0
[2.355s] -- The CXX compiler identification is Clang 10.0.0
[2.371s] -- Detecting C compiler ABI info
[2.454s] -- Detecting C compiler ABI info - done
[2.465s] -- Check for working C compiler: /usr/bin/clang - skipped
[2.466s] -- Detecting C compile features
[2.468s] -- Detecting C compile features - done
[2.475s] -- Detecting CXX compiler ABI info
[2.568s] -- Detecting CXX compiler ABI info - done
[2.578s] -- Check for working CXX compiler: /usr/bin/clang++ - skipped
[2.579s] -- Detecting CXX compile features
[2.580s] -- Detecting CXX compile features - done
[2.619s] -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.8.5", minimum required is "3")
[2.619s] -- Using PYTHON_EXECUTABLE: /usr/bin/python3
[2.821s] -- Configuring done
[2.825s] -- Generating done
[2.827s] -- Build files have been written to: /home/runner/work/rmf_utils/rmf_utils/ros_ws/build/rmf_utils
[2.853s] [ 25%] Building CXX object CMakeFiles/test_rmf_utils.dir/test/main.cpp.o
[2.855s] [ 50%] Building CXX object CMakeFiles/test_rmf_utils.dir/test/unit/TestClass.cpp.o
[3.470s] /home/runner/work/rmf_utils/rmf_utils/ros_ws/src/7w0ooqarxi7/rmf_utils/rmf_utils/test/unit/TestClass.cpp:31:15: error: implicit instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >'
[3.470s] std::string _test_text;
[3.470s] ^
[3.470s] /usr/lib/llvm-10/bin/../include/c++/v1/iosfwd:209:32: note: template is declared here
[3.470s] class _LIBCPP_TEMPLATE_VIS basic_string;
[3.470s] ^
[3.471s] /home/runner/work/rmf_utils/rmf_utils/ros_ws/src/7w0ooqarxi7/rmf_utils/rmf_utils/test/unit/TestClass.cpp:42:24: error: implicit instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >'
[3.471s] std::string TestClass::get_test_text() const
[3.471s] ^
[3.471s] /usr/lib/llvm-10/bin/../include/c++/v1/iosfwd:209:32: note: template is declared here
[3.471s] class _LIBCPP_TEMPLATE_VIS basic_string;
[3.471s] ^
[3.478s] 2 errors generated.
[3.481s] make[2]: *** [CMakeFiles/test_rmf_utils.dir/build.make:90: CMakeFiles/test_rmf_utils.dir/test/unit/TestClass.cpp.o] Error 1
[3.481s] make[2]: *** Waiting for unfinished jobs....
[10.574s] make[1]: *** [CMakeFiles/Makefile2:111: CMakeFiles/test_rmf_utils.dir/all] Error 2
[10.575s] make: *** [Makefile:146: all] Error 2
---
/usr/local/lib/python3.8/dist-packages/colcon_cmake/task/cmake/build.py:172: UserWarning: colcon_core.task.check_call() has been deprecated, use colcon_core.task.run() instead
return await check_call(
/usr/local/lib/python3.8/dist-packages/colcon_cmake/task/cmake/build.py:238: UserWarning: colcon_core.task.check_call() has been deprecated, use colcon_core.task.run() instead
rc = await check_call(
/usr/local/lib/python3.8/dist-packages/colcon_cmake/task/cmake/build.py:342: UserWarning: colcon_core.task.check_call() has been deprecated, use colcon_core.task.run() instead
return await check_call(
--- stderr: rmf_utils
/home/runner/work/rmf_utils/rmf_utils/ros_ws/src/7w0ooqarxi7/rmf_utils/rmf_utils/test/unit/TestClass.cpp:31:15: error: implicit instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >'
std::string _test_text;
^
/usr/lib/llvm-10/bin/../include/c++/v1/iosfwd:209:32: note: template is declared here
class _LIBCPP_TEMPLATE_VIS basic_string;
^
/home/runner/work/rmf_utils/rmf_utils/ros_ws/src/7w0ooqarxi7/rmf_utils/rmf_utils/test/unit/TestClass.cpp:42:24: error: implicit instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >'
std::string TestClass::get_test_text() const
^
/usr/lib/llvm-10/bin/../include/c++/v1/iosfwd:209:32: note: template is declared here
class _LIBCPP_TEMPLATE_VIS basic_string;
^
2 errors generated.
make[2]: *** [CMakeFiles/test_rmf_utils.dir/build.make:90: CMakeFiles/test_rmf_utils.dir/test/unit/TestClass.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:111: CMakeFiles/test_rmf_utils.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
---
Failed <<< rmf_utils [ Exited with code 2 ]
Summary: 2 packages finished [11.7s]
1 package failed: rmf_utils
1 package had stderr output: rmf_utils
Error: The process '/usr/bin/bash' failed with exit code 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment