ozmartian / vidcutter

A modern yet simple multi-platform video cutter and joiner.
GNU General Public License v3.0
1.77k stars 137 forks source link

With Python 3.11 build fail #383

Closed Pro-pra closed 1 year ago

Pro-pra commented 1 year ago

Python 3.11 build fail, PyFrameObject issue needed:

vidcutter/libs/pympv/mpv.c: In function ‘__Pyx_AddTraceback’:
vidcutter/libs/pympv/mpv.c:457:62: error: invalid use of incomplete typedef ‘PyFrameObject’ {aka ‘struct _frame’}
  457 |   #define __Pyx_PyFrame_SetLineNumber(frame, lineno)  (frame)->f_lineno = (lineno)
      |                                                              ^~
vidcutter/libs/pympv/mpv.c:30153:5: note: in expansion of macro ‘__Pyx_PyFrame_SetLineNumber’
30153 |     __Pyx_PyFrame_SetLineNumber(py_frame, py_line);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
ozmartian commented 1 year ago

Try the following:

Let me know if that helps.

Pro-pra commented 1 year ago

Thank you, this help me!