win10+WinGw编译的protobuf3.6.1静态库文件

上传者: xm877 | 上传时间: 2023-08-10 18:24:04 | 文件大小: 8.47MB | 文件类型: RAR
1,此文件夹中的protobuf库文件与exe均是在windows10+minGW下编译生成的 2,protobuf版本是3.6.1(源码一并附上) 3,使用说明参考: 3.1,编者环境window10 +qtCreator5.11.1(安装时勾选上minGW); 3.2, 编写.proto文件 例: syntax = "proto3"; package MXSocket; message TestREQ { int32 data = 1; string Msg = 2; } 3.3,将写好的xx.proto文件与protoc.exe放在同一个文件夹下,在当前文件夹下cmd命令 protoc.exe -I=. --cpp_out=. xx.proto 3.4,当前文件夹目录下会自动生成xx.pb.cc和xx.pb.h文件 3.5,将生成的.cc和.h文件放在你的qtCreator工程下 3.6,.pro文件配置如下(具体路径是你的libprotobuf.a和src的路径) LIBS += -LD:/project/test/ -lprotobuf INCLUDEPATH +="E:\protobuf3.6.1\gitpb\protobuf\src" 3.7,编译,测试

文件下载

资源详情

[{"title":"( 667 个子文件 8.47MB ) win10+WinGw编译的protobuf3.6.1静态库文件","children":[{"title":"libprotoc.a <span style='color:#111;'> 28.66MB </span>","children":null,"spread":false},{"title":"libprotobuf.a <span style='color:#111;'> 24.28MB </span>","children":null,"spread":false},{"title":"Makefile.am <span style='color:#111;'> 53.36KB </span>","children":null,"spread":false},{"title":"bad_utf8_string <span style='color:#111;'> 3B </span>","children":null,"spread":false},{"title":"unittest.pb.cc <span style='color:#111;'> 2.00MB </span>","children":null,"spread":false},{"title":"descriptor.pb.cc <span style='color:#111;'> 699.23KB </span>","children":null,"spread":false},{"title":"unittest_lite.pb.cc <span style='color:#111;'> 638.09KB </span>","children":null,"spread":false},{"title":"map_unittest.pb.cc <span style='color:#111;'> 612.88KB </span>","children":null,"spread":false},{"title":"json_format_proto3.pb.cc <span style='color:#111;'> 482.53KB </span>","children":null,"spread":false},{"title":"default_value.pb.cc <span style='color:#111;'> 437.58KB </span>","children":null,"spread":false},{"title":"maps.pb.cc <span style='color:#111;'> 423.29KB </span>","children":null,"spread":false},{"title":"unittest_well_known_types.pb.cc <span style='color:#111;'> 421.40KB </span>","children":null,"spread":false},{"title":"map_lite_unittest.pb.cc <span style='color:#111;'> 415.16KB </span>","children":null,"spread":false},{"title":"unittest_custom_options.pb.cc <span style='color:#111;'> 389.49KB </span>","children":null,"spread":false},{"title":"books.pb.cc <span style='color:#111;'> 352.57KB </span>","children":null,"spread":false},{"title":"unittest_proto3_arena.pb.cc <span style='color:#111;'> 351.99KB </span>","children":null,"spread":false},{"title":"unittest_proto3.pb.cc <span style='color:#111;'> 346.68KB </span>","children":null,"spread":false},{"title":"cpp_test_bad_identifiers.pb.cc <span style='color:#111;'> 307.81KB </span>","children":null,"spread":false},{"title":"unittest_no_arena.pb.cc <span style='color:#111;'> 297.16KB </span>","children":null,"spread":false},{"title":"descriptor_unittest.cc <span style='color:#111;'> 291.08KB </span>","children":null,"spread":false},{"title":"unittest_proto3_arena_lite.pb.cc <span style='color:#111;'> 285.94KB </span>","children":null,"spread":false},{"title":"struct.pb.cc <span style='color:#111;'> 282.46KB </span>","children":null,"spread":false},{"title":"descriptor.cc <span style='color:#111;'> 279.41KB </span>","children":null,"spread":false},{"title":"map_proto2_unittest.pb.cc <span style='color:#111;'> 279.30KB </span>","children":null,"spread":false},{"title":"unittest_proto3_lite.pb.cc <span style='color:#111;'> 272.51KB </span>","children":null,"spread":false},{"title":"json_format.pb.cc <span style='color:#111;'> 214.71KB </span>","children":null,"spread":false},{"title":"anys.pb.cc <span style='color:#111;'> 211.14KB </span>","children":null,"spread":false},{"title":"unittest_no_field_presence.pb.cc <span style='color:#111;'> 204.23KB </span>","children":null,"spread":false},{"title":"wrappers.pb.cc <span style='color:#111;'> 187.34KB </span>","children":null,"spread":false},{"title":"cpp_message.cc <span style='color:#111;'> 156.75KB </span>","children":null,"spread":false},{"title":"js_generator.cc <span style='color:#111;'> 138.27KB </span>","children":null,"spread":false},{"title":"type.pb.cc <span style='color:#111;'> 126.61KB </span>","children":null,"spread":false},{"title":"map_test.cc <span style='color:#111;'> 125.63KB </span>","children":null,"spread":false},{"title":"timestamp_duration.pb.cc <span style='color:#111;'> 118.29KB </span>","children":null,"spread":false},{"title":"parser_unittest.cc <span style='color:#111;'> 112.22KB </span>","children":null,"spread":false},{"title":"oneofs.pb.cc <span style='color:#111;'> 111.63KB </span>","children":null,"spread":false},{"title":"wrappers.pb.cc <span style='color:#111;'> 111.14KB </span>","children":null,"spread":false},{"title":"message_differencer_unittest.cc <span style='color:#111;'> 110.85KB </span>","children":null,"spread":false},{"title":"field_mask.pb.cc <span style='color:#111;'> 103.89KB </span>","children":null,"spread":false},{"title":"generated_message_reflection.cc <span style='color:#111;'> 91.33KB </span>","children":null,"spread":false},{"title":"test_util_lite.cc <span style='color:#111;'> 90.75KB </span>","children":null,"spread":false},{"title":"protostream_objectwriter_test.cc <span style='color:#111;'> 90.03KB </span>","children":null,"spread":false},{"title":"text_format.cc <span style='color:#111;'> 88.12KB </span>","children":null,"spread":false},{"title":"plugin.pb.cc <span style='color:#111;'> 88.06KB </span>","children":null,"spread":false},{"title":"strutil.cc <span style='color:#111;'> 85.53KB </span>","children":null,"spread":false},{"title":"command_line_interface_unittest.cc <span style='color:#111;'> 84.55KB </span>","children":null,"spread":false},{"title":"message_differencer_unittest.pb.cc <span style='color:#111;'> 81.38KB </span>","children":null,"spread":false},{"title":"command_line_interface.cc <span style='color:#111;'> 81.07KB </span>","children":null,"spread":false},{"title":"extension_set.cc <span style='color:#111;'> 80.89KB </span>","children":null,"spread":false},{"title":"parser.cc <span style='color:#111;'> 79.57KB </span>","children":null,"spread":false},{"title":"map_test_util.cc <span style='color:#111;'> 78.13KB </span>","children":null,"spread":false},{"title":"unittest_mset.pb.cc <span style='color:#111;'> 77.77KB </span>","children":null,"spread":false},{"title":"api.pb.cc <span style='color:#111;'> 75.63KB </span>","children":null,"spread":false},{"title":"message_differencer.cc <span style='color:#111;'> 72.73KB </span>","children":null,"spread":false},{"title":"unittest_preserve_unknown_enum.pb.cc <span style='color:#111;'> 68.92KB </span>","children":null,"spread":false},{"title":"text_format_unittest.cc <span style='color:#111;'> 66.69KB </span>","children":null,"spread":false},{"title":"struct.pb.cc <span style='color:#111;'> 62.44KB </span>","children":null,"spread":false},{"title":"cpp_helpers.cc <span style='color:#111;'> 61.14KB </span>","children":null,"spread":false},{"title":"repeated_field_unittest.cc <span style='color:#111;'> 57.22KB </span>","children":null,"spread":false},{"title":"objectivec_helpers.cc <span style='color:#111;'> 57.09KB </span>","children":null,"spread":false},{"title":"php_generator.cc <span style='color:#111;'> 56.66KB </span>","children":null,"spread":false},{"title":"python_generator.cc <span style='color:#111;'> 55.44KB </span>","children":null,"spread":false},{"title":"extension_set_unittest.cc <span style='color:#111;'> 54.07KB </span>","children":null,"spread":false},{"title":"java_message.cc <span style='color:#111;'> 53.96KB </span>","children":null,"spread":false},{"title":"cpp_string_field.cc <span style='color:#111;'> 52.52KB </span>","children":null,"spread":false},{"title":"wire_format.cc <span style='color:#111;'> 52.34KB </span>","children":null,"spread":false},{"title":"arena_unittest.cc <span style='color:#111;'> 51.70KB </span>","children":null,"spread":false},{"title":"cpp_file.cc <span style='color:#111;'> 51.37KB </span>","children":null,"spread":false},{"title":"coded_stream_unittest.cc <span style='color:#111;'> 49.40KB </span>","children":null,"spread":false},{"title":"wire_format_unittest.cc <span style='color:#111;'> 48.22KB </span>","children":null,"spread":false},{"title":"java_message_field.cc <span style='color:#111;'> 47.36KB </span>","children":null,"spread":false},{"title":"protostream_objectwriter.cc <span style='color:#111;'> 45.15KB </span>","children":null,"spread":false},{"title":"protostream_objectsource.cc <span style='color:#111;'> 42.92KB </span>","children":null,"spread":false},{"title":"unittest_lazy_dependencies.pb.cc <span style='color:#111;'> 41.74KB </span>","children":null,"spread":false},{"title":"java_message_lite.cc <span style='color:#111;'> 41.66KB </span>","children":null,"spread":false},{"title":"generated_message_reflection_unittest.cc <span style='color:#111;'> 41.42KB </span>","children":null,"spread":false},{"title":"default_value_test.pb.cc <span style='color:#111;'> 38.55KB </span>","children":null,"spread":false},{"title":"java_string_field.cc <span style='color:#111;'> 38.05KB </span>","children":null,"spread":false},{"title":"tokenizer.cc <span style='color:#111;'> 37.99KB </span>","children":null,"spread":false},{"title":"tokenizer_unittest.cc <span style='color:#111;'> 37.69KB </span>","children":null,"spread":false},{"title":"java_enum_field.cc <span style='color:#111;'> 37.23KB </span>","children":null,"spread":false},{"title":"java_enum_field_lite.cc <span style='color:#111;'> 36.66KB </span>","children":null,"spread":false},{"title":"protostream_objectsource_test.cc <span style='color:#111;'> 36.51KB </span>","children":null,"spread":false},{"title":"unittest_preserve_unknown_enum2.pb.cc <span style='color:#111;'> 36.40KB </span>","children":null,"spread":false},{"title":"field_mask_util_test.cc <span style='color:#111;'> 35.85KB </span>","children":null,"spread":false},{"title":"java_message_field_lite.cc <span style='color:#111;'> 35.52KB </span>","children":null,"spread":false},{"title":"java_map_field_lite.cc <span style='color:#111;'> 35.28KB </span>","children":null,"spread":false},{"title":"unittest_drop_unknown_fields.pb.cc <span style='color:#111;'> 34.72KB </span>","children":null,"spread":false},{"title":"java_primitive_field.cc <span style='color:#111;'> 34.60KB </span>","children":null,"spread":false},{"title":"java_string_field_lite.cc <span style='color:#111;'> 34.00KB </span>","children":null,"spread":false},{"title":"lite_unittest.cc <span style='color:#111;'> 33.74KB </span>","children":null,"spread":false},{"title":"java_primitive_field_lite.cc <span style='color:#111;'> 33.59KB </span>","children":null,"spread":false},{"title":"java_helpers.cc <span style='color:#111;'> 33.02KB </span>","children":null,"spread":false},{"title":"unittest_arena.pb.cc <span style='color:#111;'> 32.94KB </span>","children":null,"spread":false},{"title":"message.cc <span style='color:#111;'> 32.50KB </span>","children":null,"spread":false},{"title":"extension_set_heavy.cc <span style='color:#111;'> 32.37KB </span>","children":null,"spread":false},{"title":"dynamic_message.cc <span style='color:#111;'> 32.11KB </span>","children":null,"spread":false},{"title":"strutil_unittest.cc <span style='color:#111;'> 31.77KB </span>","children":null,"spread":false},{"title":"zero_copy_stream_unittest.cc <span style='color:#111;'> 31.67KB </span>","children":null,"spread":false},{"title":"java_map_field.cc <span style='color:#111;'> 31.09KB </span>","children":null,"spread":false},{"title":"......","children":null,"spread":false},{"title":"<span style='color:steelblue;'>文件过多,未全部展示</span>","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明