Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rishavant@risha:~/Документы$ g++ -lgtest lab1-main.cpp -g
- /tmp/ccrmOY3N.o: In function `TestDeque_test_Test::TestBody()':
- /home/rishavant/Документы/lab1-main.cpp:92: undefined reference to `testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, char const*, int, char const*)'
- /home/rishavant/Документы/lab1-main.cpp:92: undefined reference to `testing::internal::AssertHelper::operator=(testing::Message const&) const'
- /home/rishavant/Документы/lab1-main.cpp:92: undefined reference to `testing::internal::AssertHelper::~AssertHelper()'
- /home/rishavant/Документы/lab1-main.cpp:92: undefined reference to `testing::internal::AssertHelper::~AssertHelper()'
- /tmp/ccrmOY3N.o: In function `main':
- /home/rishavant/Документы/lab1-main.cpp:97: undefined reference to `testing::InitGoogleTest(int*, char**)'
- /home/rishavant/Документы/lab1-main.cpp:98: undefined reference to `testing::UnitTest::GetInstance()'
- /home/rishavant/Документы/lab1-main.cpp:98: undefined reference to `testing::UnitTest::Run()'
- /tmp/ccrmOY3N.o: In function `__static_initialization_and_destruction_0':
- /home/rishavant/Документы/lab1-main.cpp:74: undefined reference to `testing::internal::GetTestTypeId()'
- /home/rishavant/Документы/lab1-main.cpp:74: undefined reference to `testing::internal::MakeAndRegisterTestInfo(char const*, char const*, char const*, char const*, void const*, void (*)(), void (*)(), testing::internal::TestFactoryBase*)'
- /tmp/ccrmOY3N.o: In function `TestDeque_test_Test::TestDeque_test_Test()':
- /home/rishavant/Документы/lab1-main.cpp:74: undefined reference to `testing::Test::Test()'
- /tmp/ccrmOY3N.o: In function `testing::internal::scoped_ptr<std::string>::reset(std::string*)':
- /usr/include/gtest/internal/gtest-port.h:793: undefined reference to `testing::internal::IsTrue(bool)'
- /tmp/ccrmOY3N.o: In function `testing::internal::scoped_ptr<std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> > >::reset(std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >*)':
- /usr/include/gtest/internal/gtest-port.h:793: undefined reference to `testing::internal::IsTrue(bool)'
- /tmp/ccrmOY3N.o: In function `testing::AssertionResult testing::internal::CmpHelperEQ<Array, Array>(char const*, char const*, Array const&, Array const&)':
- /usr/include/gtest/gtest.h:1317: undefined reference to `testing::AssertionSuccess()'
- /usr/include/gtest/gtest.h:1328: undefined reference to `testing::internal::EqFailure(char const*, char const*, testing::internal::String const&, testing::internal::String const&, bool)'
- /tmp/ccrmOY3N.o: In function `testing::internal2::TypeWithoutFormatter<Array, (testing::internal2::TypeKind)2>::PrintValue(Array const&, std::ostream*)':
- /usr/include/gtest/gtest-printers.h:137: undefined reference to `testing::internal2::PrintBytesInObjectTo(unsigned char const*, unsigned long, std::ostream*)'
- /tmp/ccrmOY3N.o:(.rodata._ZTV19TestDeque_test_Test[_ZTV19TestDeque_test_Test]+0x20): undefined reference to `testing::Test::SetUp()'
- /tmp/ccrmOY3N.o:(.rodata._ZTV19TestDeque_test_Test[_ZTV19TestDeque_test_Test]+0x28): undefined reference to `testing::Test::TearDown()'
- /tmp/ccrmOY3N.o: In function `TestDeque_test_Test::~TestDeque_test_Test()':
- /home/rishavant/Документы/lab1-main.cpp:74: undefined reference to `testing::Test::~Test()'
- /tmp/ccrmOY3N.o:(.rodata._ZTI19TestDeque_test_Test[_ZTI19TestDeque_test_Test]+0x10): undefined reference to `typeinfo for testing::Test'
- collect2: ошибка: выполнение ld завершилось с кодом возврата 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement