You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Angle.cc
AxisAlignedBox.cc
Capsule.cc
C:\vcpkg\installed\x64-windows\include\pybind11\detail/type_caster_base.h(482,26): error C2027: use of undefined type '_frame' (compiling source file C:\J\workspace\ign_math-pr-win\ws\gz-math\src\python_pybind11\src\Capsule.cc) [C:\J\workspace\ign_math-pr-win\ws\build\gz-math7\test\FAKE_INSTALL-prefix\src\FAKE_INSTALL-build\src\python_pybind11\math7.vcxproj]
C:\Program Files\Python311\include\pytypedefs.h(22): message : see declaration of '_frame' (compiling source file C:\J\workspace\ign_math-pr-win\ws\gz-math\src\python_pybind11\src\Capsule.cc) [C:\J\workspace\ign_math-pr-win\ws\build\gz-math7\test\FAKE_INSTALL-prefix\src\FAKE_INSTALL-build\src\python_pybind11\math7.vcxproj]
C:\vcpkg\installed\x64-windows\include\pybind11\detail/type_caster_base.h(482,26): error C2027: use of undefined type '_frame' (compiling source file C:\J\workspace\ign_math-pr-win\ws\gz-math\src\python_pybind11\src\_gz_math_pybind11.cc) [C:\J\workspace\ign_math-pr-win\ws\build\gz-math7\test\FAKE_INSTALL-prefix\src\FAKE_INSTALL-build\src\python_pybind11\math7.vcxproj]
C:\Program Files\Python311\include\pytypedefs.h(22): message : see declaration of '_frame' (compiling source file C:\J\workspace\ign_math-pr-win\ws\gz-math\src\python_pybind11\src\_gz_math_pybind11.cc) [C:\J\workspace\ign_math-pr-win\ws\build\gz-math7\test\FAKE_INSTALL-prefix\src\FAKE_INSTALL-build\src\python_pybind11\math7.vcxproj]
C:\vcpkg\installed\x64-windows\include\pybind11\detail/type_caster_base.h(482,26): error C2027: use of undefined type '_frame' (compiling source file C:\J\workspace\ign_math-pr-win\ws\gz-math\src\python_pybind11\src\AxisAlignedBox.cc) [C:\J\workspace\ign_math-pr-win\ws\build\gz-math7\test\FAKE_INSTALL-prefix\src\FAKE_INSTALL-build\src\python_pybind11\math7.vcxproj]
C:\Program Files\Python311\include\pytypedefs.h(22): message : see declaration of '_frame' (compiling source file C:\J\workspace\ign_math-pr-win\ws\gz-math\src\python_pybind11\src\AxisAlignedBox.cc) [C:\J\workspace\ign_math-pr-win\ws\build\gz-math7\test\FAKE_INSTALL-prefix\src\FAKE_INSTALL-build\src\python_pybind11\math7.vcxproj]
C:\vcpkg\installed\x64-windows\include\pybind11\detail/type_caster_base.h(482,26): error C2027: use of undefined type '_frame' (compiling source file C:\J\workspace\ign_math-pr-win\ws\gz-math\src\python_pybind11\src\Angle.cc) [C:\J\workspace\ign_math-pr-win\ws\build\gz-math7\test\FAKE_INSTALL-prefix\src\FAKE_INSTALL-build\src\python_pybind11\math7.vcxproj]
C:\Program Files\Python311\include\pytypedefs.h(22): message : see declaration of '_frame' (compiling source file C:\J\workspace\ign_math-pr-win\ws\gz-math\src\python_pybind11\src\Angle.cc) [C:\J\workspace\ign_math-pr-win\ws\build\gz-math7\test\FAKE_INSTALL-prefix\src\FAKE_INSTALL-build\src\python_pybind11\math7.vcxproj]
Color.cc
DiffDriveOdometry.cc
Ellipsoid.cc
Filter.cc
The buildfarm for Fortress and Garden uses the vcpkg formula pybind11:x64-windows 2.9.1 which seems to be the same version than in Ubuntu Jammy.
Implementation suggestion
Might be a problem with different versions of python mixed in the build: Python 3.11 coming from PATH and installed as a Windows system binary and Python 3.10 from vcpkg that supports well pybind11 2.9.
Desired behavior
Current code disable the python generation on Windows. If we enable the compilation, the following problem arises:
The buildfarm for Fortress and Garden uses the vcpkg formula
pybind11:x64-windows 2.9.1
which seems to be the same version than in Ubuntu Jammy.Implementation suggestion
Might be a problem with different versions of python mixed in the build: Python 3.11 coming from PATH and installed as a Windows system binary and Python 3.10 from vcpkg that supports well pybind11 2.9.
A possible test could be to pass
GZ_PYTHON_VERSION
(from gz-cmake) to be 3.10 and see if 3.11 is not in the mix.The text was updated successfully, but these errors were encountered: