opencv-3.4.19\3rdparty\protobuf\src\google/protobuf/stubs/hash.h(242,2): message : 查看对正在编译的 类 模板 实例化

D:\code\opencv-3.4.19\3rdparty\protobuf\src\google/protobuf/stubs/hash.h(241,50): error C2143: 语法错误: 缺少“,”(在“<”的前面) (编译源文件 D:\code\opencv-3.4.19\3rdparty\protobuf\src\google\protobuf\stubs\bytestream.cc)
1>D:\code\opencv-3.4.19\3rdparty\protobuf\src\google/protobuf/stubs/hash.h(242,2): message : 查看对正在编译的 类 模板 实例化“google::protobuf::hash<Key>”的引用 (编译源文件 D:\code\opencv-3.4.19\3rdparty\protobuf\src\google\protobuf\stubs\bytestream.cc)
1>D:\code\opencv-3.4.19\3rdparty\protobuf\src\google/protobuf/stubs/hash.h(255,14): error C2039: "hash_compare": 不是 "std" 的成员 (编译源文件 D:\code\opencv-3.4.19\3rdparty\protobuf\src\google\protobuf\stubs\bytestream.cc)
1>E:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\unordered_set(24,1): message : 参见“std”的声明 (编译源文件 D:\code\opencv-3.4.19\3rdparty\protobuf\src\google\protobuf\stubs\bytestream.cc)
1>D:\code\opencv-3.4.19\3rdparty\protobuf\src\google/protobuf/stubs/hash.h(255,14): error C2504: “hash_compare”: 未定义基类 (编译源文件 D:\code\opencv-3.4.19\3rdparty\protobuf\src\google\protobuf\stubs\bytestream.cc)
1>D:\code\opencv-3.4.19\3rdparty\protobuf\src\google/protobuf/stubs/hash.h(255,42): error C2143: 语法错误: 缺少“,”(在“<”的前面) (编译源文件 D:\code\opencv-3.4.19\3rdparty\protobuf\src\google\protobuf\stubs\bytestream.cc)
1>D:\code\opencv-3.4.19\3rdparty\protobuf\src\google/protobuf/stubs/hash.h(400,29): error C2064: 项不会计算为接受 1 个参数的函数 (编译源文件 D:\code\opencv-3.4.19\3rdparty\protobuf\src\google\protobuf\stubs\bytestream.cc)
1>D:\code\opencv-3.4.19\3rdparty\protobuf\src\google/protobuf/stubs/hash.h(241,50): error C2143: 语法错误: 缺少“,”(在“<”的前面) (编译源文件 D:\code\opencv-3.4.19\3rdparty\protobuf\src\google\protobuf\message_lite.cc)
1>D:\code\opencv-3.4.19\3rdparty\protobuf\src\google/protobuf/stubs/hash.h(242,2): message : 查看对正在编译的 类 模板 实例化“google::protobuf::hash<Key>”的引用 (编译源文件 D:\code\opencv-3.4.19\3rdparty\protobuf\src\google\protobuf\message_lite.cc)
1>D:\code\opencv-3.4.19\3rdparty\protobuf\src\google/protobuf/stubs/hash.h(255,14): error C2039: "hash_compare": 不是 "std" 的成员 (编译源文件 D:\code\opencv-3.4.19\3rdparty\protobuf\src\google\protobuf\message_lite.cc)
1>E:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\unordered_set(24,1): message : 参见“std”的声明 (编译源文件 D:\code\opencv-3.4.19\3rdparty\protobuf\src\google\protobuf\message_lite.cc)
1>D:\code\opencv-3.4.19\3rdparty\protobuf\src\google/protobuf/stubs/hash.h(255,14): error C2504: “hash_compare”: 未定义基类 (编译源文件 D:\code\opencv-3.4.19\3rdparty\protobuf\src\google\protobuf\message_lite.cc)
1>D:\code\opencv-3.4.19\3rdparty\protobuf\src\google/protobuf/stubs/hash.h(255,42): error C2143: 语法错误: 缺少“,”(在“<”的前面) (编译源文件 D:\code\opencv-3.4.19\3rdparty\protobuf\src\google\protobuf\message_lite.cc)
1>D:\code\opencv-3.4.19\3rdparty\protobuf\src\google/protobuf/stubs/hash.h(400,29): error C2064: 项不会计算为接受 1 个参数的函数 (编译源文件 D:\code\opencv-3.4.19\3rdparty\protobuf\src\google\protobuf\message_lite.cc)
1>D:\code\opencv-3.4.19\3rdparty\protobuf\src\google/protobuf/stubs/hash.h(241,50): error C2143: 语法错误: 缺少“,”(在“<”的前面) (编译源文件 D:\code\opencv-3.4.19\3rdparty\protobuf\src\google\protobuf\extension_set.cc)
1>D:\code\opencv-3.4.19\3rdparty\protobuf\src\google/protobuf/stubs/hash.h(242,2): message : 查看对正在编译的 类 模板 实例化“google::protobuf::hash<Key>”的引用 (编译源文件 D:\code\opencv-3.4.19\3rdparty\protobuf\src\google\protobuf\extension_set.cc)
1>D:\code\opencv-3.4.19\3rdparty\protobuf\src\google/protobuf/stubs/hash.h(255,14): error C2039: "hash_compare": 不是 "std" 的成员 (编译源文件 D:\code\opencv-3.4.19\3rdparty\protobuf\src\google\protobuf\extension_set.cc)
1>E:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\unordered_set(24,1): message : 参见“std”的声明 (编译源文件 D:\code\opencv-3.4.19\3rdparty\protobuf\src\google\protobuf\extension_set.cc)
1>D:\code\opencv-3.4.19\3rdparty\protobuf\src\google/protobuf/stubs/hash.h(255,14): error C2504: “hash_compare”: 未定义基类 (编译源文件 D:\code\opencv-3.4.19\3rdparty\protobuf\src\google\protobuf\extension_set.cc)
1>D:\code\opencv-3.4.19\3rdparty\protobuf\src\google/protobuf/stubs/hash.h(255,42): error C2143: 语法错误: 缺少“,”(在“<”的前面) (编译源文件 D:\code\opencv-3.4.19\3rdparty\protobuf\src\google\protobuf\extension_set.cc)
1>D:\code\opencv-3.4.19\3rdparty\protobuf\src\google/protobuf/stubs/hash.h(400,29): error C2064: 项不会计算为接受 1 个参数的函数 (编译源文件 D:\code\opencv-3.4.19\3rdparty\protobuf\src\google\protobuf\extension_set.cc)
1>D:\code\opencv-3.4.19\3rdparty\protobuf\src\google/protobuf/stubs/hash.h(241,50): error C2143: 语法错误: 缺少“,”(在“<”的前面) (编译源文件 D:\code\opencv-3.4.19\3rdparty\protobuf\src\google\protobuf\generated_message_util.cc)
1>D:\code\opencv-3.4.19\3rdparty\protobuf\src\google/protobuf/stubs/hash.h(242,2): message : 查看对正在编译的 类 模板 实例化“google::protobuf::hash<Key>”的引用 (编译源文件 D:\code\opencv-3.4.19\3rdparty\protobuf\src\google\protobuf\generated_message_util.cc)
1>D:\code\opencv-3.4.19\3rdparty\protobuf\src\google/protobuf/stubs/hash.h(255,14): error C2039: "hash_compare": 不是 "std" 的成员 (编译源文件 D:\code\opencv-3.4.19\3rdparty\protobuf\src\google\protobuf\generated_message_util.cc)
1>E:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\unordered_set(24,1): message : 参见“std”的声明 (编译源文件 D:\code\opencv-3.4.19\3rdparty\protobuf\src\google\protobuf\generated_message_util.cc)
1>D:\code\opencv-3.4.19\3rdparty\protobuf\src\google/protobuf/stubs/hash.h(255,14): error C2504: “hash_compare”: 未定义基类 (编译源文件 D:\code\opencv-3.4.19\3rdparty\protobuf\src\google\protobuf\generated_message_util.cc)
1>D:\code\opencv-3.4.19\3rdparty\protobuf\src\google/protobuf/stubs/hash.h(255,42): error C2143: 语法错误: 缺少“,”(在“<”的前面) (编译源文件 D:\code\opencv-3.4.19\3rdparty\protobuf\src\google\protobuf\generated_message_util.cc)
1>D:\code\opencv-3.4.19\3rdparty\protobuf\src\google/protobuf/stubs/hash.h(400,29): error C2064: 项不会计算为接受 1 个参数的函数 (编译源文件 D:\code\opencv-3.4.19\3rdparty\protobuf\src\google\protobuf\generated_message_util.cc)
1>common.cc
1>int128.cc
1>io_win32.cc
1>D:\code\opencv-3.4.19\3rdparty\protobuf\src\google/protobuf/stubs/hash.h(241,50): error C2143: 语法错误: 缺少“,”(在“<”的前面) (编译源文件 D:\code\opencv-3.4.19\3rdparty\protobuf\src\google\protobuf\generated_message_table_driven_lite.cc)
1>D:\code\opencv-3.4.19\3rdparty\protobuf\src\google/protobuf/stubs/hash.h(242,2): message : 查看对正在编译的 类 模板 实例化“google::protobuf::hash<Key>”的引用 (编译源文件 D:\code\opencv-3.4.19\3rdparty\protobuf\src\google\protobuf\generated_message_table_driven_lite.cc)
1>D:\code\opencv-3.4.19\3rdparty\protobuf\src\google/protobuf/stubs/hash.h(255,14): error C2039: "hash_compare": 不是 "std" 的成员 (编译源文件 D:\code\opencv-3.4.19\3rdparty\protobuf\src\google\protobuf\generated_message_table_driven_lite.cc)
1>E:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\unordered_set(24,1): message : 参见“std”的声明 (编译源文件 D:\code\opencv-3.4.19\3rdparty\protobuf\src\google\protobuf\generated_message_table_driven_lite.cc)
1>D:\code\opencv-3.4.19\3rdparty\protobuf\src\google/protobuf/stubs/hash.h(255,14): error C2504: “hash_compare”: 未定义基类 (编译源文件 D:\code\opencv-3.4.19\3rdparty\protobuf\src\google\protobuf\generated_message_table_driven_lite.cc)
1>D:\code\opencv-3.4.19\3rdparty\protobuf\src\google/protobuf/stubs/hash.h(255,42): error C2143: 语法错误: 缺少“,”(在“<”的前面) (编译源文件 D:\code\opencv-3.4.19\3rdparty\protobuf\src\google\protobuf\generated_message_table_driven_lite.cc)
1>D:\code\opencv-3.4.19\3rdparty\protobuf\src\google/protobuf/stubs/hash.h(400,29): error C2064: 项不会计算为接受 1 个参数的函数

#elif defined(_MSC_VER)
# if _MSC_VER >= 1900  // Since Visual Studio 2022
#  define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS
#  include <hash_map>
#  define GOOGLE_PROTOBUF_HAS_CXX11_HASH
#  define GOOGLE_PROTOBUF_HASH_COMPARE stdext::hash_compare
# elif _MSC_VER >= 1600  // Since Visual Studio 2010

  • 2
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 5
    评论
评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值