ndho...@gmail.com
unread,Jul 30, 2008, 6:45:42 AM7/30/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Protocol Buffers
Dear all,
I have just built "libProtocolBuffer.a" successfully with some
errors in "gtest.h", "coded_stream_unittest.cc" and
"tokenizer_unittest.cc" :-) But at least, I can run the test
application base on this library (same as result on Linux).
To build this library, I follow below steps:
+ Copy source folder into my local pc (google and gtest
only).
+ Use protoc.exe (Win32) to compile "google\protobuf\*.proto"
files.
+ Copy "config.h" file on Linux (after installed
ProtocolBuffer) and replace it in my source folder.
+ Create static library project in Eclipse.
+ Then build project.
And here are some errors that I have not fixed yet:
+ instantiated from `static testing::AssertionResult
testing::internal::EqHelper< true>::Compare(const char*, const char*,
const T1&, const T2&) [with T1 = int, T2 = google::protobuf::uint64]'
==> In line: return CmpHelperEQ(expected_expression,
actual_expression, expected, actual); <<gtest.h>>
+ instantiated from `void
google::protobuf::io::<unnamed>::CodedStreamTest_WriteLittleEndian32_DD::DoSingleCase(const
CaseType1&, const CaseType2&) [with CaseType1 =
google::protobuf::io::<unnamed>::Fixed32Case, CaseType2 = int]'
==> In line: EXPECT_EQ(sizeof(uint32),
(int)coded_output.ByteCount()); <<coded_stream_unittest.cc>>
+ instantiated from `void
google::protobuf::io::<unnamed>::TokenizerTest_SimpleTokens_DD::DoSingleCase(const
CaseType1&, const CaseType2&) [with CaseType1 =
google::protobuf::io::<unnamed>::SimpleTokenCase, CaseType2 = int]'
==> Inline: EXPECT_EQ(kSimpleTokenCases_case.input.size(),
tokenizer.current().column); <<tokenizer_unittest.cc>>
Is there anyone that meet the same as my errors?
I welcome your comments.
Thanks and Best Regards,
Hai Ngo