Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid setting '13' is not a valid 'settings.compiler.version' value. #1881

Closed
batot1 opened this issue May 10, 2023 · 10 comments
Closed

Invalid setting '13' is not a valid 'settings.compiler.version' value. #1881

batot1 opened this issue May 10, 2023 · 10 comments

Comments

@batot1
Copy link

batot1 commented May 10, 2023

Hello all,

I'm trying help distribution Archlinux to push Ulimaker/CuraEngine as package ready to install from distribution packages.
I was trying create CuraEngine according to the instructions:
https://github.com/Ultimaker/CuraEngine/wiki/Building-CuraEngine-From-Source
I did all the steps according to the instructions.
But for this moment I was stopped in this place:

$ conan install . --build=missing --update
ERROR: Invalid setting '13' is not a valid 'settings.compiler.version' value.
Possible values are ['4.1', '4.4', '4.5', '4.6', '4.7', '4.8', '4.9', '5', '5.1', '5.2', '5.3', '5.4', '5.5', '6', '6.1', '6.2', '6.3', '6.4', '6.5', '7', '7.1', '7.2', '7.3', '7.4', '7.5', '8', '8.1', '8.2', '8.3', '8.4', '9', '9.1', '9.2', '9.3', '9.4', '10', '10.1', '10.2', '10.3', '11', '11.1', '11.2', '11.3', '12', '12.1', '12.2']
Read "http://docs.conan.io/en/latest/faq/troubleshooting.html#error-invalid-setting"

I have fresh actual system with all packages (pacman -Syu).
I'm not sure what next doing, maybe somebody can I help me?

@batot1
Copy link
Author

batot1 commented May 10, 2023

///Ok I was doing trick and resolve this step. ;-) (don;t know did is is correct but compilation started).
Now compilation all.

But I get many warrning maybe 50, example like this:

/.conan/data/protobuf/3.21.4/_/_/build/cd5b48acbf6628ad1e42a0c12cb321217a0989e7/source_subfolder/src/google/protobuf/repeated_ptr_field.h:1963:5: warning: type attributes ignored after type is already defined [-Wattributes]

