Using “pip install -U wxPython” on macOS 12.0.1 starts building but errors. Is this the troublesome parts of the log? Any ideas? Thanks!
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -DNANOSVG_IMPLEMENTATION=1 -DNANOSVGRAST_IMPLEMENTATION=1 -DNANOSVG_ALL_COLOR_KEYWORDS=1 -Iext/nanosvg/src -I/Users/stevehartford/Documents/Minecraft/Amulet-VM/tutorial-env/include -I/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10 -c wx/svg/_nanosvg.c -o build/wxsvg/temp.macosx-10.9-universal2-3.10/wx/svg/_nanosvg.o
wx/svg/_nanosvg.c:5761:72: warning: array subscript is of type 'char' [-Wchar-subscripts]
__pyx_t_2 = PyFloat_FromDouble((__pyx_v_self->_ptr->strokeDashArray[__pyx_v_i])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 364, __pyx_L1_error)
^~~~~~~~~~
wx/svg/_nanosvg.c:20946:19: error: implicit declaration of function '_PyGen_Send' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value);
^
wx/svg/_nanosvg.c:20946:17: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int' [-Wint-conversion]
ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wx/svg/_nanosvg.c:20951:19: error: implicit declaration of function '_PyGen_Send' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value);
^
wx/svg/_nanosvg.c:20951:17: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int' [-Wint-conversion]
ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wx/svg/_nanosvg.c:21035:19: error: implicit declaration of function '_PyGen_Send' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = _PyGen_Send((PyGenObject*)yf, NULL);
^
wx/svg/_nanosvg.c:21035:17: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int' [-Wint-conversion]
ret = _PyGen_Send((PyGenObject*)yf, NULL);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 warnings and 3 errors generated.
error: command '/usr/bin/clang' failed with exit code 1
Command '/Users/stevehartford/Documents/Minecraft/Amulet-VM/tutorial-env/bin/python setup-wxsvg.py build_ext --inplace' failed with exit code 1.
Finished command: build_others (0.257s)
Finished command: build_py (2m15.248s)
Finished command: build (3m54.74s)
Command '"/Users/stevehartford/Documents/Minecraft/Amulet-VM/tutorial-env/bin/python" -u build.py build' failed with exit code 1.