build python binding error on windows 10,msvc14,python3.6.
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 25/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Bereich
- build-system
Rechercherichtung
Reproduzieren Sie den Windows 10/MSVC 14/Python 3.6-Buildfehler und untersuchen Sie boost/python/operators.hpp um Zeile 223 herum sowie die Deklarationen von operator_l und operator_r um die Zeilen 40–45 herum. Ermitteln Sie, warum dieser Code in der gemeldeten Umgebung nicht kompiliert, und überprüfen Sie anschließend, dass der Python-Binding-Build dort erfolgreich ist, ohne die aufgeführten Fehler einzuführen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
- Vorherrschende Sprache
- C++
- Sterne
- 537
- Forks
- 223
- Ø Merge
- 11 Std. 22 Min.
- Gemergte PRs (30 T.)
- 2
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus boostorg/python
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 84/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 64/100
-
BoostDetectToolset-1.90.0.cmake file not found in an include() call in boost_python-config.cmake Offen
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 48/100
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 25/100
Alle Issues in boostorg/python
Ähnliche Issues
-
ai_reviewed
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
ydb-platform/ydb#53869 · 3 Kommentare ·
-
bug cert blocker needs triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
project-chip/connectedhomeip#74373 ·
-
[request] tracy/0.14.1 Offenupstream update
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
conan-io/conan-center-index#31035 ·
-
Bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
-
documentation
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 85/100
vllm-project/vllm-ascend#17329 ·