We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
按照sudo apt install libgmock-dev已经安装好了gmock,cmake通过,make时仍然gmock报错如下
The text was updated successfully, but these errors were encountered:
这是gtest机制导致的。书里一部分程序写成了gtest,所以如果你改动了什么东西,需要删掉CMakeCache.txt并重新编译(相当于清理了cmake缓存)。如果还不行,把build/整个删了重新编译试试。
Sorry, something went wrong.
感谢高博解答,问题已解决
No branches or pull requests
按照sudo apt install libgmock-dev已经安装好了gmock,cmake通过,make时仍然gmock报错如下
The text was updated successfully, but these errors were encountered: