Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please respond asap.... #1

Open
Coder-X15 opened this issue Sep 28, 2024 · 0 comments
Open

Please respond asap.... #1

Coder-X15 opened this issue Sep 28, 2024 · 0 comments

Comments

@Coder-X15
Copy link

Hello there, I was trying to get my ROS2swarm package to build correctly and the pyReedsShepp package was suppposed to build properly after my having copied longintrepr.h from the cpython repo into /usr/include/python3.12 but I don't know why, these errors just popped up:

$ sudo python3 setup.py install
/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
        ********************************************************************************

!!
  self.initialize_options()
/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:66: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` and ``easy_install``.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://github.com/pypa/setuptools/issues/917 for details.
        ********************************************************************************

!!
  self.initialize_options()
In file included from /usr/include/python3.12/Python.h:44,
                 from reeds_shepp/reeds_shepp.cpp:4:
reeds_shepp/reeds_shepp.cpp: In function ‘int __Pyx_PyList_Append(PyObject*, PyObject*)’:
/usr/include/python3.12/object.h:236:30: error: lvalue required as left operand of assignment
  236 | #  define Py_SIZE(ob) Py_SIZE(_PyObject_CAST(ob))
      |                       ~~~~~~~^~~~~~~~~~~~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:606:9: note: in expansion of macro ‘Py_SIZE’
  606 |         Py_SIZE(list) = len+1;
      |         ^~~~~~~
reeds_shepp/reeds_shepp.cpp: In function ‘void __pyx_tp_dealloc_11reeds_shepp_PyReedsSheppPath(PyObject*)’:
/usr/include/python3.12/object.h:214:34: error: lvalue required as increment operand
  214 | #  define Py_REFCNT(ob) Py_REFCNT(_PyObject_CAST(ob))
      |                         ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:2211:7: note: in expansion of macro ‘Py_REFCNT’
 2211 |     ++Py_REFCNT(o);
      |       ^~~~~~~~~
/usr/include/python3.12/object.h:214:34: error: lvalue required as decrement operand
  214 | #  define Py_REFCNT(ob) Py_REFCNT(_PyObject_CAST(ob))
      |                         ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:2213:7: note: in expansion of macro ‘Py_REFCNT’
 2213 |     --Py_REFCNT(o);
      |       ^~~~~~~~~
reeds_shepp/reeds_shepp.cpp: In function ‘int __Pyx_InitCachedConstants()’:
reeds_shepp/reeds_shepp.cpp:61:21: warning: ‘PyCodeObject* PyCode_New(int, int, int, int, int, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, int, PyObject*, PyObject*)’ is deprecated [-Wdeprecated-declarations]
   61 |           PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
      |           ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:2569:33: note: in expansion of macro ‘__Pyx_PyCode_New’
 2569 |   __pyx_codeobj__3 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__2, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_ghliulab_Dropbox_Delphi_in, __pyx_n_s_f, 28, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 28; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      |                                 ^~~~~~~~~~~~~~~~
In file included from /usr/include/python3.12/Python.h:74:
/usr/include/python3.12/cpython/code.h:244:1: note: declared here
  244 | PyCode_New(
      | ^~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:61:21: warning: ‘PyCodeObject* PyCode_New(int, int, int, int, int, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, int, PyObject*, PyObject*)’ is deprecated [-Wdeprecated-declarations]
   61 |           PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
      |           ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:2569:33: note: in expansion of macro ‘__Pyx_PyCode_New’
 2569 |   __pyx_codeobj__3 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__2, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_ghliulab_Dropbox_Delphi_in, __pyx_n_s_f, 28, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 28; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      |                                 ^~~~~~~~~~~~~~~~
/usr/include/python3.12/cpython/code.h:244:1: note: declared here
  244 | PyCode_New(
      | ^~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:2569:233: error: invalid conversion from ‘int’ to ‘PyObject*’ {aka ‘_object*’} [-fpermissive]
 2569 | x_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__2, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_ghliulab_Dropbox_Delphi_in, __pyx_n_s_f, 28, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 28; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      |                                                                                                                                                                     ^~
      |                                                                                                                                                                     |
      |                                                                                                                                                                     int

reeds_shepp/reeds_shepp.cpp:61:72: note: in definition of macro ‘__Pyx_PyCode_New’
   61 |           PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
      |                                                                        ^~~~~
reeds_shepp/reeds_shepp.cpp:2569:237: error: invalid conversion from ‘PyObject*’ {aka ‘_object*’} to ‘int’ [-fpermissive]
 2569 | pty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__2, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_ghliulab_Dropbox_Delphi_in, __pyx_n_s_f, 28, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 28; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      |                                                                                                                                                                     ^~~~~~~~~~~~~~~~~
      |                                                                                                                                                                     |
      |                                                                                                                                                                     PyObject* {aka _object*}

reeds_shepp/reeds_shepp.cpp:61:79: note: in definition of macro ‘__Pyx_PyCode_New’
   61 |           PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
      |                                                                               ^~~~
reeds_shepp/reeds_shepp.cpp:61:21: error: too few arguments to function ‘PyCodeObject* PyCode_New(int, int, int, int, int, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, int, PyObject*, PyObject*)’
   61 |           PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
      |           ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:2569:33: note: in expansion of macro ‘__Pyx_PyCode_New’
 2569 |   __pyx_codeobj__3 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__2, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_ghliulab_Dropbox_Delphi_in, __pyx_n_s_f, 28, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 28; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      |                                 ^~~~~~~~~~~~~~~~
/usr/include/python3.12/cpython/code.h:244:1: note: declared here
  244 | PyCode_New(
      | ^~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:61:21: warning: ‘PyCodeObject* PyCode_New(int, int, int, int, int, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, int, PyObject*, PyObject*)’ is deprecated [-Wdeprecated-declarations]
   61 |           PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
      |           ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:2581:33: note: in expansion of macro ‘__Pyx_PyCode_New’
 2581 |   __pyx_codeobj__5 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__4, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_ghliulab_Dropbox_Delphi_in, __pyx_n_s_f, 38, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      |                                 ^~~~~~~~~~~~~~~~
/usr/include/python3.12/cpython/code.h:244:1: note: declared here
  244 | PyCode_New(
      | ^~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:61:21: warning: ‘PyCodeObject* PyCode_New(int, int, int, int, int, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, int, PyObject*, PyObject*)’ is deprecated [-Wdeprecated-declarations]
   61 |           PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
      |           ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:2581:33: note: in expansion of macro ‘__Pyx_PyCode_New’
 2581 |   __pyx_codeobj__5 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__4, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_ghliulab_Dropbox_Delphi_in, __pyx_n_s_f, 38, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      |                                 ^~~~~~~~~~~~~~~~
/usr/include/python3.12/cpython/code.h:244:1: note: declared here
  244 | PyCode_New(
      | ^~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:2581:233: error: invalid conversion from ‘int’ to ‘PyObject*’ {aka ‘_object*’} [-fpermissive]
 2581 | x_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__4, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_ghliulab_Dropbox_Delphi_in, __pyx_n_s_f, 38, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      |                                                                                                                                                                     ^~
      |                                                                                                                                                                     |
      |                                                                                                                                                                     int

reeds_shepp/reeds_shepp.cpp:61:72: note: in definition of macro ‘__Pyx_PyCode_New’
   61 |           PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
      |                                                                        ^~~~~
reeds_shepp/reeds_shepp.cpp:2581:237: error: invalid conversion from ‘PyObject*’ {aka ‘_object*’} to ‘int’ [-fpermissive]
 2581 | pty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__4, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_ghliulab_Dropbox_Delphi_in, __pyx_n_s_f, 38, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      |                                                                                                                                                                     ^~~~~~~~~~~~~~~~~
      |                                                                                                                                                                     |
      |                                                                                                                                                                     PyObject* {aka _object*}

reeds_shepp/reeds_shepp.cpp:61:79: note: in definition of macro ‘__Pyx_PyCode_New’
   61 |           PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
      |                                                                               ^~~~
reeds_shepp/reeds_shepp.cpp:61:21: error: too few arguments to function ‘PyCodeObject* PyCode_New(int, int, int, int, int, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, int, PyObject*, PyObject*)’
   61 |           PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
      |           ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:2581:33: note: in expansion of macro ‘__Pyx_PyCode_New’
 2581 |   __pyx_codeobj__5 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__4, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_ghliulab_Dropbox_Delphi_in, __pyx_n_s_f, 38, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      |                                 ^~~~~~~~~~~~~~~~
/usr/include/python3.12/cpython/code.h:244:1: note: declared here
  244 | PyCode_New(
      | ^~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:61:21: warning: ‘PyCodeObject* PyCode_New(int, int, int, int, int, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, int, PyObject*, PyObject*)’ is deprecated [-Wdeprecated-declarations]
   61 |           PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
      |           ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:2593:33: note: in expansion of macro ‘__Pyx_PyCode_New’
 2593 |   __pyx_codeobj__7 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__6, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_ghliulab_Dropbox_Delphi_in, __pyx_n_s_path_length, 46, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      |                                 ^~~~~~~~~~~~~~~~
/usr/include/python3.12/cpython/code.h:244:1: note: declared here
  244 | PyCode_New(
      | ^~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:61:21: warning: ‘PyCodeObject* PyCode_New(int, int, int, int, int, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, int, PyObject*, PyObject*)’ is deprecated [-Wdeprecated-declarations]
   61 |           PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
      |           ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:2593:33: note: in expansion of macro ‘__Pyx_PyCode_New’
 2593 |   __pyx_codeobj__7 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__6, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_ghliulab_Dropbox_Delphi_in, __pyx_n_s_path_length, 46, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      |                                 ^~~~~~~~~~~~~~~~
/usr/include/python3.12/cpython/code.h:244:1: note: declared here
  244 | PyCode_New(
      | ^~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:2593:243: error: invalid conversion from ‘int’ to ‘PyObject*’ {aka ‘_object*’} [-fpermissive]
 2593 | tes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__6, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_ghliulab_Dropbox_Delphi_in, __pyx_n_s_path_length, 46, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      |                                                                                                                                                                     ^~
      |                                                                                                                                                                     |
      |                                                                                                                                                                     int

reeds_shepp/reeds_shepp.cpp:61:72: note: in definition of macro ‘__Pyx_PyCode_New’
   61 |           PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
      |                                                                        ^~~~~
reeds_shepp/reeds_shepp.cpp:2593:247: error: invalid conversion from ‘PyObject*’ {aka ‘_object*’} to ‘int’ [-fpermissive]
 2593 |  __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__6, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_ghliulab_Dropbox_Delphi_in, __pyx_n_s_path_length, 46, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      |                                                                                                                                                                     ^~~~~~~~~~~~~~~~~
      |                                                                                                                                                                     |
      |                                                                                                                                                                     PyObject* {aka _object*}

reeds_shepp/reeds_shepp.cpp:61:79: note: in definition of macro ‘__Pyx_PyCode_New’
   61 |           PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
      |                                                                               ^~~~
reeds_shepp/reeds_shepp.cpp:61:21: error: too few arguments to function ‘PyCodeObject* PyCode_New(int, int, int, int, int, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, int, PyObject*, PyObject*)’
   61 |           PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
      |           ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:2593:33: note: in expansion of macro ‘__Pyx_PyCode_New’
 2593 |   __pyx_codeobj__7 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__6, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_ghliulab_Dropbox_Delphi_in, __pyx_n_s_path_length, 46, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      |                                 ^~~~~~~~~~~~~~~~
/usr/include/python3.12/cpython/code.h:244:1: note: declared here
  244 | PyCode_New(
      | ^~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:61:21: warning: ‘PyCodeObject* PyCode_New(int, int, int, int, int, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, int, PyObject*, PyObject*)’ is deprecated [-Wdeprecated-declarations]
   61 |           PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
      |           ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:2605:33: note: in expansion of macro ‘__Pyx_PyCode_New’
 2605 |   __pyx_codeobj__9 = (PyObject*)__Pyx_PyCode_New(4, 0, 4, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__8, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_ghliulab_Dropbox_Delphi_in, __pyx_n_s_path_sample, 49, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__9)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 49; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      |                                 ^~~~~~~~~~~~~~~~
/usr/include/python3.12/cpython/code.h:244:1: note: declared here
  244 | PyCode_New(
      | ^~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:61:21: warning: ‘PyCodeObject* PyCode_New(int, int, int, int, int, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, int, PyObject*, PyObject*)’ is deprecated [-Wdeprecated-declarations]
   61 |           PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
      |           ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:2605:33: note: in expansion of macro ‘__Pyx_PyCode_New’
 2605 |   __pyx_codeobj__9 = (PyObject*)__Pyx_PyCode_New(4, 0, 4, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__8, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_ghliulab_Dropbox_Delphi_in, __pyx_n_s_path_sample, 49, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__9)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 49; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      |                                 ^~~~~~~~~~~~~~~~
/usr/include/python3.12/cpython/code.h:244:1: note: declared here
  244 | PyCode_New(
      | ^~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:2605:243: error: invalid conversion from ‘int’ to ‘PyObject*’ {aka ‘_object*’} [-fpermissive]
 2605 | tes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__8, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_ghliulab_Dropbox_Delphi_in, __pyx_n_s_path_sample, 49, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__9)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 49; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      |                                                                                                                                                                     ^~
      |                                                                                                                                                                     |
      |                                                                                                                                                                     int

reeds_shepp/reeds_shepp.cpp:61:72: note: in definition of macro ‘__Pyx_PyCode_New’
   61 |           PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
      |                                                                        ^~~~~
reeds_shepp/reeds_shepp.cpp:2605:247: error: invalid conversion from ‘PyObject*’ {aka ‘_object*’} to ‘int’ [-fpermissive]
 2605 |  __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__8, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_ghliulab_Dropbox_Delphi_in, __pyx_n_s_path_sample, 49, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__9)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 49; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      |                                                                                                                                                                     ^~~~~~~~~~~~~~~~~
      |                                                                                                                                                                     |
      |                                                                                                                                                                     PyObject* {aka _object*}

reeds_shepp/reeds_shepp.cpp:61:79: note: in definition of macro ‘__Pyx_PyCode_New’
   61 |           PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
      |                                                                               ^~~~
reeds_shepp/reeds_shepp.cpp:61:21: error: too few arguments to function ‘PyCodeObject* PyCode_New(int, int, int, int, int, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, int, PyObject*, PyObject*)’
   61 |           PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
      |           ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:2605:33: note: in expansion of macro ‘__Pyx_PyCode_New’
 2605 |   __pyx_codeobj__9 = (PyObject*)__Pyx_PyCode_New(4, 0, 4, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__8, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_ghliulab_Dropbox_Delphi_in, __pyx_n_s_path_sample, 49, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__9)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 49; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      |                                 ^~~~~~~~~~~~~~~~
/usr/include/python3.12/cpython/code.h:244:1: note: declared here
  244 | PyCode_New(
      | ^~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:61:21: warning: ‘PyCodeObject* PyCode_New(int, int, int, int, int, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, int, PyObject*, PyObject*)’ is deprecated [-Wdeprecated-declarations]
   61 |           PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
      |           ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:2616:34: note: in expansion of macro ‘__Pyx_PyCode_New’
 2616 |   __pyx_codeobj__11 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__10, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_ghliulab_Dropbox_Delphi_in, __pyx_n_s_path_type, 52, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__11)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 52; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      |                                  ^~~~~~~~~~~~~~~~
/usr/include/python3.12/cpython/code.h:244:1: note: declared here
  244 | PyCode_New(
      | ^~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:61:21: warning: ‘PyCodeObject* PyCode_New(int, int, int, int, int, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, int, PyObject*, PyObject*)’ is deprecated [-Wdeprecated-declarations]
   61 |           PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
      |           ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:2616:34: note: in expansion of macro ‘__Pyx_PyCode_New’
 2616 |   __pyx_codeobj__11 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__10, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_ghliulab_Dropbox_Delphi_in, __pyx_n_s_path_type, 52, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__11)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 52; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      |                                  ^~~~~~~~~~~~~~~~
/usr/include/python3.12/cpython/code.h:244:1: note: declared here
  244 | PyCode_New(
      | ^~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:2616:243: error: invalid conversion from ‘int’ to ‘PyObject*’ {aka ‘_object*’} [-fpermissive]
 2616 | ytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__10, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_ghliulab_Dropbox_Delphi_in, __pyx_n_s_path_type, 52, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__11)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 52; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      |                                                                                                                                                                     ^~
      |                                                                                                                                                                     |
      |                                                                                                                                                                     int

reeds_shepp/reeds_shepp.cpp:61:72: note: in definition of macro ‘__Pyx_PyCode_New’
   61 |           PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
      |                                                                        ^~~~~
reeds_shepp/reeds_shepp.cpp:2616:247: error: invalid conversion from ‘PyObject*’ {aka ‘_object*’} to ‘int’ [-fpermissive]
 2616 | , __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__10, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_ghliulab_Dropbox_Delphi_in, __pyx_n_s_path_type, 52, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__11)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 52; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      |                                                                                                                                                                     ^~~~~~~~~~~~~~~~~
      |                                                                                                                                                                     |
      |                                                                                                                                                                     PyObject* {aka _object*}

reeds_shepp/reeds_shepp.cpp:61:79: note: in definition of macro ‘__Pyx_PyCode_New’
   61 |           PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
      |                                                                               ^~~~
reeds_shepp/reeds_shepp.cpp:61:21: error: too few arguments to function ‘PyCodeObject* PyCode_New(int, int, int, int, int, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, int, PyObject*, PyObject*)’
   61 |           PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
      |           ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:2616:34: note: in expansion of macro ‘__Pyx_PyCode_New’
 2616 |   __pyx_codeobj__11 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__10, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_ghliulab_Dropbox_Delphi_in, __pyx_n_s_path_type, 52, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__11)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 52; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      |                                  ^~~~~~~~~~~~~~~~
/usr/include/python3.12/cpython/code.h:244:1: note: declared here
  244 | PyCode_New(
      | ^~~~~~~~~~
reeds_shepp/reeds_shepp.cpp: In function ‘PyObject* PyInit_reeds_shepp()’:
reeds_shepp/reeds_shepp.cpp:2722:45: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
 2722 |   __pyx_type_11reeds_shepp_PyReedsSheppPath.tp_print = 0;
      |                                             ^~~~~~~~
reeds_shepp/reeds_shepp.cpp:2726:55: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
 2726 |   __pyx_type_11reeds_shepp___pyx_scope_struct__sample.tp_print = 0;
      |                                                       ^~~~~~~~
reeds_shepp/reeds_shepp.cpp:2729:54: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
 2729 |   __pyx_type_11reeds_shepp___pyx_scope_struct_1_type.tp_print = 0;
      |                                                      ^~~~~~~~
reeds_shepp/reeds_shepp.cpp: In function ‘int __Pyx_ParseOptionalKeywords(PyObject*, PyObject***, PyObject*, PyObject**, Py_ssize_t, const char*)’:
reeds_shepp/reeds_shepp.cpp:2943:22: error: ‘PyUnicode_GET_SIZE’ was not declared in this scope; did you mean ‘PyDict_GET_SIZE’?
 2943 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
      |                      ^~~~~~~~~~~~~~~~~~
      |                      PyDict_GET_SIZE
reeds_shepp/reeds_shepp.cpp:2959:26: error: ‘PyUnicode_GET_SIZE’ was not declared in this scope; did you mean ‘PyDict_GET_SIZE’?
 2959 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
      |                          ^~~~~~~~~~~~~~~~~~
      |                          PyDict_GET_SIZE
reeds_shepp/reeds_shepp.cpp: In function ‘PyObject* __Pyx_CyFunction_Call(PyObject*, PyObject*, PyObject*)’:
reeds_shepp/reeds_shepp.cpp:3506:32: warning: ‘PyObject* PyCFunction_Call(PyObject*, PyObject*, PyObject*)’ is deprecated [-Wdeprecated-declarations]
 3506 |         return PyCFunction_Call(func, arg, kw);
      |                ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In file included from /usr/include/python3.12/Python.h:68:
/usr/include/python3.12/methodobject.h:52:43: note: declared here
   52 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyCFunction_Call(PyObject *, PyObject *, PyObject *);
      |                                           ^~~~~~~~~~~~~~~~
reeds_shepp/reeds_shepp.cpp: In function ‘int __pyx_CyFunction_init()’:
reeds_shepp/reeds_shepp.cpp:3571:41: warning: ‘PyObject* PyCFunction_Call(PyObject*, PyObject*, PyObject*)’ is deprecated [-Wdeprecated-declarations]
 3571 |     __pyx_CyFunctionType_type.tp_call = PyCFunction_Call;
      |                                         ^~~~~~~~~~~~~~~~
/usr/include/python3.12/methodobject.h:52:43: note: declared here
   52 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyCFunction_Call(PyObject *, PyObject *, PyObject *);
      |                                           ^~~~~~~~~~~~~~~~
reeds_shepp/reeds_shepp.cpp: In function ‘void __Pyx_ErrRestore(PyObject*, PyObject*, PyObject*)’:
reeds_shepp/reeds_shepp.cpp:3695:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_type’
 3695 |     tmp_type = tstate->curexc_type;
      |                        ^~~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:3696:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_value’
 3696 |     tmp_value = tstate->curexc_value;
      |                         ^~~~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:3697:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_traceback’
 3697 |     tmp_tb = tstate->curexc_traceback;
      |                      ^~~~~~~~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:3698:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_type’
 3698 |     tstate->curexc_type = type;
      |             ^~~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:3699:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_value’
 3699 |     tstate->curexc_value = value;
      |             ^~~~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:3700:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_traceback’
 3700 |     tstate->curexc_traceback = tb;
      |             ^~~~~~~~~~~~~~~~
reeds_shepp/reeds_shepp.cpp: In function ‘void __Pyx_ErrFetch(PyObject**, PyObject**, PyObject**)’:
reeds_shepp/reeds_shepp.cpp:3711:21: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_type’
 3711 |     *type = tstate->curexc_type;
      |                     ^~~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:3712:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_value’
 3712 |     *value = tstate->curexc_value;
      |                      ^~~~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:3713:19: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_traceback’
 3713 |     *tb = tstate->curexc_traceback;
      |                   ^~~~~~~~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:3714:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_type’
 3714 |     tstate->curexc_type = 0;
      |             ^~~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:3715:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_value’
 3715 |     tstate->curexc_value = 0;
      |             ^~~~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:3716:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_traceback’
 3716 |     tstate->curexc_traceback = 0;
      |             ^~~~~~~~~~~~~~~~
reeds_shepp/reeds_shepp.cpp: In function ‘PyCodeObject* __Pyx_CreateCodeObjectForTraceback(const char*, int, int, const char*)’:
reeds_shepp/reeds_shepp.cpp:61:21: warning: ‘PyCodeObject* PyCode_New(int, int, int, int, int, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, int, PyObject*, PyObject*)’ is deprecated [-Wdeprecated-declarations]
   61 |           PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
      |           ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:3867:15: note: in expansion of macro ‘__Pyx_PyCode_New’
 3867 |     py_code = __Pyx_PyCode_New(
      |               ^~~~~~~~~~~~~~~~
/usr/include/python3.12/cpython/code.h:244:1: note: declared here
  244 | PyCode_New(
      | ^~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:61:21: warning: ‘PyCodeObject* PyCode_New(int, int, int, int, int, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, int, PyObject*, PyObject*)’ is deprecated [-Wdeprecated-declarations]
   61 |           PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
      |           ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:3867:15: note: in expansion of macro ‘__Pyx_PyCode_New’
 3867 |     py_code = __Pyx_PyCode_New(
      |               ^~~~~~~~~~~~~~~~
/usr/include/python3.12/cpython/code.h:244:1: note: declared here
  244 | PyCode_New(
      | ^~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:3881:9: error: invalid conversion from ‘int’ to ‘PyObject*’ {aka ‘_object*’} [-fpermissive]
 3881 |         py_line,
      |         ^~~~~~~
      |         |
      |         int
reeds_shepp/reeds_shepp.cpp:61:72: note: in definition of macro ‘__Pyx_PyCode_New’
   61 |           PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
      |                                                                        ^~~~~
reeds_shepp/reeds_shepp.cpp:3882:9: error: invalid conversion from ‘PyObject*’ {aka ‘_object*’} to ‘int’ [-fpermissive]
 3882 |         __pyx_empty_bytes  /*PyObject *lnotab*/
      |         ^~~~~~~~~~~~~~~~~
      |         |
      |         PyObject* {aka _object*}
reeds_shepp/reeds_shepp.cpp:61:79: note: in definition of macro ‘__Pyx_PyCode_New’
   61 |           PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
      |                                                                               ^~~~
reeds_shepp/reeds_shepp.cpp:61:21: error: too few arguments to function ‘PyCodeObject* PyCode_New(int, int, int, int, int, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, int, PyObject*, PyObject*)’
   61 |           PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
      |           ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
reeds_shepp/reeds_shepp.cpp:3867:15: note: in expansion of macro ‘__Pyx_PyCode_New’
 3867 |     py_code = __Pyx_PyCode_New(
      |               ^~~~~~~~~~~~~~~~
/usr/include/python3.12/cpython/code.h:244:1: note: declared here
  244 | PyCode_New(
      | ^~~~~~~~~~
reeds_shepp/reeds_shepp.cpp: In function ‘void __Pyx_AddTraceback(const char*, int, int, const char*)’:
reeds_shepp/reeds_shepp.cpp:3910:13: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’}
 3910 |     py_frame->f_lineno = py_line;
      |             ^~
In file included from /usr/include/python3.12/Python.h:42:
/usr/include/python3.12/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’}
   22 | typedef struct _frame PyFrameObject;
      |                ^~~~~~
reeds_shepp/reeds_shepp.cpp: In function ‘int __Pyx_PyInt_As_int(PyObject*)’:
reeds_shepp/reeds_shepp.cpp:3961:55: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’
 3961 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
      |                                                       ^~~~~~~~
reeds_shepp/reeds_shepp.cpp:4014:55: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’
 4014 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
      |                                                       ^~~~~~~~
reeds_shepp/reeds_shepp.cpp: In function ‘long int __Pyx_PyInt_As_long(PyObject*)’:
reeds_shepp/reeds_shepp.cpp:4197:55: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’
 4197 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
      |                                                       ^~~~~~~~
reeds_shepp/reeds_shepp.cpp:4250:55: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’
 4250 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
      |                                                       ^~~~~~~~
reeds_shepp/reeds_shepp.cpp: In function ‘Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject*)’:
reeds_shepp/reeds_shepp.cpp:4535:47: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’
 4535 |     const digit* digits = ((PyLongObject*)b)->ob_digit;
      |                                               ^~~~~~~~
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1

Would you mind debugging it for me, please? I really need it within two hours as I have to work out a simulation for drone swarms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant