2014-08-09 wcdj
(1) 第一步,./configure没问题。
./configure --prefix=/Users/gerryyang/LAMP/protobuf/install/protobuf-2.4.1
(2) 第二步,make,报错如下:
google/protobuf/message.cc:130:60: error: implicit instantiation of undefined template
'std::__1::basic_istream<char, std::__1::char_traits<char> >'
return ParseFromZeroCopyStream(&zero_copy_input) && input->eof();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/iosfwd:109:33: note:
template is declared here
class _LIBCPP_TYPE_VIS_ONLY basic_istream;
^
google/protobuf/message.cc:135:67: error: implicit instantiation of undefined template
'std::__1::basic_i