Language
Compiler
Options
$ /tmp/ccu3atP2.o: In function `_DOCTEST_ANON_FUNC_2()':
class.cpp:(.text+0x15f): undefined reference to `doctest::detail::ResultBuilder::ResultBuilder(doctest::detail::assertType::Enum, char const*, int, char const*, char const*)'
class.cpp:(.text+0x1cd): undefined reference to `doctest::detail::Result::~Result()'
class.cpp:(.text+0x1e8): undefined reference to `doctest::detail::ResultBuilder::log()'
class.cpp:(.text+0x1f7): undefined reference to `doctest::detail::ResultBuilder::react() const'
class.cpp:(.text+0x206): undefined reference to `doctest::detail::ResultBuilder::~ResultBuilder()'
class.cpp:(.text+0x217): undefined reference to `doctest::detail::Result::~Result()'
class.cpp:(.text+0x244): undefined reference to `doctest::detail::ResultBuilder::unexpectedExceptionOccurred()'
class.cpp:(.text+0x267): undefined reference to `doctest::detail::ResultBuilder::~ResultBuilder()'
/tmp/ccu3atP2.o: In function `__static_initialization_and_destruction_0(int, int)':
class.cpp:(.text+0x2f3): undefined reference to `doctest::detail::setTestSuite(doctest::detail::TestSuite const&)'
class.cpp:(.text+0x2fe): undefined reference to `doctest_detail_test_suite_ns::getCurrentTestSuite()'
class.cpp:(.text+0x32b): undefined reference to `doctest::detail::TestCase::TestCase(void (*)(), char const*, unsigned int, doctest::detail::TestSuite const&, char const*, int)'
class.cpp:(.text+0x340): undefined reference to `doctest::detail::TestCase::operator*(char const*)'
class.cpp:(.text+0x348): undefined reference to `doctest::detail::regTest(doctest::detail::TestCase const&)'
/tmp/ccu3atP2.o: In function `doctest::String::String(doctest::String const&)':
class.cpp:(.text._ZN7doctest6StringC2ERKS0_[_ZN7doctest6StringC5ERKS0_]+0x1f): undefined reference to `doctest::String::copy(doctest::String const&)'
/tmp/ccu3atP2.o: In function `doctest::String::operator+(doctest::String const&) const':
class.cpp:(.text._ZNK7doctest6StringplERKS0_[_ZNK7doctest6StringplERKS0_]+0x37): undefined reference to `doctest::String::operator+=(doctest::String const&)'
/tmp/ccu3atP2.o: In function `doctest::detail::ResultBuilder::setResult(doctest::detail::Result const&)':
class.cpp:(.text._ZN7doctest6detail13ResultBuilder9setResultERKNS0_6ResultE[_ZN7doctest6detail13ResultBuilder9setResultERKNS0_6ResultE]+0x23): undefined reference to `doctest::detail::Result::operator=(doctest::detail::Result const&)'
/tmp/ccu3atP2.o: In function `doctest::detail::Result doctest::detail::Expression_lhs<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>::operator==<char [5]>(char const (&) [5])':
class.cpp:(.text._ZN7doctest6detail14Expression_lhsIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEeqIA5_cEENS0_6ResultERKT_[_ZN7doctest6detail14Expression_lhsIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEeqIA5_cEENS0_6ResultERKT_]+0x4e): undefined reference to `doctest::detail::getTestsContextState()'
/tmp/ccu3atP2.o: In function `doctest::String doctest::detail::stringifyBinaryExpr<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, char [5]>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, char const*, char const (&) [5])':
class.cpp:(.text._ZN7doctest6detail19stringifyBinaryExprINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA5_cEENS_6StringERKT_PKcRKT0_[_ZN7doctest6detail19stringifyBinaryExprINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA5_cEENS_6StringERKT_PKcRKT0_]+0x53): undefined reference to `doctest::String::String(char const*)'
/tmp/ccu3atP2.o: In function `doctest::String doctest::detail::StringMakerBase<true>::convert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
class.cpp:(.text._ZN7doctest6detail15StringMakerBaseILb1EE7convertINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS_6StringERKT_[_ZN7doctest6detail15StringMakerBaseILb1EE7convertINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS_6StringERKT_]+0x12): undefined reference to `doctest::detail::createStream()'
class.cpp:(.text._ZN7doctest6detail15StringMakerBaseILb1EE7convertINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS_6StringERKT_[_ZN7doctest6detail15StringMakerBaseILb1EE7convertINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS_6StringERKT_]+0x3c): undefined reference to `doctest::detail::getStreamResult(std::ostream*)'
class.cpp:(.text._ZN7doctest6detail15StringMakerBaseILb1EE7convertINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS_6StringERKT_[_ZN7doctest6detail15StringMakerBaseILb1EE7convertINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS_6StringERKT_]+0x48): undefined reference to `doctest::detail::freeStream(std::ostream*)'
/tmp/ccu3atP2.o: In function `doctest::String doctest::detail::StringMakerBase<false>::convert<char [5]>(char const (&) [5])':
class.cpp:(.text._ZN7doctest6detail15StringMakerBaseILb0EE7convertIA5_cEENS_6StringERKT_[_ZN7doctest6detail15StringMakerBaseILb0EE7convertIA5_cEENS_6StringERKT_]+0x1d): undefined reference to `doctest::String::String(char const*)'
collect2: error: ld returned 1 exit status
Exit Code:
1