Closed S-Dafarra closed 4 years ago
This is the error I get:
[ 28%] Built target OsqpEigen Scanning dependencies of target MPCUpdateMatricesTest [ 35%] Building CXX object tests/CMakeFiles/MPCUpdateMatricesTest.dir/MPCUpdateMatricesTest.cpp.o In file included from /home/sdafarra/Software/googletest/build/install/include/gtest/gtest.h:62, from /home/sdafarra/Software/robotology-superbuild/robotology/OsqpEigen/tests/MPCUpdateMatricesTest.cpp:9: /home/sdafarra/Software/googletest/build/install/include/gtest/internal/gtest-internal.h:1402:53: error: static assertion failed: test_name must not be empty 1402 | static_assert(sizeof(GTEST_STRINGIFY_(test_name)) > 1, \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /home/sdafarra/Software/googletest/build/install/include/gtest/gtest.h:2339:3: note: in expansion of macro ‘GTEST_TEST_’ 2339 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \ | ^~~~~~~~~~~ /home/sdafarra/Software/googletest/build/install/include/gtest/gtest.h:2345:42: note: in expansion of macro ‘GTEST_TEST’ 2345 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name) | ^~~~~~~~~~ /home/sdafarra/Software/robotology-superbuild/robotology/OsqpEigen/tests/MPCUpdateMatricesTest.cpp:186:1: note: in expansion of macro ‘TEST’ 186 | TEST(MPCTest,) | ^~~~ make[2]: *** [tests/CMakeFiles/MPCUpdateMatricesTest.dir/build.make:63: tests/CMakeFiles/MPCUpdateMatricesTest.dir/MPCUpdateMatricesTest.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:943: tests/CMakeFiles/MPCUpdateMatricesTest.dir/all] Error 2 make: *** [Makefile:141: all] Error 2
I am on Ubuntu 20.04.
This is the error I get:
I am on Ubuntu 20.04.