LNK2019: unresolved external symbol in VS unit-testing

后端 未结 4 1771
忘了有多久
忘了有多久 2021-02-19 19:40

I get the error as stated in the title. I ensured the following:
- The Include directory, include library and additional include directory are set correctly
- In the pro

4条回答
  •  后悔当初
    2021-02-19 20:06

    I found the answer by myself: I have to include the .cpp file.
    So #include "../LifeLib/StornoTafel.cpp" fixes the error. However, I have no idea why.

提交回复
热议问题