I am trying to use Visual Studio 2017 to create a C++ project and then test it with Google Test. I followed this guide to create my project and set Google Test for it: https://learn.microsoft.com/en-us/visualstudio/test/how-to-use-google-test-for-cpp
My solution has two projects Matrix and Matrix-Test (Google Test project). Project Matrix contains a class called Table. Project Matrix-Test contains a single test where a Table object is declared. Everything looks like this:

If I try to build the solution I get the following errors
:
However, if I don't declare the Table object in the test, then the solution builds successfully.

Please let me know if you have any idea why I get these errors. Thank you!