我想为我的C++项目在xcode 7.0中设置guide这个google测试框架我到了最后一步Build and Go,但经过几个小时的在线搜索,我无法让我的测试项目运行。编译器似乎没有找到它需要的头文件。 main.cpp:9:10:找不到'gtest/gtest.h'文件。源是:gtest.h文件未找到googletest xcode 7.0
#include "gtest/gtest.h"
#include "calc.hpp"
int main(int argc, const char * argv[]) {
return 0;
}
我还试图 的#include <GTEST/gtest.h> 随着相同的结果。
无法链接到文章 – David
@mortond谢谢。我删除了链接到文章的链接。这篇文章不再存在了,所以没有把它留在这里。 –