锐英源软件
第一信赖

精通

英语

开源

擅长

开发

培训

胸怀四海 

第一信赖

当前位置:锐英源 / 开源技术 / C++开源社区 / error C3646: “_NOEXCEPT”: 未知重写说明符

服务方向

人工智能数据处理
人工智能培训
kaldi数据准备
小语种语音识别
语音识别标注
语音识别系统
语音识别转文字
kaldi开发技术服务
软件开发
运动控制卡上位机
机械加工软件
软件开发培训
Java 安卓移动开发
VC++
C#软件
汇编和破解
驱动开发

联系方式

固话:0371-63888850
手机:138-0381-0136
Q Q:396806883
微信:ryysoft

锐英源精品原创,禁止转载和任何形式的非法内容使用,违者必究


error C3646: “_NOEXCEPT”: 未知重写说明符

编译rime依赖的yaml-cpp时出如下错误:

 D:\librime-master\thirdparty\src\yaml-cpp\include\yaml-cpp/exceptions.h(123,24): error C3646: “_NOEXCEPT”: 未知重写说明符 [D:\librime-master\thirdparty\src\yaml-cpp\build\yaml-cpp.vcxproj]
D:\librime-master\thirdparty\src\yaml-cpp\include\yaml-cpp/exceptions.h(149,30): error C3646: “_NOEXCEPT”: 未知重写说明符 [D:\librime-master\thirdparty\src\yaml-cpp\build\yaml-cpp.vcxproj]
D:\librime-master\thirdparty\src\yaml-cpp\include\yaml-cpp/exceptions.h(157,38): error C3646: “_NOEXCEPT”: 未知重写说明符 [D:\librime-master\thirdparty\src\yaml-cpp\build\yaml-cpp.vcxproj]
D:\librime-master\thirdparty\src\yaml-cpp\include\yaml-cpp/exceptions.h(166,28): error C3646: “_NOEXCEPT”: 未知重写说明符 [D:\librime-master\thirdparty\src\yaml-cpp\build\yaml-cpp.vcxproj]
D:\librime-master\thirdparty\src\yaml-cpp\include\yaml-cpp/exceptions.h(176,26): error C3646: “_NOEXCEPT”: 未知重写说明符 [D:\librime-master\thirdparty\src\yaml-cpp\build\yaml-cpp.vcxproj]
D:\librime-master\thirdparty\src\yaml-cpp\include\yaml-cpp/exceptions.h(184,31): error C3646: “_NOEXCEPT”: 未知重写说明符 [D:\librime-master\thirdparty\src\yaml-cpp\build\yaml-cpp.vcxproj]
D:\librime-master\thirdparty\src\yaml-cpp\include\yaml-cpp/exceptions.h(187): message : 查看对正在编译的 类 模板 实例化“YAML::TypedKeyNotFound”的引用 [D:\librime-master\thirdparty\src\yaml-cpp\build\yaml-cpp.vcxproj]
D:\librime-master\thirdparty\src\yaml-cpp\include\yaml-cpp/exceptions.h(200,26): error C3646: “_NOEXCEPT”: 未知重写说明符 [D:\librime-master\thirdparty\src\yaml-cpp\build\yaml-cpp.vcxproj]
D:\librime-master\thirdparty\src\yaml-cpp\include\yaml-cpp/exceptions.h(208,28): error C3646: “_NOEXCEPT”: 未知重写说明符 [D:\librime-master\thirdparty\src\yaml-cpp\build\yaml-cpp.vcxproj]
D:\librime-master\thirdparty\src\yaml-cpp\include\yaml-cpp/exceptions.h(222,29): error C3646: “_NOEXCEPT”: 未知重写说明符 [D:\librime-master\thirdparty\src\yaml-cpp\build\yaml-cpp.vcxproj]
D:\librime-master\thirdparty\src\yaml-cpp\include\yaml-cpp/exceptions.h(230,27): error C3646: “_NOEXCEPT”: 未知重写说明符 [D:\librime-master\thirdparty\src\yaml-cpp\build\yaml-cpp.vcxproj]
D:\librime-master\thirdparty\src\yaml-cpp\include\yaml-cpp/exceptions.h(238,26): error C3646: “_NOEXCEPT”: 未知重写说明符 [D:\librime-master\thirdparty\src\yaml-cpp\build\yaml-cpp.vcxproj]
D:\librime-master\thirdparty\src\yaml-cpp\include\yaml-cpp/exceptions.h(246,24): error C3646: “_NOEXCEPT”: 未知重写说明符 [D:\librime-master\thirdparty\src\yaml-cpp\build\yaml-cpp.vcxproj]
D:\librime-master\thirdparty\src\yaml-cpp\include\yaml-cpp/exceptions.h(254,31): error C3646: “_NOEXCEPT”: 未知重写说明符 [D:\librime-master\thirdparty\src\yaml-cpp\build\yaml-cpp.vcxproj]
D:\librime-master\thirdparty\src\yaml-cpp\include\yaml-cpp/exceptions.h(261,22): error C3646: “_NOEXCEPT”: 未知重写说明符 [D:\librime-master\thirdparty\src\yaml-cpp\build\yaml-cpp.vcxproj]
  directives.cpp
  emit.cpp
  emitfromevents.cpp
  emitter.cpp
