You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-sparsehash
I successfully built the sparsehashmap in Visual C++ 2008 using the
supplied .sln file. How do I use google/dense_hash_map in other C++
files? I tried
#include<google/dense_hash_map>
but I got the following error:
fatal error C1083: Cannot open include file: 'google/dense_hash_map':
No such file or directory
Could anybody help me?
Thanks in advance!
Yi
Craig Silverstein
unread,
Nov 4, 2009, 11:32:05 AM11/4/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-s...@googlegroups.com
} but I got the following error: } } fatal error C1083: Cannot open include file: } 'google/dense_hash_map': No such file or directory
You'll need to copy the google directory into your own project directory tree. I don't know much about windows development; maybe someone else can give a bit more detail if needed.
craig
Yi
unread,
Nov 5, 2009, 9:12:03 AM11/5/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-sparsehash
Thanks Craig. It worked after I copied the directories to my project.
And I have to change
#include<google/dense_hash_map>
to
#include "google/dense_hash_map"
Yi
olive...@gmail.com
unread,
Jun 19, 2015, 12:18:53 PM6/19/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-s...@googlegroups.com
Dont need to do that. you can just add the include files on your make file or probably on the CXXFLAGS
I just added the directory where google and sparsehash where on my make files with -I/path/to/include libraries/ Hope this helps
1971 powerChina
unread,
Jul 9, 2015, 8:53:07 PM7/9/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message