Hello,
I am trying to use gtest inside VisualCode using the gtest-adapter, but I am struggeling while "using" the header file gtest.h.
What I have done so far:
Download gtest from Github and copied into the working directory
Installed C/C++ and GoogleTest Adapter in Visual Code
Configured the compiler and include paths in C/C++ Configurations
Wrote a small helloworld.cpp that can be built and run
As soon as I include "#include "gtest/gtest.h" I am getting the following error code:
fatal error C1083: Datei (Include) kann nicht geöffnet werden: "gtest/gtest.h": No such file or directory
The terminal process terminated with exit code: 1
Maybe someone can give me a hint what I am doing wrong?!
Hello, I am trying to use gtest inside VisualCode using the gtest-adapter, but I am struggeling while "using" the header file gtest.h.
What I have done so far:
As soon as I include "#include "gtest/gtest.h" I am getting the following error code: fatal error C1083: Datei (Include) kann nicht geöffnet werden: "gtest/gtest.h": No such file or directory The terminal process terminated with exit code: 1
Maybe someone can give me a hint what I am doing wrong?!
Best regards Mario