GOOGLE protobuf配置VS2013出现问题error C3861: “min”:
来源:互联网 发布:淘宝商品采集工具 编辑:程序博客网 时间:2024/06/05 16:27
问题描述:
今天VS2013配置protobuf的过程中,编译libprotobuf,出现
zero_copy_stream_impl_lite.cc(196): error C3861: “min”: 找不到标识符
zero_copy_stream_impl_lite.cc(169): error C3861: “max”: 找不到标识符等情况,网上搜索了下,需要解决方案很多。
我的解决办法:
在包含头文件处加上
#include<algorithm>
编译通过。
1 0
- GOOGLE protobuf配置VS2013出现问题error C3861: “min”:
- 【解决方法】调试出现:error C3861: “max”,“min”: 找不到标识符。
- 在VS2013中出现 error C3861: “snprintf”: 找不到标识符
- vs2013 error C3861: “snprintf”: 找不到标识符
- vs2013出现error C4996问题
- error C3861问题之我见
- VS2015--win32工程配置的一些想法之GdiplusTypes.h(470) : error C3861: 'min': identifier not found
- Visual Studio 2013(VS2013)error C3861: “__uncaught_exception”: 找不到标识符
- ubuntu16.04配置caffe出现protobuf问题
- 在VS2010中出现 error C3861: “snprintf”: 找不到标识符
- 在VS2010中出现 error C3861: “snprintf”: 找不到标识符
- 出现错误:ERROR: no such package '@protobuf//src/google/protobuf': Could not find handler for bind rule /
- microsoft sdks\windows\v6.0a\include\gdiplustypes.h(658) : error C3861: 'min': identifier not found
- 编译错误之error C3861: “getline”: 找不到标识符的问题
- libprotobuf ERROR google/protobuf/wire_format.cc:1059
- libprotobuf ERROR google/protobuf/wire_format.cc:1059
- error :No module named google.protobuf.internal
- error C3861,找不到标识符
- oracle删除不了用户,提示“无法删除当前已连接的用户”
- Unity5的关卡切换
- iOS通过html模版实现富文本编辑
- SQL中 and or优先级问题
- *nix系统下字符编码转换
- GOOGLE protobuf配置VS2013出现问题error C3861: “min”:
- 单引号里面的变量或常量不会再被解析
- win7建立FTP服务器
- 如何访问本地的FTP地址
- Unity.击球游戏
- centos network config
- cmake:设置编译选项的讲究(add_compile_options和CMAKE_CXX_FLAGS的区别)
- Unity 粒子海洋效果实现
- 企业项目管理redmine搭建