linux下conda环境安装pynput(或evdev)报错

linux下conda环境安装pynput(或evdev)报错

错误

(ros) ros@ros-virtual-machine:~$ pip install evdev
Collecting evdev
  Using cached evdev-1.7.1.tar.gz (30 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: evdev
  Building wheel for evdev (pyproject.toml) ... error
  error: subprocess-exited-with-error
  
  × Building wheel for evdev (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [1153 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build/lib.linux-x86_64-cpython-310/evdev
      copying evdev/eventio_async.py -> build/lib.linux-x86_64-cpython-310/evdev
      copying evdev/eventio.py -> build/lib.linux-x86_64-cpython-310/evdev
      copying evdev/evtest.py -> build/lib.linux-x86_64-cpython-310/evdev
      copying evdev/ecodes.py -> build/lib.linux-x86_64-cpython-310/evdev
      copying evdev/genecodes.py -> build/lib.linux-x86_64-cpython-310/evdev
      copying evdev/device.py -> build/lib.linux-x86_64-cpython-310/evdev
      copying evdev/ff.py -> build/lib.linux-x86_64-cpython-310/evdev
      copying evdev/__init__.py -> build/lib.linux-x86_64-cpython-310/evdev
      copying evdev/events.py -> build/lib.linux-x86_64-cpython-310/evdev
      copying evdev/uinput.py -> build/lib.linux-x86_64-cpython-310/evdev
      copying evdev/util.py -> build/lib.linux-x86_64-cpython-310/evdev
      running egg_info
      writing evdev.egg-info/PKG-INFO
      writing dependency_links to evdev.egg-info/dependency_links.txt
      writing top-level names to evdev.egg-info/top_level.txt
      reading manifest file 'evdev.egg-info/SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      warning: no previously-included files found matching 'evdev/ecodes.c'
      adding license file 'LICENSE'
      writing manifest file 'evdev.egg-info/SOURCES.txt'
      copying evdev/input.c -> build/lib.linux-x86_64-cpython-310/evdev
      copying evdev/uinput.c -> build/lib.linux-x86_64-cpython-310/evdev
      running build_ext
      running build_ecodes
      writing /tmp/pip-install-2inwoe0i/evdev_3f56fd57c7fa435286d90ed7a1ff2685/evdev/ecodes.c (using /usr/include/linux/input.h /usr/include/linux/input-event-codes.h /usr/include/linux/uinput.h)
      building 'evdev._input' extension
      creating build/temp.linux-x86_64-cpython-310/evdev
      gcc -pthread -B /home/ros/anaconda3/envs/ros/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/ros/anaconda3/envs/ros/include -fPIC -O2 -isystem /home/ros/anaconda3/envs/ros/include -fPIC -I/home/ros/anaconda3/envs/ros/include/python3.10 -c evdev/input.c -o build/temp.linux-x86_64-cpython-310/evdev/input.o -std=c99 -Wno-error=declaration-after-statement
      gcc -pthread -B /home/ros/anaconda3/envs/ros/compiler_compat -shared -Wl,--allow-shlib-undefined -Wl,-rpath,/home/ros/anaconda3/envs/ros/lib -Wl,-rpath-link,/home/ros/anaconda3/envs/ros/lib -L/home/ros/anaconda3/envs/ros/lib -Wl,--allow-shlib-undefined -Wl,-rpath,/home/ros/anaconda3/envs/ros/lib -Wl,-rpath-link,/home/ros/anaconda3/envs/ros/lib -L/home/ros/anaconda3/envs/ros/lib build/temp.linux-x86_64-cpython-310/evdev/input.o -o build/lib.linux-x86_64-cpython-310/evdev/_input.cpython-310-x86_64-linux-gnu.so
      building 'evdev._uinput' extension
      gcc -pthread -B /home/ros/anaconda3/envs/ros/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/ros/anaconda3/envs/ros/include -fPIC -O2 -isystem /home/ros/anaconda3/envs/ros/include -fPIC -I/home/ros/anaconda3/envs/ros/include/python3.10 -c evdev/uinput.c -o build/temp.linux-x86_64-cpython-310/evdev/uinput.o -std=c99 -Wno-error=declaration-after-statement
      evdev/uinput.c: In function 'uinput_get_sysname':
      evdev/uinput.c:116:5: warning: label 'on_err' defined but not used [-Wunused-label]
        116 |     on_err:
            |     ^~~~~~
      evdev/uinput.c:104:10: warning: unused variable 'sysname' [-Wunused-variable]
        104 |     char sysname[64];
            |          ^~~~~~~
      gcc -pthread -B /home/ros/anaconda3/envs/ros/compiler_compat -shared -Wl,--allow-shlib-undefined -Wl,-rpath,/home/ros/anaconda3/envs/ros/lib -Wl,-rpath-link,/home/ros/anaconda3/envs/ros/lib -L/home/ros/anaconda3/envs/ros/lib -Wl,--allow-shlib-undefined -Wl,-rpath,/home/ros/anaconda3/envs/ros/lib -Wl,-rpath-link,/home/ros/anaconda3/envs/ros/lib -L/home/ros/anaconda3/envs/ros/lib build/temp.linux-x86_64-cpython-310/evdev/uinput.o -o build/lib.linux-x86_64-cpython-310/evdev/_uinput.cpython-310-x86_64-linux-gnu.so
      building 'evdev._ecodes' extension
      gcc -pthread -B /home/ros/anaconda3/envs/ros/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/ros/anaconda3/envs/ros/include -fPIC -O2 -isystem /home/ros/anaconda3/envs/ros/include -fPIC -I/home/ros/anaconda3/envs/ros/include/python3.10 -c evdev/ecodes.c -o build/temp.linux-x86_64-cpython-310/evdev/ecodes.o -std=c99 -Wno-error=declaration-after-statement
      In file included from /home/ros/anaconda3/envs/ros/include/python3.10/Python.h:126,
                       from evdev/ecodes.c:2:
      evdev/ecodes.c: In function 'PyInit__ecodes':
      evdev/ecodes.c:61:29: error: 'BUS_SPI' undeclared (first use in this function); did you mean 'BUS_PCI'?
         61 |     PyModule_AddIntMacro(m, BUS_SPI);
            |                             ^~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:61:29: note: each undeclared identifier is reported only once for each function it appears in
         61 |     PyModule_AddIntMacro(m, BUS_SPI);
            |                             ^~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:62:29: error: 'BUS_RMI' undeclared (first use in this function); did you mean 'BUS_PCI'?
         62 |     PyModule_AddIntMacro(m, BUS_RMI);
            |                             ^~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:63:29: error: 'BUS_CEC' undeclared (first use in this function); did you mean 'BUS_GSC'?
         63 |     PyModule_AddIntMacro(m, BUS_CEC);
            |                             ^~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:64:29: error: 'BUS_INTEL_ISHTP' undeclared (first use in this function)
         64 |     PyModule_AddIntMacro(m, BUS_INTEL_ISHTP);
            |                             ^~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:88:29: error: 'FF_MAX_EFFECTS' undeclared (first use in this function)
         88 |     PyModule_AddIntMacro(m, FF_MAX_EFFECTS);
            |                             ^~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:96:29: error: 'INPUT_PROP_POINTING_STICK' undeclared (first use in this function); did you mean 'INPUT_PROP_POINTER'?
         96 |     PyModule_AddIntMacro(m, INPUT_PROP_POINTING_STICK);
            |                             ^~~~~~~~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:117:29: error: 'SYN_DROPPED' undeclared (first use in this function)
        117 |     PyModule_AddIntMacro(m, SYN_DROPPED);
            |                             ^~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:118:29: error: 'SYN_MAX' undeclared (first use in this function); did you mean 'SCNoMAX'?
        118 |     PyModule_AddIntMacro(m, SYN_MAX);
            |                             ^~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:119:29: error: 'SYN_CNT' undeclared (first use in this function); did you mean 'SND_CNT'?
        119 |     PyModule_AddIntMacro(m, SYN_CNT);
            |                             ^~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:274:29: error: 'KEY_ROTATE_DISPLAY' undeclared (first use in this function)
        274 |     PyModule_AddIntMacro(m, KEY_ROTATE_DISPLAY);
            |                             ^~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:321:29: error: 'KEY_ALL_APPLICATIONS' undeclared (first use in this function)
        321 |     PyModule_AddIntMacro(m, KEY_ALL_APPLICATIONS);
            |                             ^~~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:362:29: error: 'KEY_BRIGHTNESS_AUTO' undeclared (first use in this function); did you mean 'KEY_BRIGHTNESS_ZERO'?
        362 |     PyModule_AddIntMacro(m, KEY_BRIGHTNESS_AUTO);
            |                             ^~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:365:29: error: 'KEY_WWAN' undeclared (first use in this function); did you mean 'KEY_WLAN'?
        365 |     PyModule_AddIntMacro(m, KEY_WWAN);
            |                             ^~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:404:29: error: 'BTN_SOUTH' undeclared (first use in this function); did you mean 'BTN_TOUCH'?
        404 |     PyModule_AddIntMacro(m, BTN_SOUTH);
            |                             ^~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:406:29: error: 'BTN_EAST' undeclared (first use in this function); did you mean 'BTN_BASE'?
        406 |     PyModule_AddIntMacro(m, BTN_EAST);
            |                             ^~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:409:29: error: 'BTN_NORTH' undeclared (first use in this function); did you mean 'BTN_TOUCH'?
        409 |     PyModule_AddIntMacro(m, BTN_NORTH);
            |                             ^~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:411:29: error: 'BTN_WEST' undeclared (first use in this function); did you mean 'BTN_LEFT'?
        411 |     PyModule_AddIntMacro(m, BTN_WEST);
            |                             ^~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:433:29: error: 'BTN_STYLUS3' undeclared (first use in this function); did you mean 'BTN_STYLUS'?
        433 |     PyModule_AddIntMacro(m, BTN_STYLUS3);
            |                             ^~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:463:29: error: 'KEY_FULL_SCREEN' undeclared (first use in this function); did you mean 'KEY_SCREEN'?
        463 |     PyModule_AddIntMacro(m, KEY_FULL_SCREEN);
            |                             ^~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:467:29: error: 'KEY_ASPECT_RATIO' undeclared (first use in this function)
        467 |     PyModule_AddIntMacro(m, KEY_ASPECT_RATIO);
            |                             ^~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:525:29: error: 'KEY_BRIGHTNESS_TOGGLE' undeclared (first use in this function); did you mean 'KEY_BRIGHTNESS_CYCLE'?
        525 |     PyModule_AddIntMacro(m, KEY_BRIGHTNESS_TOGGLE);
            |                             ^~~~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:536:29: error: 'KEY_IMAGES' undeclared (first use in this function); did you mean 'KEY_GAMES'?
        536 |     PyModule_AddIntMacro(m, KEY_IMAGES);
            |                             ^~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:537:29: error: 'KEY_NOTIFICATION_CENTER' undeclared (first use in this function)
        537 |     PyModule_AddIntMacro(m, KEY_NOTIFICATION_CENTER);
            |                             ^~~~~~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:538:29: error: 'KEY_PICKUP_PHONE' undeclared (first use in this function); did you mean 'KEY_VIDEOPHONE'?
        538 |     PyModule_AddIntMacro(m, KEY_PICKUP_PHONE);
            |                             ^~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:539:29: error: 'KEY_HANGUP_PHONE' undeclared (first use in this function)
        539 |     PyModule_AddIntMacro(m, KEY_HANGUP_PHONE);
            |                             ^~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:565:29: error: 'KEY_FN_RIGHT_SHIFT' undeclared (first use in this function); did you mean 'KEY_RIGHTSHIFT'?
        565 |     PyModule_AddIntMacro(m, KEY_FN_RIGHT_SHIFT);
            |                             ^~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:588:29: error: 'KEY_NUMERIC_A' undeclared (first use in this function); did you mean 'KEY_NUMERIC_6'?
        588 |     PyModule_AddIntMacro(m, KEY_NUMERIC_A);
            |                             ^~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:589:29: error: 'KEY_NUMERIC_B' undeclared (first use in this function); did you mean 'KEY_NUMERIC_6'?
        589 |     PyModule_AddIntMacro(m, KEY_NUMERIC_B);
            |                             ^~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:590:29: error: 'KEY_NUMERIC_C' undeclared (first use in this function); did you mean 'KEY_NUMERIC_6'?
        590 |     PyModule_AddIntMacro(m, KEY_NUMERIC_C);
            |                             ^~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:591:29: error: 'KEY_NUMERIC_D' undeclared (first use in this function); did you mean 'KEY_NUMERIC_6'?
        591 |     PyModule_AddIntMacro(m, KEY_NUMERIC_D);
            |                             ^~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:592:29: error: 'KEY_CAMERA_FOCUS' undeclared (first use in this function); did you mean 'KEY_CAMERA'?
        592 |     PyModule_AddIntMacro(m, KEY_CAMERA_FOCUS);
            |                             ^~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:597:29: error: 'KEY_CAMERA_ZOOMIN' undeclared (first use in this function)
        597 |     PyModule_AddIntMacro(m, KEY_CAMERA_ZOOMIN);
            |                             ^~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:598:29: error: 'KEY_CAMERA_ZOOMOUT' undeclared (first use in this function)
        598 |     PyModule_AddIntMacro(m, KEY_CAMERA_ZOOMOUT);
            |                             ^~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:599:29: error: 'KEY_CAMERA_UP' undeclared (first use in this function); did you mean 'KEY_CAMERA'?
        599 |     PyModule_AddIntMacro(m, KEY_CAMERA_UP);
            |                             ^~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:600:29: error: 'KEY_CAMERA_DOWN' undeclared (first use in this function); did you mean 'KEY_PAGEDOWN'?
        600 |     PyModule_AddIntMacro(m, KEY_CAMERA_DOWN);
            |                             ^~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:601:29: error: 'KEY_CAMERA_LEFT' undeclared (first use in this function); did you mean 'KEY_CAMERA'?
        601 |     PyModule_AddIntMacro(m, KEY_CAMERA_LEFT);
            |                             ^~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:602:29: error: 'KEY_CAMERA_RIGHT' undeclared (first use in this function); did you mean 'KEY_CAMERA'?
        602 |     PyModule_AddIntMacro(m, KEY_CAMERA_RIGHT);
            |                             ^~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:603:29: error: 'KEY_ATTENDANT_ON' undeclared (first use in this function)
        603 |     PyModule_AddIntMacro(m, KEY_ATTENDANT_ON);
            |                             ^~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:604:29: error: 'KEY_ATTENDANT_OFF' undeclared (first use in this function)
        604 |     PyModule_AddIntMacro(m, KEY_ATTENDANT_OFF);
            |                             ^~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:605:29: error: 'KEY_ATTENDANT_TOGGLE' undeclared (first use in this function)
        605 |     PyModule_AddIntMacro(m, KEY_ATTENDANT_TOGGLE);
            |                             ^~~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:606:29: error: 'KEY_LIGHTS_TOGGLE' undeclared (first use in this function)
        606 |     PyModule_AddIntMacro(m, KEY_LIGHTS_TOGGLE);
            |                             ^~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:607:29: error: 'BTN_DPAD_UP' undeclared (first use in this function); did you mean 'BTN_GEAR_UP'?
        607 |     PyModule_AddIntMacro(m, BTN_DPAD_UP);
            |                             ^~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:608:29: error: 'BTN_DPAD_DOWN' undeclared (first use in this function); did you mean 'BTN_GEAR_DOWN'?
        608 |     PyModule_AddIntMacro(m, BTN_DPAD_DOWN);
            |                             ^~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:609:29: error: 'BTN_DPAD_LEFT' undeclared (first use in this function); did you mean 'BTN_LEFT'?
        609 |     PyModule_AddIntMacro(m, BTN_DPAD_LEFT);
            |                             ^~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:610:29: error: 'BTN_DPAD_RIGHT' undeclared (first use in this function); did you mean 'BTN_RIGHT'?
        610 |     PyModule_AddIntMacro(m, BTN_DPAD_RIGHT);
            |                             ^~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:611:29: error: 'KEY_ALS_TOGGLE' undeclared (first use in this function); did you mean 'KEY_DISPLAYTOGGLE'?
        611 |     PyModule_AddIntMacro(m, KEY_ALS_TOGGLE);
            |                             ^~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:612:29: error: 'KEY_ROTATE_LOCK_TOGGLE' undeclared (first use in this function)
        612 |     PyModule_AddIntMacro(m, KEY_ROTATE_LOCK_TOGGLE);
            |                             ^~~~~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:613:29: error: 'KEY_REFRESH_RATE_TOGGLE' undeclared (first use in this function)
        613 |     PyModule_AddIntMacro(m, KEY_REFRESH_RATE_TOGGLE);
            |                             ^~~~~~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:614:29: error: 'KEY_BUTTONCONFIG' undeclared (first use in this function); did you mean 'KEY_CONFIG'?
        614 |     PyModule_AddIntMacro(m, KEY_BUTTONCONFIG);
            |                             ^~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:615:29: error: 'KEY_TASKMANAGER' undeclared (first use in this function)
        615 |     PyModule_AddIntMacro(m, KEY_TASKMANAGER);
            |                             ^~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:616:29: error: 'KEY_JOURNAL' undeclared (first use in this function); did you mean 'KEY_SOUND'?
        616 |     PyModule_AddIntMacro(m, KEY_JOURNAL);
            |                             ^~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:617:29: error: 'KEY_CONTROLPANEL' undeclared (first use in this function)
        617 |     PyModule_AddIntMacro(m, KEY_CONTROLPANEL);
            |                             ^~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:618:29: error: 'KEY_APPSELECT' undeclared (first use in this function); did you mean 'KEY_SELECT'?
        618 |     PyModule_AddIntMacro(m, KEY_APPSELECT);
            |                             ^~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:619:29: error: 'KEY_SCREENSAVER' undeclared (first use in this function); did you mean 'KEY_SCREEN'?
        619 |     PyModule_AddIntMacro(m, KEY_SCREENSAVER);
            |                             ^~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:620:29: error: 'KEY_VOICECOMMAND' undeclared (first use in this function); did you mean 'KEY_VOICEMAIL'?
        620 |     PyModule_AddIntMacro(m, KEY_VOICECOMMAND);
            |                             ^~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:621:29: error: 'KEY_ASSISTANT' undeclared (first use in this function); did you mean 'KEY_RESTART'?
        621 |     PyModule_AddIntMacro(m, KEY_ASSISTANT);
            |                             ^~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:622:29: error: 'KEY_KBD_LAYOUT_NEXT' undeclared (first use in this function)
        622 |     PyModule_AddIntMacro(m, KEY_KBD_LAYOUT_NEXT);
            |                             ^~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:623:29: error: 'KEY_EMOJI_PICKER' undeclared (first use in this function)
        623 |     PyModule_AddIntMacro(m, KEY_EMOJI_PICKER);
            |                             ^~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:624:29: error: 'KEY_DICTATE' undeclared (first use in this function); did you mean 'KEY_MICMUTE'?
        624 |     PyModule_AddIntMacro(m, KEY_DICTATE);
            |                             ^~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:625:29: error: 'KEY_BRIGHTNESS_MIN' undeclared (first use in this function); did you mean 'KEY_BRIGHTNESSDOWN'?
        625 |     PyModule_AddIntMacro(m, KEY_BRIGHTNESS_MIN);
            |                             ^~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:626:29: error: 'KEY_BRIGHTNESS_MAX' undeclared (first use in this function); did you mean 'KEY_BRIGHTNESSUP'?
        626 |     PyModule_AddIntMacro(m, KEY_BRIGHTNESS_MAX);
            |                             ^~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:627:29: error: 'KEY_KBDINPUTASSIST_PREV' undeclared (first use in this function)
        627 |     PyModule_AddIntMacro(m, KEY_KBDINPUTASSIST_PREV);
            |                             ^~~~~~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:628:29: error: 'KEY_KBDINPUTASSIST_NEXT' undeclared (first use in this function)
        628 |     PyModule_AddIntMacro(m, KEY_KBDINPUTASSIST_NEXT);
            |                             ^~~~~~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:629:29: error: 'KEY_KBDINPUTASSIST_PREVGROUP' undeclared (first use in this function)
        629 |     PyModule_AddIntMacro(m, KEY_KBDINPUTASSIST_PREVGROUP);
            |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:630:29: error: 'KEY_KBDINPUTASSIST_NEXTGROUP' undeclared (first use in this function)
        630 |     PyModule_AddIntMacro(m, KEY_KBDINPUTASSIST_NEXTGROUP);
            |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:631:29: error: 'KEY_KBDINPUTASSIST_ACCEPT' undeclared (first use in this function)
        631 |     PyModule_AddIntMacro(m, KEY_KBDINPUTASSIST_ACCEPT);
            |                             ^~~~~~~~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:632:29: error: 'KEY_KBDINPUTASSIST_CANCEL' undeclared (first use in this function)
        632 |     PyModule_AddIntMacro(m, KEY_KBDINPUTASSIST_CANCEL);
            |                             ^~~~~~~~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:633:29: error: 'KEY_RIGHT_UP' undeclared (first use in this function); did you mean 'KEY_RIGHTALT'?
        633 |     PyModule_AddIntMacro(m, KEY_RIGHT_UP);
            |                             ^~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:634:29: error: 'KEY_RIGHT_DOWN' undeclared (first use in this function); did you mean 'KEY_PAGEDOWN'?
        634 |     PyModule_AddIntMacro(m, KEY_RIGHT_DOWN);
            |                             ^~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:635:29: error: 'KEY_LEFT_UP' undeclared (first use in this function); did you mean 'KEY_LEFT'?
        635 |     PyModule_AddIntMacro(m, KEY_LEFT_UP);
            |                             ^~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:636:29: error: 'KEY_LEFT_DOWN' undeclared (first use in this function); did you mean 'KEY_LEFT'?
        636 |     PyModule_AddIntMacro(m, KEY_LEFT_DOWN);
            |                             ^~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:637:29: error: 'KEY_ROOT_MENU' undeclared (first use in this function); did you mean 'KEY_MENU'?
        637 |     PyModule_AddIntMacro(m, KEY_ROOT_MENU);
            |                             ^~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:638:29: error: 'KEY_MEDIA_TOP_MENU' undeclared (first use in this function); did you mean 'KEY_MEDIA_REPEAT'?
        638 |     PyModule_AddIntMacro(m, KEY_MEDIA_TOP_MENU);
            |                             ^~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:639:29: error: 'KEY_NUMERIC_11' undeclared (first use in this function); did you mean 'KEY_NUMERIC_1'?
        639 |     PyModule_AddIntMacro(m, KEY_NUMERIC_11);
            |                             ^~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:640:29: error: 'KEY_NUMERIC_12' undeclared (first use in this function); did you mean 'KEY_NUMERIC_2'?
        640 |     PyModule_AddIntMacro(m, KEY_NUMERIC_12);
            |                             ^~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:641:29: error: 'KEY_AUDIO_DESC' undeclared (first use in this function); did you mean 'KEY_AUDIO'?
        641 |     PyModule_AddIntMacro(m, KEY_AUDIO_DESC);
            |                             ^~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:642:29: error: 'KEY_3D_MODE' undeclared (first use in this function); did you mean 'KEY_MODE'?
        642 |     PyModule_AddIntMacro(m, KEY_3D_MODE);
            |                             ^~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:643:29: error: 'KEY_NEXT_FAVORITE' undeclared (first use in this function); did you mean 'KEY_FAVORITES'?
        643 |     PyModule_AddIntMacro(m, KEY_NEXT_FAVORITE);
            |                             ^~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:644:29: error: 'KEY_STOP_RECORD' undeclared (first use in this function); did you mean 'KEY_RECORD'?
        644 |     PyModule_AddIntMacro(m, KEY_STOP_RECORD);
            |                             ^~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:645:29: error: 'KEY_PAUSE_RECORD' undeclared (first use in this function); did you mean 'KEY_PAUSECD'?
        645 |     PyModule_AddIntMacro(m, KEY_PAUSE_RECORD);
            |                             ^~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:646:29: error: 'KEY_VOD' undeclared (first use in this function); did you mean 'KEY_DOT'?
        646 |     PyModule_AddIntMacro(m, KEY_VOD);
            |                             ^~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:647:29: error: 'KEY_UNMUTE' undeclared (first use in this function); did you mean 'KEY_MUTE'?
        647 |     PyModule_AddIntMacro(m, KEY_UNMUTE);
            |                             ^~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:648:29: error: 'KEY_FASTREVERSE' undeclared (first use in this function)
        648 |     PyModule_AddIntMacro(m, KEY_FASTREVERSE);
            |                             ^~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:649:29: error: 'KEY_SLOWREVERSE' undeclared (first use in this function)
        649 |     PyModule_AddIntMacro(m, KEY_SLOWREVERSE);
            |                             ^~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:650:29: error: 'KEY_DATA' undeclared (first use in this function); did you mean 'KEY_SAT'?
        650 |     PyModule_AddIntMacro(m, KEY_DATA);
            |                             ^~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:651:29: error: 'KEY_ONSCREEN_KEYBOARD' undeclared (first use in this function)
        651 |     PyModule_AddIntMacro(m, KEY_ONSCREEN_KEYBOARD);
            |                             ^~~~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:652:29: error: 'KEY_PRIVACY_SCREEN_TOGGLE' undeclared (first use in this function)
        652 |     PyModule_AddIntMacro(m, KEY_PRIVACY_SCREEN_TOGGLE);
            |                             ^~~~~~~~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:653:29: error: 'KEY_SELECTIVE_SCREENSHOT' undeclared (first use in this function)
        653 |     PyModule_AddIntMacro(m, KEY_SELECTIVE_SCREENSHOT);
            |                             ^~~~~~~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:654:29: error: 'KEY_MACRO1' undeclared (first use in this function); did you mean 'KEY_MACRO'?
        654 |     PyModule_AddIntMacro(m, KEY_MACRO1);
            |                             ^~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:655:29: error: 'KEY_MACRO2' undeclared (first use in this function); did you mean 'KEY_MACRO'?
        655 |     PyModule_AddIntMacro(m, KEY_MACRO2);
            |                             ^~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:656:29: error: 'KEY_MACRO3' undeclared (first use in this function); did you mean 'KEY_MACRO'?
        656 |     PyModule_AddIntMacro(m, KEY_MACRO3);
            |                             ^~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:657:29: error: 'KEY_MACRO4' undeclared (first use in this function); did you mean 'KEY_MACRO'?
        657 |     PyModule_AddIntMacro(m, KEY_MACRO4);
            |                             ^~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:658:29: error: 'KEY_MACRO5' undeclared (first use in this function); did you mean 'KEY_MACRO'?
        658 |     PyModule_AddIntMacro(m, KEY_MACRO5);
            |                             ^~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:659:29: error: 'KEY_MACRO6' undeclared (first use in this function); did you mean 'KEY_MACRO'?
        659 |     PyModule_AddIntMacro(m, KEY_MACRO6);
            |                             ^~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:660:29: error: 'KEY_MACRO7' undeclared (first use in this function); did you mean 'KEY_MACRO'?
        660 |     PyModule_AddIntMacro(m, KEY_MACRO7);
            |                             ^~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:661:29: error: 'KEY_MACRO8' undeclared (first use in this function); did you mean 'KEY_MACRO'?
        661 |     PyModule_AddIntMacro(m, KEY_MACRO8);
            |                             ^~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:662:29: error: 'KEY_MACRO9' undeclared (first use in this function); did you mean 'KEY_MACRO'?
        662 |     PyModule_AddIntMacro(m, KEY_MACRO9);
            |                             ^~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:663:29: error: 'KEY_MACRO10' undeclared (first use in this function); did you mean 'KEY_MACRO'?
        663 |     PyModule_AddIntMacro(m, KEY_MACRO10);
            |                             ^~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:664:29: error: 'KEY_MACRO11' undeclared (first use in this function); did you mean 'KEY_MACRO'?
        664 |     PyModule_AddIntMacro(m, KEY_MACRO11);
            |                             ^~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:665:29: error: 'KEY_MACRO12' undeclared (first use in this function); did you mean 'KEY_MACRO'?
        665 |     PyModule_AddIntMacro(m, KEY_MACRO12);
            |                             ^~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:666:29: error: 'KEY_MACRO13' undeclared (first use in this function); did you mean 'KEY_MACRO'?
        666 |     PyModule_AddIntMacro(m, KEY_MACRO13);
            |                             ^~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:667:29: error: 'KEY_MACRO14' undeclared (first use in this function); did you mean 'KEY_MACRO'?
        667 |     PyModule_AddIntMacro(m, KEY_MACRO14);
            |                             ^~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:668:29: error: 'KEY_MACRO15' undeclared (first use in this function); did you mean 'KEY_MACRO'?
        668 |     PyModule_AddIntMacro(m, KEY_MACRO15);
            |                             ^~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:669:29: error: 'KEY_MACRO16' undeclared (first use in this function); did you mean 'KEY_MACRO'?
        669 |     PyModule_AddIntMacro(m, KEY_MACRO16);
            |                             ^~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:670:29: error: 'KEY_MACRO17' undeclared (first use in this function); did you mean 'KEY_MACRO'?
        670 |     PyModule_AddIntMacro(m, KEY_MACRO17);
            |                             ^~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:671:29: error: 'KEY_MACRO18' undeclared (first use in this function); did you mean 'KEY_MACRO'?
        671 |     PyModule_AddIntMacro(m, KEY_MACRO18);
            |                             ^~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:672:29: error: 'KEY_MACRO19' undeclared (first use in this function); did you mean 'KEY_MACRO'?
        672 |     PyModule_AddIntMacro(m, KEY_MACRO19);
            |                             ^~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:673:29: error: 'KEY_MACRO20' undeclared (first use in this function); did you mean 'KEY_MACRO'?
        673 |     PyModule_AddIntMacro(m, KEY_MACRO20);
            |                             ^~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:674:29: error: 'KEY_MACRO21' undeclared (first use in this function); did you mean 'KEY_MACRO'?
        674 |     PyModule_AddIntMacro(m, KEY_MACRO21);
            |                             ^~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:675:29: error: 'KEY_MACRO22' undeclared (first use in this function); did you mean 'KEY_MACRO'?
        675 |     PyModule_AddIntMacro(m, KEY_MACRO22);
            |                             ^~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:676:29: error: 'KEY_MACRO23' undeclared (first use in this function); did you mean 'KEY_MACRO'?
        676 |     PyModule_AddIntMacro(m, KEY_MACRO23);
            |                             ^~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:677:29: error: 'KEY_MACRO24' undeclared (first use in this function); did you mean 'KEY_MACRO'?
        677 |     PyModule_AddIntMacro(m, KEY_MACRO24);
            |                             ^~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:678:29: error: 'KEY_MACRO25' undeclared (first use in this function); did you mean 'KEY_MACRO'?
        678 |     PyModule_AddIntMacro(m, KEY_MACRO25);
            |                             ^~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:679:29: error: 'KEY_MACRO26' undeclared (first use in this function); did you mean 'KEY_MACRO'?
        679 |     PyModule_AddIntMacro(m, KEY_MACRO26);
            |                             ^~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:680:29: error: 'KEY_MACRO27' undeclared (first use in this function); did you mean 'KEY_MACRO'?
        680 |     PyModule_AddIntMacro(m, KEY_MACRO27);
            |                             ^~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:681:29: error: 'KEY_MACRO28' undeclared (first use in this function); did you mean 'KEY_MACRO'?
        681 |     PyModule_AddIntMacro(m, KEY_MACRO28);
            |                             ^~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:682:29: error: 'KEY_MACRO29' undeclared (first use in this function); did you mean 'KEY_MACRO'?
        682 |     PyModule_AddIntMacro(m, KEY_MACRO29);
            |                             ^~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:683:29: error: 'KEY_MACRO30' undeclared (first use in this function); did you mean 'KEY_MACRO'?
        683 |     PyModule_AddIntMacro(m, KEY_MACRO30);
            |                             ^~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:684:29: error: 'KEY_MACRO_RECORD_START' undeclared (first use in this function)
        684 |     PyModule_AddIntMacro(m, KEY_MACRO_RECORD_START);
            |                             ^~~~~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:685:29: error: 'KEY_MACRO_RECORD_STOP' undeclared (first use in this function)
        685 |     PyModule_AddIntMacro(m, KEY_MACRO_RECORD_STOP);
            |                             ^~~~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:686:29: error: 'KEY_MACRO_PRESET_CYCLE' undeclared (first use in this function)
        686 |     PyModule_AddIntMacro(m, KEY_MACRO_PRESET_CYCLE);
            |                             ^~~~~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:687:29: error: 'KEY_MACRO_PRESET1' undeclared (first use in this function)
        687 |     PyModule_AddIntMacro(m, KEY_MACRO_PRESET1);
            |                             ^~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:688:29: error: 'KEY_MACRO_PRESET2' undeclared (first use in this function)
        688 |     PyModule_AddIntMacro(m, KEY_MACRO_PRESET2);
            |                             ^~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:689:29: error: 'KEY_MACRO_PRESET3' undeclared (first use in this function)
        689 |     PyModule_AddIntMacro(m, KEY_MACRO_PRESET3);
            |                             ^~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:690:29: error: 'KEY_KBD_LCD_MENU1' undeclared (first use in this function)
        690 |     PyModule_AddIntMacro(m, KEY_KBD_LCD_MENU1);
            |                             ^~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:691:29: error: 'KEY_KBD_LCD_MENU2' undeclared (first use in this function)
        691 |     PyModule_AddIntMacro(m, KEY_KBD_LCD_MENU2);
            |                             ^~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:692:29: error: 'KEY_KBD_LCD_MENU3' undeclared (first use in this function)
        692 |     PyModule_AddIntMacro(m, KEY_KBD_LCD_MENU3);
            |                             ^~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:693:29: error: 'KEY_KBD_LCD_MENU4' undeclared (first use in this function)
        693 |     PyModule_AddIntMacro(m, KEY_KBD_LCD_MENU4);
            |                             ^~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:694:29: error: 'KEY_KBD_LCD_MENU5' undeclared (first use in this function)
        694 |     PyModule_AddIntMacro(m, KEY_KBD_LCD_MENU5);
            |                             ^~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:695:29: error: 'BTN_TRIGGER_HAPPY' undeclared (first use in this function); did you mean 'BTN_TRIGGER'?
        695 |     PyModule_AddIntMacro(m, BTN_TRIGGER_HAPPY);
            |                             ^~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:696:29: error: 'BTN_TRIGGER_HAPPY1' undeclared (first use in this function)
        696 |     PyModule_AddIntMacro(m, BTN_TRIGGER_HAPPY1);
            |                             ^~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:697:29: error: 'BTN_TRIGGER_HAPPY2' undeclared (first use in this function)
        697 |     PyModule_AddIntMacro(m, BTN_TRIGGER_HAPPY2);
            |                             ^~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:698:29: error: 'BTN_TRIGGER_HAPPY3' undeclared (first use in this function)
        698 |     PyModule_AddIntMacro(m, BTN_TRIGGER_HAPPY3);
            |                             ^~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:699:29: error: 'BTN_TRIGGER_HAPPY4' undeclared (first use in this function)
        699 |     PyModule_AddIntMacro(m, BTN_TRIGGER_HAPPY4);
            |                             ^~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:700:29: error: 'BTN_TRIGGER_HAPPY5' undeclared (first use in this function)
        700 |     PyModule_AddIntMacro(m, BTN_TRIGGER_HAPPY5);
            |                             ^~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:701:29: error: 'BTN_TRIGGER_HAPPY6' undeclared (first use in this function)
        701 |     PyModule_AddIntMacro(m, BTN_TRIGGER_HAPPY6);
            |                             ^~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:702:29: error: 'BTN_TRIGGER_HAPPY7' undeclared (first use in this function)
        702 |     PyModule_AddIntMacro(m, BTN_TRIGGER_HAPPY7);
            |                             ^~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:703:29: error: 'BTN_TRIGGER_HAPPY8' undeclared (first use in this function)
        703 |     PyModule_AddIntMacro(m, BTN_TRIGGER_HAPPY8);
            |                             ^~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:704:29: error: 'BTN_TRIGGER_HAPPY9' undeclared (first use in this function)
        704 |     PyModule_AddIntMacro(m, BTN_TRIGGER_HAPPY9);
            |                             ^~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:705:29: error: 'BTN_TRIGGER_HAPPY10' undeclared (first use in this function)
        705 |     PyModule_AddIntMacro(m, BTN_TRIGGER_HAPPY10);
            |                             ^~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:706:29: error: 'BTN_TRIGGER_HAPPY11' undeclared (first use in this function)
        706 |     PyModule_AddIntMacro(m, BTN_TRIGGER_HAPPY11);
            |                             ^~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:707:29: error: 'BTN_TRIGGER_HAPPY12' undeclared (first use in this function)
        707 |     PyModule_AddIntMacro(m, BTN_TRIGGER_HAPPY12);
            |                             ^~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:708:29: error: 'BTN_TRIGGER_HAPPY13' undeclared (first use in this function)
        708 |     PyModule_AddIntMacro(m, BTN_TRIGGER_HAPPY13);
            |                             ^~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:709:29: error: 'BTN_TRIGGER_HAPPY14' undeclared (first use in this function)
        709 |     PyModule_AddIntMacro(m, BTN_TRIGGER_HAPPY14);
            |                             ^~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:710:29: error: 'BTN_TRIGGER_HAPPY15' undeclared (first use in this function)
        710 |     PyModule_AddIntMacro(m, BTN_TRIGGER_HAPPY15);
            |                             ^~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:711:29: error: 'BTN_TRIGGER_HAPPY16' undeclared (first use in this function)
        711 |     PyModule_AddIntMacro(m, BTN_TRIGGER_HAPPY16);
            |                             ^~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:712:29: error: 'BTN_TRIGGER_HAPPY17' undeclared (first use in this function)
        712 |     PyModule_AddIntMacro(m, BTN_TRIGGER_HAPPY17);
            |                             ^~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:713:29: error: 'BTN_TRIGGER_HAPPY18' undeclared (first use in this function)
        713 |     PyModule_AddIntMacro(m, BTN_TRIGGER_HAPPY18);
            |                             ^~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:714:29: error: 'BTN_TRIGGER_HAPPY19' undeclared (first use in this function)
        714 |     PyModule_AddIntMacro(m, BTN_TRIGGER_HAPPY19);
            |                             ^~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:715:29: error: 'BTN_TRIGGER_HAPPY20' undeclared (first use in this function)
        715 |     PyModule_AddIntMacro(m, BTN_TRIGGER_HAPPY20);
            |                             ^~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:716:29: error: 'BTN_TRIGGER_HAPPY21' undeclared (first use in this function)
        716 |     PyModule_AddIntMacro(m, BTN_TRIGGER_HAPPY21);
            |                             ^~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:717:29: error: 'BTN_TRIGGER_HAPPY22' undeclared (first use in this function)
        717 |     PyModule_AddIntMacro(m, BTN_TRIGGER_HAPPY22);
            |                             ^~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:718:29: error: 'BTN_TRIGGER_HAPPY23' undeclared (first use in this function)
        718 |     PyModule_AddIntMacro(m, BTN_TRIGGER_HAPPY23);
            |                             ^~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:719:29: error: 'BTN_TRIGGER_HAPPY24' undeclared (first use in this function)
        719 |     PyModule_AddIntMacro(m, BTN_TRIGGER_HAPPY24);
            |                             ^~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:720:29: error: 'BTN_TRIGGER_HAPPY25' undeclared (first use in this function)
        720 |     PyModule_AddIntMacro(m, BTN_TRIGGER_HAPPY25);
            |                             ^~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:721:29: error: 'BTN_TRIGGER_HAPPY26' undeclared (first use in this function)
        721 |     PyModule_AddIntMacro(m, BTN_TRIGGER_HAPPY26);
            |                             ^~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:722:29: error: 'BTN_TRIGGER_HAPPY27' undeclared (first use in this function)
        722 |     PyModule_AddIntMacro(m, BTN_TRIGGER_HAPPY27);
            |                             ^~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:723:29: error: 'BTN_TRIGGER_HAPPY28' undeclared (first use in this function)
        723 |     PyModule_AddIntMacro(m, BTN_TRIGGER_HAPPY28);
            |                             ^~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:724:29: error: 'BTN_TRIGGER_HAPPY29' undeclared (first use in this function)
        724 |     PyModule_AddIntMacro(m, BTN_TRIGGER_HAPPY29);
            |                             ^~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:725:29: error: 'BTN_TRIGGER_HAPPY30' undeclared (first use in this function)
        725 |     PyModule_AddIntMacro(m, BTN_TRIGGER_HAPPY30);
            |                             ^~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:726:29: error: 'BTN_TRIGGER_HAPPY31' undeclared (first use in this function)
        726 |     PyModule_AddIntMacro(m, BTN_TRIGGER_HAPPY31);
            |                             ^~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:727:29: error: 'BTN_TRIGGER_HAPPY32' undeclared (first use in this function)
        727 |     PyModule_AddIntMacro(m, BTN_TRIGGER_HAPPY32);
            |                             ^~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:728:29: error: 'BTN_TRIGGER_HAPPY33' undeclared (first use in this function)
        728 |     PyModule_AddIntMacro(m, BTN_TRIGGER_HAPPY33);
            |                             ^~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:729:29: error: 'BTN_TRIGGER_HAPPY34' undeclared (first use in this function)
        729 |     PyModule_AddIntMacro(m, BTN_TRIGGER_HAPPY34);
            |                             ^~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:730:29: error: 'BTN_TRIGGER_HAPPY35' undeclared (first use in this function)
        730 |     PyModule_AddIntMacro(m, BTN_TRIGGER_HAPPY35);
            |                             ^~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:731:29: error: 'BTN_TRIGGER_HAPPY36' undeclared (first use in this function)
        731 |     PyModule_AddIntMacro(m, BTN_TRIGGER_HAPPY36);
            |                             ^~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:732:29: error: 'BTN_TRIGGER_HAPPY37' undeclared (first use in this function)
        732 |     PyModule_AddIntMacro(m, BTN_TRIGGER_HAPPY37);
            |                             ^~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:733:29: error: 'BTN_TRIGGER_HAPPY38' undeclared (first use in this function)
        733 |     PyModule_AddIntMacro(m, BTN_TRIGGER_HAPPY38);
            |                             ^~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:734:29: error: 'BTN_TRIGGER_HAPPY39' undeclared (first use in this function)
        734 |     PyModule_AddIntMacro(m, BTN_TRIGGER_HAPPY39);
            |                             ^~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:735:29: error: 'BTN_TRIGGER_HAPPY40' undeclared (first use in this function)
        735 |     PyModule_AddIntMacro(m, BTN_TRIGGER_HAPPY40);
            |                             ^~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:749:29: error: 'REL_RESERVED' undeclared (first use in this function); did you mean 'KEY_RESERVED'?
        749 |     PyModule_AddIntMacro(m, REL_RESERVED);
            |                             ^~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:750:29: error: 'REL_WHEEL_HI_RES' undeclared (first use in this function)
        750 |     PyModule_AddIntMacro(m, REL_WHEEL_HI_RES);
            |                             ^~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:751:29: error: 'REL_HWHEEL_HI_RES' undeclared (first use in this function)
        751 |     PyModule_AddIntMacro(m, REL_HWHEEL_HI_RES);
            |                             ^~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:780:29: error: 'ABS_RESERVED' undeclared (first use in this function); did you mean 'KEY_RESERVED'?
        780 |     PyModule_AddIntMacro(m, ABS_RESERVED);
            |                             ^~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:808:29: error: 'SW_CAMERA_LENS_COVER' undeclared (first use in this function)
        808 |     PyModule_AddIntMacro(m, SW_CAMERA_LENS_COVER);
            |                             ^~~~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:809:29: error: 'SW_KEYPAD_SLIDE' undeclared (first use in this function)
        809 |     PyModule_AddIntMacro(m, SW_KEYPAD_SLIDE);
            |                             ^~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:810:29: error: 'SW_FRONT_PROXIMITY' undeclared (first use in this function)
        810 |     PyModule_AddIntMacro(m, SW_FRONT_PROXIMITY);
            |                             ^~~~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:811:29: error: 'SW_ROTATE_LOCK' undeclared (first use in this function)
        811 |     PyModule_AddIntMacro(m, SW_ROTATE_LOCK);
            |                             ^~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:813:29: error: 'SW_MUTE_DEVICE' undeclared (first use in this function)
        813 |     PyModule_AddIntMacro(m, SW_MUTE_DEVICE);
            |                             ^~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:814:29: error: 'SW_PEN_INSERTED' undeclared (first use in this function)
        814 |     PyModule_AddIntMacro(m, SW_PEN_INSERTED);
            |                             ^~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:815:29: error: 'SW_MACHINE_COVER' undeclared (first use in this function)
        815 |     PyModule_AddIntMacro(m, SW_MACHINE_COVER);
            |                             ^~~~~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:823:29: error: 'MSC_TIMESTAMP' undeclared (first use in this function)
        823 |     PyModule_AddIntMacro(m, MSC_TIMESTAMP);
            |                             ^~~~~~~~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      evdev/ecodes.c:842:29: error: 'REP_CNT' undeclared (first use in this function); did you mean 'REL_CNT'?
        842 |     PyModule_AddIntMacro(m, REP_CNT);
            |                             ^~~~~~~
      /home/ros/anaconda3/envs/ros/include/python3.10/modsupport.h:154:67: note: in definition of macro 'PyModule_AddIntMacro'
        154 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
            |                                                                   ^
      error: command '/home/ros/anaconda3/envs/ros/bin/gcc' failed with exit code 1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for evdev
Failed to build evdev
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (evdev)

原因:使用了环境的编译器
解决方案:使用系统gcc编译器

export CC=/usr/bin/gcc
export CXX=/usr/bin/g++
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值