Configure: error: "udev support requested but libudev not installed appears when configuring during the installation of libusb
1. First search for the above error message on google and found the same problem, but there is no solution (so I will write this down after the solution).
2. There is no ready-made solution, then find the installation method of
libudev by yourself, and finally find the following one.
apt-get install libudev-dev
yum install systemd-devel
g++ -o main main.cpp -ludev