把google buffer protocal v2.5.0的代码下载来,编译gtest\msvc上的工程gtest_prod/gtest_unittest的时候
1、在2008下是没有问题的
2、把工程convert到在2013下,gtest_prod_test/gtest_unittest出现了状况,Link时老是说对某些lib的引用为空,提示 "error LNK2019: unresolved external symbol "bool __cdecl testing::internal::IsTrue(bool)" 之类
3、既然gtest_prod_test/gtest_unittest都对gtest/gtest_main的工程是依赖关系,为什么在2013下就不能象在2008下一样智能自动引用呢?没想明白,我直接想去把他们的依赖关系删了,结果碰上“This dependency was added by the project system and cannot be removed”
4、google走到 VS项目依赖
5、删了“Project Reference”
6、重新构建“项目依赖”关系,不要“项目引用”关系