build python binding error on windows 10,msvc14,python3.6.
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 领域
- build-system
调研方向
复现 Windows 10/MSVC 14/Python 3.6 的构建失败,并检查第 223 行附近的 boost/python/operators.hpp,以及第 40-45 行附近的 operator_l 和 operator_r 声明。确定这段代码在所报告的环境中编译失败的原因,然后验证 Python binding 在该环境中能够成功构建,且不会引入所列出的错误。
由索引模型根据 Issue 内容生成。
描述
D:\local\boost_1_67_0\boost/python/operators.hpp(223): error C2065: "op_": undeclared identifier
D:\local\boost_1_67_0\boost/python/operators.hpp(223): error C2059: Syntax error: ">"
D:\local\boost_1_67_0\boost/python/operators.hpp(223): error C2976: "boost::python::detail::operator_l": Template parameters are too few
D:\local\boost_1_67_0\boost/python/operators.hpp(40): note: See the declaration of "boost::python::detail::operator_l"
D:\local\boost_1_67_0\boost/python/operators.hpp(223): error C2913: Explicit specialization; "boost::python::detail::operator_l" is not a specialization of a class template
D:\local\boost_1_67_0\boost/python/operators.hpp(223): error C2065: "op_": undeclared identifier
D:\local\boost_1_67_0\boost/python/operators.hpp(223): error C2059: Syntax error: ">"
D:\local\boost_1_67_0\boost/python/operators.hpp(223): error C2976: "boost::python::detail::operator_r": Template parameters are too few
D:\local\boost_1_67_0\boost/python/operators.hpp(45): note: See the declaration of "boost::python::detail::operator_r"
D:\local\boost_1_67_0\boost/python/operators.hpp(223): error C2913: Explicit specialization; "boost::python::detail::operator_r" is not specialization of class template
D:\local\boost_1_67_0\boost/python/operators.hpp(224): error C2913: Explicit customization; "boost::python::detail::operator_l" is not a specialization of the class template
D:\local\boost_1_67_0\boost/python/operators.hpp(224): error C2913: Explicit customization; "boost::python::detail::operator_r" is not a specialization of the class template
- 主要语言
- C++
- 星标
- 537
- 派生
- 223
- 平均合并
- 11 小时 22 分钟
- 30 天内合并 PR
- 2
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
boostorg/python 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 84/100
-
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 2/5 1-3 小时 新手友好度 64/100
-
BoostDetectToolset-1.90.0.cmake file not found in an include() call in boost_python-config.cmake 未关闭
难度 3/5 1-2 天 新手友好度 48/100
-
难度 4/5 3-5 天 新手友好度 25/100
相似的 Issue
-
AuTest Bug Tests
难度 2/5 1-3 小时 新手友好度 78/100
apache/trafficserver#13714 ·
-
bug build
难度 2/5 1-3 小时 新手友好度 88/100
facebookincubator/velox#19143 ·
-
难度 2/5 1-3 小时 新手友好度 82/100
-
难度 2/5 1-3 小时 新手友好度 68/100
tenstorrent/tt-metal#57393 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
objectionary/eo-graphs#74 ·