D:\librime-master\thirdparty\src\yaml-cpp\include\yaml-cpp/exceptions.h(123,24): error C3646: “_NOEXCEPT”: 未知重写说明符 [D:\librime-master\thirdparty\src\yaml-cpp\build\yaml-cpp.vcxproj]
D:\librime-master\thirdparty\src\yaml-cpp\include\yaml-cpp/exceptions.h(149,30): error C3646: “_NOEXCEPT”: 未知重写说明符 [D:\librime-master\thirdparty\src\yaml-cpp\build\yaml-cpp.vcxproj]
D:\librime-master\thirdparty\src\yaml-cpp\include\yaml-cpp/exceptions.h(157,38): error C3646: “_NOEXCEPT”: 未知重写说明符 [D:\librime-master\thirdparty\src\yaml-cpp\build\yaml-cpp.vcxproj]
D:\librime-master\thirdparty\src\yaml-cpp\include\yaml-cpp/exceptions.h(166,28): error C3646: “_NOEXCEPT”: 未知重写说明符 [D:\librime-master\thirdparty\src\yaml-cpp\build\yaml-cpp.vcxproj]
D:\librime-master\thirdparty\src\yaml-cpp\include\yaml-cpp/exceptions.h(176,26): error C3646: “_NOEXCEPT”: 未知重写说明符 [D:\librime-master\thirdparty\src\yaml-cpp\build\yaml-cpp.vcxproj]
D:\librime-master\thirdparty\src\yaml-cpp\include\yaml-cpp/exceptions.h(184,31): error C3646: “_NOEXCEPT”: 未知重写说明符 [D:\librime-master\thirdparty\src\yaml-cpp\build\yaml-cpp.vcxproj]
D:\librime-master\thirdparty\src\yaml-cpp\include\yaml-cpp/exceptions.h(187): message : 查看对正在编译的 类 模板 实例化“YAML::TypedKeyNotFound”的引用 [D:\librime-master\thirdparty\src\yaml-cpp\build\yaml-cpp.vcxproj]
D:\librime-master\thirdparty\src\yaml-cpp\include\yaml-cpp/exceptions.h(200,26): error C3646: “_NOEXCEPT”: 未知重写说明符 [D:\librime-master\thirdparty\src\yaml-cpp\build\yaml-cpp.vcxproj]
D:\librime-master\thirdparty\src\yaml-cpp\include\yaml-cpp/exceptions.h(208,28): error C3646: “_NOEXCEPT”: 未知重写说明符 [D:\librime-master\thirdparty\src\yaml-cpp\build\yaml-cpp.vcxproj]
D:\librime-master\thirdparty\src\yaml-cpp\include\yaml-cpp/exceptions.h(222,29): error C3646: “_NOEXCEPT”: 未知重写说明符 [D:\librime-master\thirdparty\src\yaml-cpp\build\yaml-cpp.vcxproj]
D:\librime-master\thirdparty\src\yaml-cpp\include\yaml-cpp/exceptions.h(230,27): error C3646: “_NOEXCEPT”: 未知重写说明符 [D:\librime-master\thirdparty\src\yaml-cpp\build\yaml-cpp.vcxproj]
D:\librime-master\thirdparty\src\yaml-cpp\include\yaml-cpp/exceptions.h(238,26): error C3646: “_NOEXCEPT”: 未知重写说明符 [D:\librime-master\thirdparty\src\yaml-cpp\build\yaml-cpp.vcxproj]
D:\librime-master\thirdparty\src\yaml-cpp\include\yaml-cpp/exceptions.h(246,24): error C3646: “_NOEXCEPT”: 未知重写说明符 [D:\librime-master\thirdparty\src\yaml-cpp\build\yaml-cpp.vcxproj]
D:\librime-master\thirdparty\src\yaml-cpp\include\yaml-cpp/exceptions.h(254,31): error C3646: “_NOEXCEPT”: 未知重写说明符 [D:\librime-master\thirdparty\src\yaml-cpp\build\yaml-cpp.vcxproj]
D:\librime-master\thirdparty\src\yaml-cpp\include\yaml-cpp/exceptions.h(261,22): error C3646: “_NOEXCEPT”: 未知重写说明符 [D:\librime-master\thirdparty\src\yaml-cpp\build\yaml-cpp.vcxproj]

这问题肯定是普通程序员很难遇到,遇到了也很难解决,我也是搜索不到信息,干瞪眼。

编译yaml-cpp,用控制台不行,用VS也不行,但没有yaml-cpp的库,主项目exe肯定生成不了,项目结不了,还是要想办法。

后来仔细看开源作者的windows下编译说明,用git统一下载了主exe和依赖库,再用build.bat编译就不出错了。

环境问题,要追查环境,不要乱想思路,思路很难想,也很浪费时间。

友情链接
版权所有 Copyright(c)2004-2021 锐英源软件
公司注册号:410105000449586 豫ICP备08007559号 最佳分辨率 1024*768
地址:郑州大学北校区院(文化路97号院)内