Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

build python binding error on windows 10,msvc14,python3.6.

Offen
#212 11 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

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
Tech-Stack
cpp, python
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

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus boostorg/python

Alle Issues in boostorg/python

Ähnliche Issues

Weitere Issues zu C++

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.