Or other example:
CMake Warning (dev) at CMakeLists.txt:2 (project):
cmake_minimum_required() should be called prior to this top-level project()
call. Please see the cmake-commands(7) manual for usage documentation of
both commands.
This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring done (0.5s)
-- Generating done (0.0s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_POLICY_DEFAULT_CMP0091

Is it all normal?

Compilation was ended like this:

-- Generating compile commands to /home/bartosz/.conan/data/arcus/5.2.2/_/_/build/0a575a048007e2b2acbb9ce7fc89813f4189c75c/build/Release/compile_commands.json
-- Conan: Component target declared 'protobuf::libprotobuf'
-- Conan: Component target declared 'protobuf::libprotoc'
-- Conan: Target declared 'protobuf::protobuf'
-- Conan: Target declared 'ZLIB::ZLIB'
-- Conan: Including build module from '/home/bartosz/.conan/data/protobuf/3.21.4/_/_/package/cd5b48acbf6628ad1e42a0c12cb321217a0989e7/lib/cmake/protobuf/protobuf-generate.cmake'
-- Conan: Including build module from '/home/bartosz/.conan/data/protobuf/3.21.4/_/_/package/cd5b48acbf6628ad1e42a0c12cb321217a0989e7/lib/cmake/protobuf/protobuf-module.cmake'
-- Conan: Including build module from '/home/bartosz/.conan/data/protobuf/3.21.4/_/_/package/cd5b48acbf6628ad1e42a0c12cb321217a0989e7/lib/cmake/protobuf/protobuf-options.cmake'
-- Enabling threading support for Arcus
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Configuring done (0.5s)
-- Generating done (0.0s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_POLICY_DEFAULT_CMP0091


-- Build files have been written to: /home/bartosz/.conan/data/arcus/5.2.2/_/_/build/0a575a048007e2b2acbb9ce7fc89813f4189c75c/build/Release
arcus/5.2.2: CMake command: cmake --build "/home/bartosz/.conan/data/arcus/5.2.2/_/_/build/0a575a048007e2b2acbb9ce7fc89813f4189c75c/build/Release" '--' '-j8'

----Running------
> . "/home/bartosz/.conan/data/arcus/5.2.2/_/_/build/0a575a048007e2b2acbb9ce7fc89813f4189c75c/build/generators/conanbuild.sh" && cmake --build "/home/bartosz/.conan/data/arcus/5.2.2/_/_/build/0a575a048007e2b2acbb9ce7fc89813f4189c75c/build/Release" '--' '-j8'
-----------------
[6/6] Linking CXX shared library libArcus.so
arcus/5.2.2: Package '0a575a048007e2b2acbb9ce7fc89813f4189c75c' built
arcus/5.2.2: Build folder /home/bartosz/.conan/data/arcus/5.2.2/_/_/build/0a575a048007e2b2acbb9ce7fc89813f4189c75c/build/Release
arcus/5.2.2: Generated conaninfo.txt
arcus/5.2.2: Generated conanbuildinfo.txt
arcus/5.2.2: Generating the package
arcus/5.2.2: Package folder /home/bartosz/.conan/data/arcus/5.2.2/_/_/package/0a575a048007e2b2acbb9ce7fc89813f4189c75c
arcus/5.2.2: Calling package()
arcus/5.2.2 package(): Packaged 1 '.so' file: libArcus.so
arcus/5.2.2 package(): Packaged 5 '.h' files
arcus/5.2.2: Package '0a575a048007e2b2acbb9ce7fc89813f4189c75c' created
arcus/5.2.2: Created package revision c29f60e0a9068972350cd92de430b492
conanfile.py (curaengine/None): Generator txt created conanbuildinfo.txt
conanfile.py (curaengine/None): Calling generate()
conanfile.py (curaengine/None): Preset 'release' added to CMakePresets.json. Invoke it manually using 'cmake --preset release'
conanfile.py (curaengine/None): If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake <path> -G Ninja -DCMAKE_TOOLCHAIN_FILE=/home/bartosz/github/CuraEngine/build/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release'
conanfile.py (curaengine/None): Aggregating env generators
conanfile.py (curaengine/None): Generated conaninfo.txt
conanfile.py (curaengine/None): Generated graphinfo

@rburema
Copy link
Member

rburema commented May 12, 2023

Yes, the warnings are normal.

Conan has written the build, and you can proceed with the next steps of the instructions, as in, you should be able to call cmake, as described in the 2nd part of step 3, then test if it all is working with step 4 and 5.

@batot1
Copy link
Author

batot1 commented May 15, 2023

Thanks for answer me @rburema .
"cmake --preset release" - The command executed without errors.
but:
"cmake --build --preset release" - giving me 2 errors, and stop compileate

FAILED: tests/ClipperTest
: && /usr/bin/c++ -m64 -O3 -DNDEBUG -m64 tests/CMakeFiles/ClipperTest.dir/main.cpp.o tests/CMakeFiles/ClipperTest.dir/ClipperTest.cpp.o -o tests/ClipperTest  -Wl,-rpath,/home/bartosz/.conan/data/clipper/6.4.2/_/_/package/423bb9bdb88c6c77ef0c088ee84b359c2e60659e/lib:/home/bartosz/.conan/data/arcus/5.2.2/_/_/package/0a575a048007e2b2acbb9ce7fc89813f4189c75c/lib:/home/bartosz/.conan/data/protobuf/3.21.4/_/_/package/cd5b48acbf6628ad1e42a0c12cb321217a0989e7/lib  lib_CuraEngine.a  tests/libtest_helpers.a  lib_CuraEngine.a  /home/bartosz/.conan/data/spdlog/1.10.0/_/_/package/9910850add5893565f188f0dbc3adf0e4db4799e/lib/libspdlog.a  /home/bartosz/.conan/data/fmt/9.0.0/_/_/package/6101eb763716ef74d2c7ee47a67d75a0b37c614d/lib/libfmt.a  -lm  /home/bartosz/.conan/data/clipper/6.4.2/_/_/package/423bb9bdb88c6c77ef0c088ee84b359c2e60659e/lib/libpolyclipping.so  /home/bartosz/.conan/data/arcus/5.2.2/_/_/package/0a575a048007e2b2acbb9ce7fc89813f4189c75c/lib/libArcus.so  /home/bartosz/.conan/data/protobuf/3.21.4/_/_/package/cd5b48acbf6628ad1e42a0c12cb321217a0989e7/lib/libprotoc.so  /home/bartosz/.conan/data/protobuf/3.21.4/_/_/package/cd5b48acbf6628ad1e42a0c12cb321217a0989e7/lib/libprotobuf.so  -lpthread  /home/bartosz/.conan/data/zlib/1.2.12/_/_/package/c11224e931af7eb47df7c689b7ad7afc6b151bd9/lib/libz.a && :
/usr/bin/ld: tests/CMakeFiles/ClipperTest.dir/ClipperTest.cpp.o: in function `cura::DISABLED_ClipperTest_PolylinesTest2_Test::TestBody()':
ClipperTest.cpp:(.text+0x493): undefined reference to `testing::internal::EqFailure(char const*, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
/usr/bin/ld: ClipperTest.cpp:(.text+0x5a4): undefined reference to `testing::Message::Message()'
/usr/bin/ld: ClipperTest.cpp:(.text+0x5d6): undefined reference to `testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, char const*, int, char const*)'
/usr/bin/ld: ClipperTest.cpp:(.text+0x5e1): undefined reference to `testing::internal::AssertHelper::operator=(testing::Message const&) const'
/usr/bin/ld: ClipperTest.cpp:(.text+0x5e9): undefined reference to `testing::internal::AssertHelper::~AssertHelper()'
/usr/bin/ld: ClipperTest.cpp:(.text+0x6a5): undefined reference to `testing::AssertionSuccess()'
/usr/bin/ld: tests/CMakeFiles/ClipperTest.dir/ClipperTest.cpp.o: in function `cura::DISABLED_ClipperTest_PolylinesTest1_Test::TestBody()':
ClipperTest.cpp:(.text+0x8e3): undefined reference to `testing::internal::EqFailure(char const*, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
/usr/bin/ld: ClipperTest.cpp:(.text+0x9f4): undefined reference to `testing::Message::Message()'
/usr/bin/ld: ClipperTest.cpp:(.text+0xa26): undefined reference to `testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, char const*, int, char const*)'
/usr/bin/ld: ClipperTest.cpp:(.text+0xa31): undefined reference to `testing::internal::AssertHelper::operator=(testing::Message const&) const'
/usr/bin/ld: ClipperTest.cpp:(.text+0xa39): undefined reference to `testing::internal::AssertHelper::~AssertHelper()'
/usr/bin/ld: ClipperTest.cpp:(.text+0xaf5): undefined reference to `testing::AssertionSuccess()'
/usr/bin/ld: tests/CMakeFiles/ClipperTest.dir/ClipperTest.cpp.o: in function `testing::internal::TestFactoryImpl<cura::DISABLED_ClipperTest_PolylinesTest2_Test>::CreateTest()':
ClipperTest.cpp:(.text._ZN7testing8internal15TestFactoryImplIN4cura40DISABLED_ClipperTest_PolylinesTest2_TestEE10CreateTestEv[_ZN7testing8internal15TestFactoryImplIN4cura40DISABLED_ClipperTest_PolylinesTest2_TestEE10CreateTestEv]+0x17): undefined reference to `testing::Test::Test()'
/usr/bin/ld: tests/CMakeFiles/ClipperTest.dir/ClipperTest.cpp.o: in function `testing::internal::TestFactoryImpl<cura::DISABLED_ClipperTest_PolylinesTest1_Test>::CreateTest()':
ClipperTest.cpp:(.text._ZN7testing8internal15TestFactoryImplIN4cura40DISABLED_ClipperTest_PolylinesTest1_TestEE10CreateTestEv[_ZN7testing8internal15TestFactoryImplIN4cura40DISABLED_ClipperTest_PolylinesTest1_TestEE10CreateTestEv]+0x17): undefined reference to `testing::Test::Test()'
/usr/bin/ld: tests/CMakeFiles/ClipperTest.dir/ClipperTest.cpp.o: in function `_GLOBAL__sub_I__ZN4cura20DISABLED_ClipperTest18intersectPolylinesERKSt6vectorIS1_IN10ClipperLib8IntPointESaIS3_EESaIS5_EES9_':
ClipperTest.cpp:(.text.startup+0x162): undefined reference to `testing::internal::MakeAndRegisterTestInfo(char const*, char const*, char const*, char const*, testing::internal::CodeLocation, void const*, void (*)(), void (*)(), testing::internal::TestFactoryBase*)'
/usr/bin/ld: ClipperTest.cpp:(.text.startup+0x228): undefined reference to `testing::internal::MakeAndRegisterTestInfo(char const*, char const*, char const*, char const*, testing::internal::CodeLocation, void const*, void (*)(), void (*)(), testing::internal::TestFactoryBase*)'
/usr/bin/ld: tests/CMakeFiles/ClipperTest.dir/ClipperTest.cpp.o: in function `cura::DISABLED_ClipperTest_PolylinesTest2_Test::~DISABLED_ClipperTest_PolylinesTest2_Test()':
ClipperTest.cpp:(.text._ZN4cura40DISABLED_ClipperTest_PolylinesTest2_TestD2Ev[_ZN4cura40DISABLED_ClipperTest_PolylinesTest2_TestD5Ev]+0x128): undefined reference to `testing::Test::~Test()'
/usr/bin/ld: tests/CMakeFiles/ClipperTest.dir/ClipperTest.cpp.o: in function `cura::DISABLED_ClipperTest_PolylinesTest1_Test::~DISABLED_ClipperTest_PolylinesTest1_Test()':
ClipperTest.cpp:(.text._ZN4cura40DISABLED_ClipperTest_PolylinesTest1_TestD2Ev[_ZN4cura40DISABLED_ClipperTest_PolylinesTest1_TestD5Ev]+0x128): undefined reference to `testing::Test::~Test()'
/usr/bin/ld: tests/CMakeFiles/ClipperTest.dir/ClipperTest.cpp.o: in function `cura::DISABLED_ClipperTest_PolylinesTest1_Test::~DISABLED_ClipperTest_PolylinesTest1_Test()':
ClipperTest.cpp:(.text._ZN4cura40DISABLED_ClipperTest_PolylinesTest1_TestD0Ev[_ZN4cura40DISABLED_ClipperTest_PolylinesTest1_TestD5Ev]+0x124): undefined reference to `testing::Test::~Test()'
/usr/bin/ld: tests/CMakeFiles/ClipperTest.dir/ClipperTest.cpp.o: in function `cura::DISABLED_ClipperTest_PolylinesTest2_Test::~DISABLED_ClipperTest_PolylinesTest2_Test()':
ClipperTest.cpp:(.text._ZN4cura40DISABLED_ClipperTest_PolylinesTest2_TestD0Ev[_ZN4cura40DISABLED_ClipperTest_PolylinesTest2_TestD5Ev]+0x124): undefined reference to `testing::Test::~Test()'
/usr/bin/ld: tests/CMakeFiles/ClipperTest.dir/ClipperTest.cpp.o: in function `cura::DISABLED_ClipperTest_PolylinesTest2_Test::TestBody() [clone .cold]':
ClipperTest.cpp:(.text.unlikely+0x111): undefined reference to `testing::internal::AssertHelper::~AssertHelper()'
/usr/bin/ld: tests/CMakeFiles/ClipperTest.dir/ClipperTest.cpp.o: in function `cura::DISABLED_ClipperTest_PolylinesTest1_Test::TestBody() [clone .cold]':
ClipperTest.cpp:(.text.unlikely+0x16d): undefined reference to `testing::internal::AssertHelper::~AssertHelper()'
/usr/bin/ld: tests/CMakeFiles/ClipperTest.dir/ClipperTest.cpp.o: in function `testing::internal::SuiteApiResolver<cura::DISABLED_ClipperTest>::GetSetUpCaseOrSuite(char const*, int)':
ClipperTest.cpp:(.text._ZN7testing8internal16SuiteApiResolverIN4cura20DISABLED_ClipperTestEE19GetSetUpCaseOrSuiteEPKci[_ZN7testing8internal16SuiteApiResolverIN4cura20DISABLED_ClipperTestEE19GetSetUpCaseOrSuiteEPKci]+0x25): undefined reference to `testing::internal::IsTrue(bool)'
/usr/bin/ld: ClipperTest.cpp:(.text._ZN7testing8internal16SuiteApiResolverIN4cura20DISABLED_ClipperTestEE19GetSetUpCaseOrSuiteEPKci[_ZN7testing8internal16SuiteApiResolverIN4cura20DISABLED_ClipperTestEE19GetSetUpCaseOrSuiteEPKci]+0x71): undefined reference to `testing::internal::GTestLog::GTestLog(testing::internal::GTestLogSeverity, char const*, int)'
/usr/bin/ld: ClipperTest.cpp:(.text._ZN7testing8internal16SuiteApiResolverIN4cura20DISABLED_ClipperTestEE19GetSetUpCaseOrSuiteEPKci[_ZN7testing8internal16SuiteApiResolverIN4cura20DISABLED_ClipperTestEE19GetSetUpCaseOrSuiteEPKci]+0xda): undefined reference to `testing::internal::GTestLog::~GTestLog()'
/usr/bin/ld: ClipperTest.cpp:(.text._ZN7testing8internal16SuiteApiResolverIN4cura20DISABLED_ClipperTestEE19GetSetUpCaseOrSuiteEPKci[_ZN7testing8internal16SuiteApiResolverIN4cura20DISABLED_ClipperTestEE19GetSetUpCaseOrSuiteEPKci]+0x107): undefined reference to `testing::internal::GTestLog::~GTestLog()'
/usr/bin/ld: tests/CMakeFiles/ClipperTest.dir/ClipperTest.cpp.o: in function `testing::internal::SuiteApiResolver<cura::DISABLED_ClipperTest>::GetTearDownCaseOrSuite(char const*, int)':
ClipperTest.cpp:(.text._ZN7testing8internal16SuiteApiResolverIN4cura20DISABLED_ClipperTestEE22GetTearDownCaseOrSuiteEPKci[_ZN7testing8internal16SuiteApiResolverIN4cura20DISABLED_ClipperTestEE22GetTearDownCaseOrSuiteEPKci]+0x25): undefined reference to `testing::internal::IsTrue(bool)'
/usr/bin/ld: ClipperTest.cpp:(.text._ZN7testing8internal16SuiteApiResolverIN4cura20DISABLED_ClipperTestEE22GetTearDownCaseOrSuiteEPKci[_ZN7testing8internal16SuiteApiResolverIN4cura20DISABLED_ClipperTestEE22GetTearDownCaseOrSuiteEPKci]+0x71): undefined reference to `testing::internal::GTestLog::GTestLog(testing::internal::GTestLogSeverity, char const*, int)'
/usr/bin/ld: ClipperTest.cpp:(.text._ZN7testing8internal16SuiteApiResolverIN4cura20DISABLED_ClipperTestEE22GetTearDownCaseOrSuiteEPKci[_ZN7testing8internal16SuiteApiResolverIN4cura20DISABLED_ClipperTestEE22GetTearDownCaseOrSuiteEPKci]+0xda): undefined reference to `testing::internal::GTestLog::~GTestLog()'
/usr/bin/ld: ClipperTest.cpp:(.text._ZN7testing8internal16SuiteApiResolverIN4cura20DISABLED_ClipperTestEE22GetTearDownCaseOrSuiteEPKci[_ZN7testing8internal16SuiteApiResolverIN4cura20DISABLED_ClipperTestEE22GetTearDownCaseOrSuiteEPKci]+0x107): undefined reference to `testing::internal::GTestLog::~GTestLog()'
/usr/bin/ld: tests/CMakeFiles/ClipperTest.dir/ClipperTest.cpp.o:(.data.rel.ro._ZTIN4cura20DISABLED_ClipperTestE[_ZTIN4cura20DISABLED_ClipperTestE]+0x10): undefined reference to `typeinfo for testing::Test'
/usr/bin/ld: tests/CMakeFiles/ClipperTest.dir/main.cpp.o: in function `main':
main.cpp:(.text.startup+0xe): undefined reference to `testing::InitGoogleTest(int*, char**)'
/usr/bin/ld: main.cpp:(.text.startup+0x13): undefined reference to `testing::UnitTest::GetInstance()'
/usr/bin/ld: main.cpp:(.text.startup+0x1b): undefined reference to `testing::UnitTest::Run()'
collect2: error: ld returned 1 exit status
[122/184] Linking CXX executable tests/TimeEstimateCalculatorTest
**FAILED: tests/TimeEstimateCalculatorTest**
: && /usr/bin/c++ -m64 -O3 -DNDEBUG -m64 tests/CMakeFiles/TimeEstimateCalculatorTest.dir/main.cpp.o tests/CMakeFiles/TimeEstimateCalculatorTest.dir/TimeEstimateCalculatorTest.cpp.o -o tests/TimeEstimateCalculatorTest  -Wl,-rpath,/home/bartosz/.conan/data/clipper/6.4.2/_/_/package/423bb9bdb88c6c77ef0c088ee84b359c2e60659e/lib:/home/bartosz/.conan/data/arcus/5.2.2/_/_/package/0a575a048007e2b2acbb9ce7fc89813f4189c75c/lib:/home/bartosz/.conan/data/protobuf/3.21.4/_/_/package/cd5b48acbf6628ad1e42a0c12cb321217a0989e7/lib  lib_CuraEngine.a  tests/libtest_helpers.a  lib_CuraEngine.a  /home/bartosz/.conan/data/spdlog/1.10.0/_/_/package/9910850add5893565f188f0dbc3adf0e4db4799e/lib/libspdlog.a  /home/bartosz/.conan/data/fmt/9.0.0/_/_/package/6101eb763716ef74d2c7ee47a67d75a0b37c614d/lib/libfmt.a  -lm  /home/bartosz/.conan/data/clipper/6.4.2/_/_/package/423bb9bdb88c6c77ef0c088ee84b359c2e60659e/lib/libpolyclipping.so  /home/bartosz/.conan/data/arcus/5.2.2/_/_/package/0a575a048007e2b2acbb9ce7fc89813f4189c75c/lib/libArcus.so  /home/bartosz/.conan/data/protobuf/3.21.4/_/_/package/cd5b48acbf6628ad1e42a0c12cb321217a0989e7/lib/libprotoc.so  /home/bartosz/.conan/data/protobuf/3.21.4/_/_/package/cd5b48acbf6628ad1e42a0c12cb321217a0989e7/lib/libprotobuf.so  -lpthread  /home/bartosz/.conan/data/zlib/1.2.12/_/_/package/c11224e931af7eb47df7c689b7ad7afc6b151bd9/lib/libz.a && :
/usr/bin/ld: tests/CMakeFiles/TimeEstimateCalculatorTest.dir/TimeEstimateCalculatorTest.cpp.o: in function `cura::TimeEstimateCalculatorTest_AddTime_Test::TestBody()':
TimeEstimateCalculatorTest.cpp:(.text+0x12b): undefined reference to `testing::internal::DoubleNearPredFormat(char const*, char const*, char const*, double, double, double)'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x13f): undefined reference to `testing::Message::Message()'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x16f): undefined reference to `testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, char const*, int, char const*)'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x17a): undefined reference to `testing::internal::AssertHelper::operator=(testing::Message const&) const'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x182): undefined reference to `testing::internal::AssertHelper::~AssertHelper()'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x277): undefined reference to `testing::internal::DoubleNearPredFormat(char const*, char const*, char const*, double, double, double)'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x28b): undefined reference to `testing::Message::Message()'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x2bb): undefined reference to `testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, char const*, int, char const*)'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x2c6): undefined reference to `testing::internal::AssertHelper::operator=(testing::Message const&) const'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x2ce): undefined reference to `testing::internal::AssertHelper::~AssertHelper()'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x3c0): undefined reference to `testing::internal::DoubleNearPredFormat(char const*, char const*, char const*, double, double, double)'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x3d4): undefined reference to `testing::Message::Message()'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x41e): undefined reference to `testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, char const*, int, char const*)'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x429): undefined reference to `testing::internal::AssertHelper::operator=(testing::Message const&) const'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x431): undefined reference to `testing::internal::AssertHelper::~AssertHelper()'
/usr/bin/ld: tests/CMakeFiles/TimeEstimateCalculatorTest.dir/TimeEstimateCalculatorTest.cpp.o: in function `cura::TimeEstimateCalculatorTest_MoveToCurrentLocation_Test::TestBody()':
TimeEstimateCalculatorTest.cpp:(.text+0x5dd): undefined reference to `testing::internal::DoubleNearPredFormat(char const*, char const*, char const*, double, double, double)'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x5fd): undefined reference to `testing::Message::Message()'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x653): undefined reference to `testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, char const*, int, char const*)'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x666): undefined reference to `testing::internal::AssertHelper::operator=(testing::Message const&) const'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x672): undefined reference to `testing::internal::AssertHelper::~AssertHelper()'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x7b4): undefined reference to `testing::internal::DoubleNearPredFormat(char const*, char const*, char const*, double, double, double)'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x7d4): undefined reference to `testing::Message::Message()'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x82d): undefined reference to `testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, char const*, int, char const*)'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x83c): undefined reference to `testing::internal::AssertHelper::operator=(testing::Message const&) const'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x844): undefined reference to `testing::internal::AssertHelper::~AssertHelper()'
/usr/bin/ld: tests/CMakeFiles/TimeEstimateCalculatorTest.dir/TimeEstimateCalculatorTest.cpp.o: in function `cura::TimeEstimateCalculatorTest_SingleLineOnlyJerk_Test::TestBody()':
TimeEstimateCalculatorTest.cpp:(.text+0x9d5): undefined reference to `testing::internal::DoubleNearPredFormat(char const*, char const*, char const*, double, double, double)'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x9e9): undefined reference to `testing::Message::Message()'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0xa19): undefined reference to `testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, char const*, int, char const*)'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0xa24): undefined reference to `testing::internal::AssertHelper::operator=(testing::Message const&) const'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0xa2c): undefined reference to `testing::internal::AssertHelper::~AssertHelper()'
/usr/bin/ld: tests/CMakeFiles/TimeEstimateCalculatorTest.dir/TimeEstimateCalculatorTest.cpp.o: in function `cura::TimeEstimateCalculatorTest_DoubleLineOnlyJerk_Test::TestBody()':
TimeEstimateCalculatorTest.cpp:(.text+0xbde): undefined reference to `testing::internal::DoubleNearPredFormat(char const*, char const*, char const*, double, double, double)'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0xbf2): undefined reference to `testing::Message::Message()'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0xc22): undefined reference to `testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, char const*, int, char const*)'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0xc2d): undefined reference to `testing::internal::AssertHelper::operator=(testing::Message const&) const'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0xc35): undefined reference to `testing::internal::AssertHelper::~AssertHelper()'
/usr/bin/ld: tests/CMakeFiles/TimeEstimateCalculatorTest.dir/TimeEstimateCalculatorTest.cpp.o: in function `cura::TimeEstimateCalculatorTest_SingleLineNoJerk_Test::TestBody()':
TimeEstimateCalculatorTest.cpp:(.text+0xd95): undefined reference to `testing::internal::DoubleNearPredFormat(char const*, char const*, char const*, double, double, double)'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0xda9): undefined reference to `testing::Message::Message()'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0xdd9): undefined reference to `testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, char const*, int, char const*)'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0xde4): undefined reference to `testing::internal::AssertHelper::operator=(testing::Message const&) const'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0xdec): undefined reference to `testing::internal::AssertHelper::~AssertHelper()'
/usr/bin/ld: tests/CMakeFiles/TimeEstimateCalculatorTest.dir/TimeEstimateCalculatorTest.cpp.o: in function `cura::TimeEstimateCalculatorTest_ShortLine_Test::TestBody()':
TimeEstimateCalculatorTest.cpp:(.text+0xf45): undefined reference to `testing::internal::DoubleNearPredFormat(char const*, char const*, char const*, double, double, double)'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0xf59): undefined reference to `testing::Message::Message()'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0xf89): undefined reference to `testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, char const*, int, char const*)'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0xf94): undefined reference to `testing::internal::AssertHelper::operator=(testing::Message const&) const'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0xf9c): undefined reference to `testing::internal::AssertHelper::~AssertHelper()'
/usr/bin/ld: tests/CMakeFiles/TimeEstimateCalculatorTest.dir/TimeEstimateCalculatorTest.cpp.o: in function `cura::TimeEstimateCalculatorTest_DoubleLineNoJerk_Test::TestBody()':
TimeEstimateCalculatorTest.cpp:(.text+0x114e): undefined reference to `testing::internal::DoubleNearPredFormat(char const*, char const*, char const*, double, double, double)'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x1162): undefined reference to `testing::Message::Message()'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x1192): undefined reference to `testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, char const*, int, char const*)'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x119d): undefined reference to `testing::internal::AssertHelper::operator=(testing::Message const&) const'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x11a5): undefined reference to `testing::internal::AssertHelper::~AssertHelper()'
/usr/bin/ld: tests/CMakeFiles/TimeEstimateCalculatorTest.dir/TimeEstimateCalculatorTest.cpp.o: in function `cura::TimeEstimateCalculatorTest_DiagonalLineNoJerk_Test::TestBody()':
TimeEstimateCalculatorTest.cpp:(.text+0x1309): undefined reference to `testing::internal::DoubleNearPredFormat(char const*, char const*, char const*, double, double, double)'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x131d): undefined reference to `testing::Message::Message()'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x134d): undefined reference to `testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, char const*, int, char const*)'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x1358): undefined reference to `testing::internal::AssertHelper::operator=(testing::Message const&) const'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x1360): undefined reference to `testing::internal::AssertHelper::~AssertHelper()'
/usr/bin/ld: tests/CMakeFiles/TimeEstimateCalculatorTest.dir/TimeEstimateCalculatorTest.cpp.o: in function `cura::TimeEstimateCalculatorTest_StraightAngleOnlyJerk_Test::TestBody()':
TimeEstimateCalculatorTest.cpp:(.text+0x1512): undefined reference to `testing::internal::DoubleNearPredFormat(char const*, char const*, char const*, double, double, double)'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x1526): undefined reference to `testing::Message::Message()'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x1556): undefined reference to `testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, char const*, int, char const*)'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x1561): undefined reference to `testing::internal::AssertHelper::operator=(testing::Message const&) const'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x1569): undefined reference to `testing::internal::AssertHelper::~AssertHelper()'
/usr/bin/ld: tests/CMakeFiles/TimeEstimateCalculatorTest.dir/TimeEstimateCalculatorTest.cpp.o: in function `cura::TimeEstimateCalculatorTest_StraightAngleNoJerk_Test::TestBody()':
TimeEstimateCalculatorTest.cpp:(.text+0x1722): undefined reference to `testing::internal::DoubleNearPredFormat(char const*, char const*, char const*, double, double, double)'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x1736): undefined reference to `testing::Message::Message()'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x1766): undefined reference to `testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, char const*, int, char const*)'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x1771): undefined reference to `testing::internal::AssertHelper::operator=(testing::Message const&) const'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x1779): undefined reference to `testing::internal::AssertHelper::~AssertHelper()'
/usr/bin/ld: tests/CMakeFiles/TimeEstimateCalculatorTest.dir/TimeEstimateCalculatorTest.cpp.o: in function `cura::TimeEstimateCalculatorTest_StraightAnglePartialJerk_Test::TestBody()':
TimeEstimateCalculatorTest.cpp:(.text+0x1b5e): undefined reference to `testing::internal::DoubleNearPredFormat(char const*, char const*, char const*, double, double, double)'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x1b72): undefined reference to `testing::Message::Message()'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x1ba4): undefined reference to `testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, char const*, int, char const*)'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x1baf): undefined reference to `testing::internal::AssertHelper::operator=(testing::Message const&) const'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x1bb7): undefined reference to `testing::internal::AssertHelper::~AssertHelper()'
/usr/bin/ld: tests/CMakeFiles/TimeEstimateCalculatorTest.dir/TimeEstimateCalculatorTest.cpp.o: in function `cura::TimeEstimateCalculatorTest_StartWithZero_Test::TestBody()':
TimeEstimateCalculatorTest.cpp:(.text+0x1d0c): undefined reference to `testing::internal::EqFailure(char const*, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x1d5a): undefined reference to `testing::Message::Message()'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x1d8a): undefined reference to `testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, char const*, int, char const*)'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x1d95): undefined reference to `testing::internal::AssertHelper::operator=(testing::Message const&) const'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x1d9d): undefined reference to `testing::internal::AssertHelper::~AssertHelper()'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x1e29): undefined reference to `testing::internal::DoubleNearPredFormat(char const*, char const*, char const*, double, double, double)'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x1e38): undefined reference to `testing::Message::Message()'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x1e82): undefined reference to `testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, char const*, int, char const*)'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x1e8d): undefined reference to `testing::internal::AssertHelper::operator=(testing::Message const&) const'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x1e95): undefined reference to `testing::internal::AssertHelper::~AssertHelper()'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text+0x1f39): undefined reference to `testing::AssertionSuccess()'
/usr/bin/ld: tests/CMakeFiles/TimeEstimateCalculatorTest.dir/TimeEstimateCalculatorTest.cpp.o: in function `__static_initialization_and_destruction_0()':
TimeEstimateCalculatorTest.cpp:(.text.startup+0x14b): undefined reference to `testing::internal::MakeAndRegisterTestInfo(char const*, char const*, char const*, char const*, testing::internal::CodeLocation, void const*, void (*)(), void (*)(), testing::internal::TestFactoryBase*)'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text.startup+0x209): undefined reference to `testing::internal::MakeAndRegisterTestInfo(char const*, char const*, char const*, char const*, testing::internal::CodeLocation, void const*, void (*)(), void (*)(), testing::internal::TestFactoryBase*)'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text.startup+0x2c7): undefined reference to `testing::internal::MakeAndRegisterTestInfo(char const*, char const*, char const*, char const*, testing::internal::CodeLocation, void const*, void (*)(), void (*)(), testing::internal::TestFactoryBase*)'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text.startup+0x385): undefined reference to `testing::internal::MakeAndRegisterTestInfo(char const*, char const*, char const*, char const*, testing::internal::CodeLocation, void const*, void (*)(), void (*)(), testing::internal::TestFactoryBase*)'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text.startup+0x443): undefined reference to `testing::internal::MakeAndRegisterTestInfo(char const*, char const*, char const*, char const*, testing::internal::CodeLocation, void const*, void (*)(), void (*)(), testing::internal::TestFactoryBase*)'
/usr/bin/ld: tests/CMakeFiles/TimeEstimateCalculatorTest.dir/TimeEstimateCalculatorTest.cpp.o:TimeEstimateCalculatorTest.cpp:(.text.startup+0x501): more undefined references to `testing::internal::MakeAndRegisterTestInfo(char const*, char const*, char const*, char const*, testing::internal::CodeLocation, void const*, void (*)(), void (*)(), testing::internal::TestFactoryBase*)' follow
/usr/bin/ld: tests/CMakeFiles/TimeEstimateCalculatorTest.dir/TimeEstimateCalculatorTest.cpp.o: in function `cura::TimeEstimateCalculatorTest_AddTime_Test::TestBody() [clone .cold]':
TimeEstimateCalculatorTest.cpp:(.text.unlikely+0x4): undefined reference to `testing::internal::AssertHelper::~AssertHelper()'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text.unlikely+0x57): undefined reference to `testing::internal::AssertHelper::~AssertHelper()'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text.unlikely+0x7b): undefined reference to `testing::internal::AssertHelper::~AssertHelper()'
/usr/bin/ld: tests/CMakeFiles/TimeEstimateCalculatorTest.dir/TimeEstimateCalculatorTest.cpp.o: in function `cura::TimeEstimateCalculatorTest_MoveToCurrentLocation_Test::TestBody() [clone .cold]':
TimeEstimateCalculatorTest.cpp:(.text.unlikely+0xa8): undefined reference to `testing::internal::AssertHelper::~AssertHelper()'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text.unlikely+0x106): undefined reference to `testing::internal::AssertHelper::~AssertHelper()'
/usr/bin/ld: tests/CMakeFiles/TimeEstimateCalculatorTest.dir/TimeEstimateCalculatorTest.cpp.o:TimeEstimateCalculatorTest.cpp:(.text.unlikely+0x12f): more undefined references to `testing::internal::AssertHelper::~AssertHelper()' follow
/usr/bin/ld: tests/CMakeFiles/TimeEstimateCalculatorTest.dir/TimeEstimateCalculatorTest.cpp.o: in function `testing::internal::SuiteApiResolver<cura::TimeEstimateCalculatorTest>::GetSetUpCaseOrSuite(char const*, int)':
TimeEstimateCalculatorTest.cpp:(.text._ZN7testing8internal16SuiteApiResolverIN4cura26TimeEstimateCalculatorTestEE19GetSetUpCaseOrSuiteEPKci[_ZN7testing8internal16SuiteApiResolverIN4cura26TimeEstimateCalculatorTestEE19GetSetUpCaseOrSuiteEPKci]+0x25): undefined reference to `testing::internal::IsTrue(bool)'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text._ZN7testing8internal16SuiteApiResolverIN4cura26TimeEstimateCalculatorTestEE19GetSetUpCaseOrSuiteEPKci[_ZN7testing8internal16SuiteApiResolverIN4cura26TimeEstimateCalculatorTestEE19GetSetUpCaseOrSuiteEPKci]+0x71): undefined reference to `testing::internal::GTestLog::GTestLog(testing::internal::GTestLogSeverity, char const*, int)'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text._ZN7testing8internal16SuiteApiResolverIN4cura26TimeEstimateCalculatorTestEE19GetSetUpCaseOrSuiteEPKci[_ZN7testing8internal16SuiteApiResolverIN4cura26TimeEstimateCalculatorTestEE19GetSetUpCaseOrSuiteEPKci]+0xda): undefined reference to `testing::internal::GTestLog::~GTestLog()'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text._ZN7testing8internal16SuiteApiResolverIN4cura26TimeEstimateCalculatorTestEE19GetSetUpCaseOrSuiteEPKci[_ZN7testing8internal16SuiteApiResolverIN4cura26TimeEstimateCalculatorTestEE19GetSetUpCaseOrSuiteEPKci]+0x107): undefined reference to `testing::internal::GTestLog::~GTestLog()'
/usr/bin/ld: tests/CMakeFiles/TimeEstimateCalculatorTest.dir/TimeEstimateCalculatorTest.cpp.o: in function `testing::internal::SuiteApiResolver<cura::TimeEstimateCalculatorTest>::GetTearDownCaseOrSuite(char const*, int)':
TimeEstimateCalculatorTest.cpp:(.text._ZN7testing8internal16SuiteApiResolverIN4cura26TimeEstimateCalculatorTestEE22GetTearDownCaseOrSuiteEPKci[_ZN7testing8internal16SuiteApiResolverIN4cura26TimeEstimateCalculatorTestEE22GetTearDownCaseOrSuiteEPKci]+0x25): undefined reference to `testing::internal::IsTrue(bool)'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text._ZN7testing8internal16SuiteApiResolverIN4cura26TimeEstimateCalculatorTestEE22GetTearDownCaseOrSuiteEPKci[_ZN7testing8internal16SuiteApiResolverIN4cura26TimeEstimateCalculatorTestEE22GetTearDownCaseOrSuiteEPKci]+0x71): undefined reference to `testing::internal::GTestLog::GTestLog(testing::internal::GTestLogSeverity, char const*, int)'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text._ZN7testing8internal16SuiteApiResolverIN4cura26TimeEstimateCalculatorTestEE22GetTearDownCaseOrSuiteEPKci[_ZN7testing8internal16SuiteApiResolverIN4cura26TimeEstimateCalculatorTestEE22GetTearDownCaseOrSuiteEPKci]+0xda): undefined reference to `testing::internal::GTestLog::~GTestLog()'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text._ZN7testing8internal16SuiteApiResolverIN4cura26TimeEstimateCalculatorTestEE22GetTearDownCaseOrSuiteEPKci[_ZN7testing8internal16SuiteApiResolverIN4cura26TimeEstimateCalculatorTestEE22GetTearDownCaseOrSuiteEPKci]+0x107): undefined reference to `testing::internal::GTestLog::~GTestLog()'
/usr/bin/ld: tests/CMakeFiles/TimeEstimateCalculatorTest.dir/TimeEstimateCalculatorTest.cpp.o: in function `testing::internal::TestFactoryImpl<cura::TimeEstimateCalculatorTest_DoubleLineNoJerk_Test>::CreateTest()':
TimeEstimateCalculatorTest.cpp:(.text._ZN7testing8internal15TestFactoryImplIN4cura48TimeEstimateCalculatorTest_DoubleLineNoJerk_TestEE10CreateTestEv[_ZN7testing8internal15TestFactoryImplIN4cura48TimeEstimateCalculatorTest_DoubleLineNoJerk_TestEE10CreateTestEv]+0x17): undefined reference to `testing::Test::Test()'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text._ZN7testing8internal15TestFactoryImplIN4cura48TimeEstimateCalculatorTest_DoubleLineNoJerk_TestEE10CreateTestEv[_ZN7testing8internal15TestFactoryImplIN4cura48TimeEstimateCalculatorTest_DoubleLineNoJerk_TestEE10CreateTestEv]+0x12a): undefined reference to `testing::Test::~Test()'
/usr/bin/ld: tests/CMakeFiles/TimeEstimateCalculatorTest.dir/TimeEstimateCalculatorTest.cpp.o: in function `cura::TimeEstimateCalculatorTest_StraightAnglePartialJerk_Test::~TimeEstimateCalculatorTest_StraightAnglePartialJerk_Test()':
TimeEstimateCalculatorTest.cpp:(.text._ZN4cura56TimeEstimateCalculatorTest_StraightAnglePartialJerk_TestD2Ev[_ZN4cura56TimeEstimateCalculatorTest_StraightAnglePartialJerk_TestD5Ev]+0x56): undefined reference to `testing::Test::~Test()'
/usr/bin/ld: tests/CMakeFiles/TimeEstimateCalculatorTest.dir/TimeEstimateCalculatorTest.cpp.o: in function `cura::TimeEstimateCalculatorTest_StraightAngleOnlyJerk_Test::~TimeEstimateCalculatorTest_StraightAngleOnlyJerk_Test()':
TimeEstimateCalculatorTest.cpp:(.text._ZN4cura53TimeEstimateCalculatorTest_StraightAngleOnlyJerk_TestD2Ev[_ZN4cura53TimeEstimateCalculatorTest_StraightAngleOnlyJerk_TestD5Ev]+0x56): undefined reference to `testing::Test::~Test()'
/usr/bin/ld: tests/CMakeFiles/TimeEstimateCalculatorTest.dir/TimeEstimateCalculatorTest.cpp.o: in function `cura::TimeEstimateCalculatorTest_DoubleLineNoJerk_Test::~TimeEstimateCalculatorTest_DoubleLineNoJerk_Test()':
TimeEstimateCalculatorTest.cpp:(.text._ZN4cura48TimeEstimateCalculatorTest_DoubleLineNoJerk_TestD2Ev[_ZN4cura48TimeEstimateCalculatorTest_DoubleLineNoJerk_TestD5Ev]+0x56): undefined reference to `testing::Test::~Test()'
/usr/bin/ld: tests/CMakeFiles/TimeEstimateCalculatorTest.dir/TimeEstimateCalculatorTest.cpp.o: in function `cura::TimeEstimateCalculatorTest_StartWithZero_Test::~TimeEstimateCalculatorTest_StartWithZero_Test()':
TimeEstimateCalculatorTest.cpp:(.text._ZN4cura45TimeEstimateCalculatorTest_StartWithZero_TestD2Ev[_ZN4cura45TimeEstimateCalculatorTest_StartWithZero_TestD5Ev]+0x56): undefined reference to `testing::Test::~Test()'
/usr/bin/ld: tests/CMakeFiles/TimeEstimateCalculatorTest.dir/TimeEstimateCalculatorTest.cpp.o:TimeEstimateCalculatorTest.cpp:(.text._ZN4cura39TimeEstimateCalculatorTest_AddTime_TestD2Ev[_ZN4cura39TimeEstimateCalculatorTest_AddTime_TestD5Ev]+0x56): more undefined references to `testing::Test::~Test()' follow
/usr/bin/ld: tests/CMakeFiles/TimeEstimateCalculatorTest.dir/TimeEstimateCalculatorTest.cpp.o: in function `testing::internal::TestFactoryImpl<cura::TimeEstimateCalculatorTest_StraightAnglePartialJerk_Test>::CreateTest()':
TimeEstimateCalculatorTest.cpp:(.text._ZN7testing8internal15TestFactoryImplIN4cura56TimeEstimateCalculatorTest_StraightAnglePartialJerk_TestEE10CreateTestEv[_ZN7testing8internal15TestFactoryImplIN4cura56TimeEstimateCalculatorTest_StraightAnglePartialJerk_TestEE10CreateTestEv]+0x17): undefined reference to `testing::Test::Test()'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text._ZN7testing8internal15TestFactoryImplIN4cura56TimeEstimateCalculatorTest_StraightAnglePartialJerk_TestEE10CreateTestEv[_ZN7testing8internal15TestFactoryImplIN4cura56TimeEstimateCalculatorTest_StraightAnglePartialJerk_TestEE10CreateTestEv]+0x12a): undefined reference to `testing::Test::~Test()'
/usr/bin/ld: tests/CMakeFiles/TimeEstimateCalculatorTest.dir/TimeEstimateCalculatorTest.cpp.o: in function `testing::internal::TestFactoryImpl<cura::TimeEstimateCalculatorTest_AddTime_Test>::CreateTest()':
TimeEstimateCalculatorTest.cpp:(.text._ZN7testing8internal15TestFactoryImplIN4cura39TimeEstimateCalculatorTest_AddTime_TestEE10CreateTestEv[_ZN7testing8internal15TestFactoryImplIN4cura39TimeEstimateCalculatorTest_AddTime_TestEE10CreateTestEv]+0x17): undefined reference to `testing::Test::Test()'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text._ZN7testing8internal15TestFactoryImplIN4cura39TimeEstimateCalculatorTest_AddTime_TestEE10CreateTestEv[_ZN7testing8internal15TestFactoryImplIN4cura39TimeEstimateCalculatorTest_AddTime_TestEE10CreateTestEv]+0x12a): undefined reference to `testing::Test::~Test()'
/usr/bin/ld: tests/CMakeFiles/TimeEstimateCalculatorTest.dir/TimeEstimateCalculatorTest.cpp.o: in function `testing::internal::TestFactoryImpl<cura::TimeEstimateCalculatorTest_MoveToCurrentLocation_Test>::CreateTest()':
TimeEstimateCalculatorTest.cpp:(.text._ZN7testing8internal15TestFactoryImplIN4cura53TimeEstimateCalculatorTest_MoveToCurrentLocation_TestEE10CreateTestEv[_ZN7testing8internal15TestFactoryImplIN4cura53TimeEstimateCalculatorTest_MoveToCurrentLocation_TestEE10CreateTestEv]+0x17): undefined reference to `testing::Test::Test()'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text._ZN7testing8internal15TestFactoryImplIN4cura53TimeEstimateCalculatorTest_MoveToCurrentLocation_TestEE10CreateTestEv[_ZN7testing8internal15TestFactoryImplIN4cura53TimeEstimateCalculatorTest_MoveToCurrentLocation_TestEE10CreateTestEv]+0x12a): undefined reference to `testing::Test::~Test()'
/usr/bin/ld: tests/CMakeFiles/TimeEstimateCalculatorTest.dir/TimeEstimateCalculatorTest.cpp.o: in function `testing::internal::TestFactoryImpl<cura::TimeEstimateCalculatorTest_SingleLineOnlyJerk_Test>::CreateTest()':
TimeEstimateCalculatorTest.cpp:(.text._ZN7testing8internal15TestFactoryImplIN4cura50TimeEstimateCalculatorTest_SingleLineOnlyJerk_TestEE10CreateTestEv[_ZN7testing8internal15TestFactoryImplIN4cura50TimeEstimateCalculatorTest_SingleLineOnlyJerk_TestEE10CreateTestEv]+0x17): undefined reference to `testing::Test::Test()'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text._ZN7testing8internal15TestFactoryImplIN4cura50TimeEstimateCalculatorTest_SingleLineOnlyJerk_TestEE10CreateTestEv[_ZN7testing8internal15TestFactoryImplIN4cura50TimeEstimateCalculatorTest_SingleLineOnlyJerk_TestEE10CreateTestEv]+0x12a): undefined reference to `testing::Test::~Test()'
/usr/bin/ld: tests/CMakeFiles/TimeEstimateCalculatorTest.dir/TimeEstimateCalculatorTest.cpp.o: in function `testing::internal::TestFactoryImpl<cura::TimeEstimateCalculatorTest_StartWithZero_Test>::CreateTest()':
TimeEstimateCalculatorTest.cpp:(.text._ZN7testing8internal15TestFactoryImplIN4cura45TimeEstimateCalculatorTest_StartWithZero_TestEE10CreateTestEv[_ZN7testing8internal15TestFactoryImplIN4cura45TimeEstimateCalculatorTest_StartWithZero_TestEE10CreateTestEv]+0x17): undefined reference to `testing::Test::Test()'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text._ZN7testing8internal15TestFactoryImplIN4cura45TimeEstimateCalculatorTest_StartWithZero_TestEE10CreateTestEv[_ZN7testing8internal15TestFactoryImplIN4cura45TimeEstimateCalculatorTest_StartWithZero_TestEE10CreateTestEv]+0x12a): undefined reference to `testing::Test::~Test()'
/usr/bin/ld: tests/CMakeFiles/TimeEstimateCalculatorTest.dir/TimeEstimateCalculatorTest.cpp.o: in function `testing::internal::TestFactoryImpl<cura::TimeEstimateCalculatorTest_DoubleLineOnlyJerk_Test>::CreateTest()':
TimeEstimateCalculatorTest.cpp:(.text._ZN7testing8internal15TestFactoryImplIN4cura50TimeEstimateCalculatorTest_DoubleLineOnlyJerk_TestEE10CreateTestEv[_ZN7testing8internal15TestFactoryImplIN4cura50TimeEstimateCalculatorTest_DoubleLineOnlyJerk_TestEE10CreateTestEv]+0x17): undefined reference to `testing::Test::Test()'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text._ZN7testing8internal15TestFactoryImplIN4cura50TimeEstimateCalculatorTest_DoubleLineOnlyJerk_TestEE10CreateTestEv[_ZN7testing8internal15TestFactoryImplIN4cura50TimeEstimateCalculatorTest_DoubleLineOnlyJerk_TestEE10CreateTestEv]+0x12a): undefined reference to `testing::Test::~Test()'
/usr/bin/ld: tests/CMakeFiles/TimeEstimateCalculatorTest.dir/TimeEstimateCalculatorTest.cpp.o: in function `testing::internal::TestFactoryImpl<cura::TimeEstimateCalculatorTest_ShortLine_Test>::CreateTest()':
TimeEstimateCalculatorTest.cpp:(.text._ZN7testing8internal15TestFactoryImplIN4cura41TimeEstimateCalculatorTest_ShortLine_TestEE10CreateTestEv[_ZN7testing8internal15TestFactoryImplIN4cura41TimeEstimateCalculatorTest_ShortLine_TestEE10CreateTestEv]+0x17): undefined reference to `testing::Test::Test()'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text._ZN7testing8internal15TestFactoryImplIN4cura41TimeEstimateCalculatorTest_ShortLine_TestEE10CreateTestEv[_ZN7testing8internal15TestFactoryImplIN4cura41TimeEstimateCalculatorTest_ShortLine_TestEE10CreateTestEv]+0x12a): undefined reference to `testing::Test::~Test()'
/usr/bin/ld: tests/CMakeFiles/TimeEstimateCalculatorTest.dir/TimeEstimateCalculatorTest.cpp.o: in function `testing::internal::TestFactoryImpl<cura::TimeEstimateCalculatorTest_SingleLineNoJerk_Test>::CreateTest()':
TimeEstimateCalculatorTest.cpp:(.text._ZN7testing8internal15TestFactoryImplIN4cura48TimeEstimateCalculatorTest_SingleLineNoJerk_TestEE10CreateTestEv[_ZN7testing8internal15TestFactoryImplIN4cura48TimeEstimateCalculatorTest_SingleLineNoJerk_TestEE10CreateTestEv]+0x17): undefined reference to `testing::Test::Test()'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text._ZN7testing8internal15TestFactoryImplIN4cura48TimeEstimateCalculatorTest_SingleLineNoJerk_TestEE10CreateTestEv[_ZN7testing8internal15TestFactoryImplIN4cura48TimeEstimateCalculatorTest_SingleLineNoJerk_TestEE10CreateTestEv]+0x12a): undefined reference to `testing::Test::~Test()'
/usr/bin/ld: tests/CMakeFiles/TimeEstimateCalculatorTest.dir/TimeEstimateCalculatorTest.cpp.o: in function `testing::internal::TestFactoryImpl<cura::TimeEstimateCalculatorTest_StraightAngleNoJerk_Test>::CreateTest()':
TimeEstimateCalculatorTest.cpp:(.text._ZN7testing8internal15TestFactoryImplIN4cura51TimeEstimateCalculatorTest_StraightAngleNoJerk_TestEE10CreateTestEv[_ZN7testing8internal15TestFactoryImplIN4cura51TimeEstimateCalculatorTest_StraightAngleNoJerk_TestEE10CreateTestEv]+0x17): undefined reference to `testing::Test::Test()'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text._ZN7testing8internal15TestFactoryImplIN4cura51TimeEstimateCalculatorTest_StraightAngleNoJerk_TestEE10CreateTestEv[_ZN7testing8internal15TestFactoryImplIN4cura51TimeEstimateCalculatorTest_StraightAngleNoJerk_TestEE10CreateTestEv]+0x12a): undefined reference to `testing::Test::~Test()'
/usr/bin/ld: tests/CMakeFiles/TimeEstimateCalculatorTest.dir/TimeEstimateCalculatorTest.cpp.o: in function `testing::internal::TestFactoryImpl<cura::TimeEstimateCalculatorTest_StraightAngleOnlyJerk_Test>::CreateTest()':
TimeEstimateCalculatorTest.cpp:(.text._ZN7testing8internal15TestFactoryImplIN4cura53TimeEstimateCalculatorTest_StraightAngleOnlyJerk_TestEE10CreateTestEv[_ZN7testing8internal15TestFactoryImplIN4cura53TimeEstimateCalculatorTest_StraightAngleOnlyJerk_TestEE10CreateTestEv]+0x17): undefined reference to `testing::Test::Test()'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text._ZN7testing8internal15TestFactoryImplIN4cura53TimeEstimateCalculatorTest_StraightAngleOnlyJerk_TestEE10CreateTestEv[_ZN7testing8internal15TestFactoryImplIN4cura53TimeEstimateCalculatorTest_StraightAngleOnlyJerk_TestEE10CreateTestEv]+0x12a): undefined reference to `testing::Test::~Test()'
/usr/bin/ld: tests/CMakeFiles/TimeEstimateCalculatorTest.dir/TimeEstimateCalculatorTest.cpp.o: in function `testing::internal::TestFactoryImpl<cura::TimeEstimateCalculatorTest_DiagonalLineNoJerk_Test>::CreateTest()':
TimeEstimateCalculatorTest.cpp:(.text._ZN7testing8internal15TestFactoryImplIN4cura50TimeEstimateCalculatorTest_DiagonalLineNoJerk_TestEE10CreateTestEv[_ZN7testing8internal15TestFactoryImplIN4cura50TimeEstimateCalculatorTest_DiagonalLineNoJerk_TestEE10CreateTestEv]+0x17): undefined reference to `testing::Test::Test()'
/usr/bin/ld: TimeEstimateCalculatorTest.cpp:(.text._ZN7testing8internal15TestFactoryImplIN4cura50TimeEstimateCalculatorTest_DiagonalLineNoJerk_TestEE10CreateTestEv[_ZN7testing8internal15TestFactoryImplIN4cura50TimeEstimateCalculatorTest_DiagonalLineNoJerk_TestEE10CreateTestEv]+0x12a): undefined reference to `testing::Test::~Test()'
/usr/bin/ld: tests/CMakeFiles/TimeEstimateCalculatorTest.dir/TimeEstimateCalculatorTest.cpp.o:(.data.rel.ro._ZTIN4cura26TimeEstimateCalculatorTestE[_ZTIN4cura26TimeEstimateCalculatorTestE]+0x10): undefined reference to `typeinfo for testing::Test'
/usr/bin/ld: tests/CMakeFiles/TimeEstimateCalculatorTest.dir/TimeEstimateCalculatorTest.cpp.o:(.data.rel.ro._ZTVN4cura26TimeEstimateCalculatorTestE[_ZTVN4cura26TimeEstimateCalculatorTestE]+0x28): undefined reference to `testing::Test::TearDown()'
/usr/bin/ld: tests/CMakeFiles/TimeEstimateCalculatorTest.dir/TimeEstimateCalculatorTest.cpp.o:(.data.rel.ro._ZTVN4cura39TimeEstimateCalculatorTest_AddTime_TestE[_ZTVN4cura39TimeEstimateCalculatorTest_AddTime_TestE]+0x28): undefined reference to `testing::Test::TearDown()'
/usr/bin/ld: tests/CMakeFiles/TimeEstimateCalculatorTest.dir/TimeEstimateCalculatorTest.cpp.o:(.data.rel.ro._ZTVN4cura45TimeEstimateCalculatorTest_StartWithZero_TestE[_ZTVN4cura45TimeEstimateCalculatorTest_StartWithZero_TestE]+0x28): undefined reference to `testing::Test::TearDown()'
/usr/bin/ld: tests/CMakeFiles/TimeEstimateCalculatorTest.dir/TimeEstimateCalculatorTest.cpp.o:(.data.rel.ro._ZTVN4cura53TimeEstimateCalculatorTest_MoveToCurrentLocation_TestE[_ZTVN4cura53TimeEstimateCalculatorTest_MoveToCurrentLocation_TestE]+0x28): undefined reference to `testing::Test::TearDown()'
/usr/bin/ld: tests/CMakeFiles/TimeEstimateCalculatorTest.dir/TimeEstimateCalculatorTest.cpp.o:(.data.rel.ro._ZTVN4cura50TimeEstimateCalculatorTest_SingleLineOnlyJerk_TestE[_ZTVN4cura50TimeEstimateCalculatorTest_SingleLineOnlyJerk_TestE]+0x28): undefined reference to `testing::Test::TearDown()'
/usr/bin/ld: tests/CMakeFiles/TimeEstimateCalculatorTest.dir/TimeEstimateCalculatorTest.cpp.o:(.data.rel.ro._ZTVN4cura50TimeEstimateCalculatorTest_DoubleLineOnlyJerk_TestE[_ZTVN4cura50TimeEstimateCalculatorTest_DoubleLineOnlyJerk_TestE]+0x28): more undefined references to `testing::Test::TearDown()' follow
/usr/bin/ld: tests/CMakeFiles/TimeEstimateCalculatorTest.dir/main.cpp.o: in function `main':
main.cpp:(.text.startup+0xe): undefined reference to `testing::InitGoogleTest(int*, char**)'
/usr/bin/ld: main.cpp:(.text.startup+0x13): undefined reference to `testing::UnitTest::GetInstance()'
/usr/bin/ld: main.cpp:(.text.startup+0x1b): undefined reference to `testing::UnitTest::Run()'
collect2: error: ld returned 1 exit status
[130/184] Building CXX object tests/CMakeFiles/GCodeExportTest.dir/GCodeExportTest.cpp.o
**ninja: build stopped: subcommand failed.**

