mardi 25 avril 2023

How to build Google test in Visual Studio 2013?

I am trying to build Google test in VS 2013 Pro. Because it supports C++11, so I downloaded Google test version 1.12.0 in https://github.com/google/googletest/releases/tag/release-1.12.0.

After that I used CMake GUI to create .sln file and load into Visual Studio.

enter image description here

Then I tried to build the solution. But there were so many errors relating to gtest-port.h and gtest-internal.h.

enter image description here

I have googled but not much info about this. Could you help me to solve this? I am totally a newbie with Google test.

Aucun commentaire:

Enregistrer un commentaire