I need google test + Visual Studio code for a university project.
I am currently using macOS Big Sur on a MacBook Pro and visual studio code Version: 1.55.2 (Universal).
Firstly I downloaded (I thought it was the quickest way) google test’s packages via homebrew
but it doesn’t seem to work. Then I tried this guide and I was able to get the example running correctly via terminal, but nothing seems to work with visual studio code and if I try to run one of my lecturer’s examples via visual studio code or terminal I get several errors in return. I will leave here some attachments:
Lecturer’s test via terminal:
Example from guide results:
Visual studio code results:
Source: Windows Questions C++