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 C++ Testing Framework
I have strange problem and I'll be more than thankful if some one know
how to help me.
I'm working on visual studio 2008 and wrote main to test a cpp file
the file is at this directory (Let's say: c:\foo\foo\foo\foo.cpp) when
I copy the file to another directory (for example: c:
\foo1\foo1\foo.cpp) I'm getting an error with compiling
the error:
fatal error C1083:cannot open include file: 'gtest/internal/gtest-
internal.h':No such file or directory
I double check it and the file exists.
I don't know what the problem.
please help me
Keith Ray
unread,
Jul 14, 2010, 4:47:25 PM7/14/10
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 xuxu, Google C++ Testing Framework
In your project settings, do you have the folder that holds "gtest" in your "additional include paths" settings?
Amplify Your Agility Coaching | Training | Assessment | eLearning
Shlomit Maymon
unread,
Jul 14, 2010, 4:53:15 PM7/14/10
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 Keith Ray, Google C++ Testing Framework
First, thank you for your answer. Second, I wrote at the setting in "additional include paths": "C:\gtest-1.5.0\gtest-1.5.0\msvc\gtest\Debug" The strange thing is that it work just fine when I had another path for the file that I'm testing but when I change the path (the include path) the above error (about gtest) shown.
I thought maybe there are some "role" on the testing file. ("can not be here.." "should be there.." or something like that). thanks again.