0

嗨,我正在使用 google sparsehash 库。当我编译代码(Visual Studio 2005)它给出以下错误...... 致命错误C1083:无法打开包含文件:'sparsehash/sparse_hash_map':没有这样的文件或目录

这个问题背后的原因是什么,它的解决方案是什么。提前致谢...

4

1 回答 1

1

确保您安装了https://code.google.com/p/sparsehash/并且您的 makefile 已正确更新以包含来自此 sparsehash 的头文件,例如

-I ./sparsehash/包括

如果是 Visual Studio,请确保您的项目设置引用文件所在的路径。

于 2013-03-23T16:41:37.937 回答