achen7 / googlemock

Automatically exported from code.google.com/p/googlemock
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

This project does not appear to be buildable (at least on windows) #144

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
IMPORTANT NOTE: PLEASE send issues and requests to
http://groups.google.com/group/googlemock *instead of here*.
This issue tracker is NOT regularly monitored.

If you really need to create a new issue, please provide the information asked 
for below.

What steps will reproduce the problem?
1. Try to build gmock in visual studio by using the provided solutions
2. Or try to build it following the instructions here: 
http://code.google.com/p/googlemock/source/browse/trunk/README
3.  Either way it's broken

What is the expected output? What do you see instead?
expected:

"Build Complete"

actual:
See file attached.

Which version of Google Mock are you using? On what operating system?

r393

Please provide any additional information below.

The problem seems to be caused by a missing definition for GTEST_API_

Original issue reported on code.google.com by mli...@google.com on 12 Aug 2011 at 1:51

Attachments:

GoogleCodeExporter commented 9 years ago
Both internal::string and GTEST_API_ are defined in 
gtest/internal/gtest-port.h, which should be included from gmock-port.h. So it 
appears that your compiler doesn't include it for some reason, or includes some 
odd version. Please verify that you have the gtest directory under gmock, and 
that gtest/include/gtest/internal/gtest-port.h is the same as 
http://code.google.com/p/googletest/source/browse/trunk/include/gtest/internal/g
test-port.h?spec=svn587&r=572

Original comment by vladlosev on 12 Aug 2011 at 2:16

GoogleCodeExporter commented 9 years ago
Thanks for the tip.  I was indeed able to fix this problem by updating both
to corresponding svn revs.

Original comment by mli...@google.com on 12 Aug 2011 at 3:04

GoogleCodeExporter commented 9 years ago

Original comment by vladlosev on 18 Aug 2011 at 7:22