Muhammad Irfan
Muhammad Irfan

Reputation: 755

Fatal Error C1083 While using sparsehash library

Hi I am using google sparsehash library. When i compile the code (Visual Studio 2005)it gives following error... fatal error C1083: Cannot open include file: 'sparsehash/sparse_hash_map': No such file or directory

What is the reason behind this problem and what is its solution. Thanks in advance...

Upvotes: 0

Views: 1033

Answers (1)

Saqlain
Saqlain

Reputation: 17928

Make sure you installed https://code.google.com/p/sparsehash/ and your makefile correctly updated to include header file from this sparsehash i.e. something like

-I ./sparsehash/include

In case of Visual Studio make sure your project setting refer to path where file is located.

Upvotes: 1

Related Questions