@rburema
Copy link
Member

rburema commented May 15, 2023

Did you follow the release or the debug steps? It seems like it's trying to build the unit-tests, but those where only enabled in the Debug example steps, while you're attempting to do a release build.

You might have to re-run with either ... -o curaengine:enable_testing=True or ... -o curaengine:enable_testing=False depending.

@batot1
Copy link
Author

batot1 commented May 15, 2023

No, because debag is next command, past 2 commands cmake.

Now trying:
"conan install . --build=missing --update -s build_type=Debug -o curaengine:enable_testing=True" - running ok.
"cmake --preset debug" - running ok.

"cmake --build --preset debug" - now is ok

Thanks

@MajliTech
Copy link

No, because debag is next command, past 2 commands cmake.

Now trying: "conan install . --build=missing --update -s build_type=Debug -o curaengine:enable_testing=True" - running ok. "cmake --preset debug" - running ok.

"cmake --build --preset debug" - now is ok

Thanks

Either build release, or debug. Don't build both, since for what? You're probably good to go with Release.

@jellespijker
Copy link
Member

This should be fixed once the following PR Ultimaker/Cura#16607 are merged and you update to conan 1.60.2 which will have version GCC-13 in the settings.yml

@MajliTech
Copy link

MajliTech commented Sep 7, 2023 via email

@jellespijker
Copy link
Member

The PR has been merged. Make sure you use Conan 1.58 or higher, I would just use 1.60.2 (latest v1)

The error you were seeing was because you probably have gcc-13 installed with Conan 1.56, so version 13 was not yet used in the ~/.conan/settings.yml updating Conan and removing the old settings.yml should be enough.

Alternatively you can add 13 to the GCC version list in the settings.yml manually, or use GCC-12.

Also be aware that the used dependencies changed a lot now, since we're adding gRPC functionality to the engine.

@jellespijker
Copy link
Member

Closing issue because I'm fairly confident that this fixes your issue. If not the case feel free to reopen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants