Google test problem with including gtest.h because of other h file in gtest

48 Views Asked by At

Long story short i have Tests, that i want to run with GoogleTest. I cloned git repo with GoogleTest,tried to include gtest.h, but it can't see it. I also tried to type path by myself and it helped.. kinda. Now there is error in gtest.h itself and gives me error that says "cannot open source file "gtest/gtest-assertion-result.h" (dependency of "path to repo\lib\googletest\googletest\include\gtest\gtest.h")". Send help!

structure of project files

Also that is my include - #include "../lib/googletest/googletest/include/gtest/gtest.h"

Tried recloning and reloading only

0

There are 0 best solutions below