CMakeLists中 先检查编译命令 里有没有 -ldl 有些是因为顺序 导致的 但是我不是这个问题, 在最后加上 target_link_libraries(${EXE_NAME} dl) make 通过 留做记录