git clone https://github.com/Tencent/rapidjson.git cd rapidjson 修改CMakeList.txt 将-march=native改成-march=armv8-a+crc 将-Werror改成-Wno-implicit-fallthrough mkdir build && cd build cmake .. make make install