Linux+CLion+树莓派远程编译时,Cmake编译出现undefined reference to 'pthread_create'的解决办法时间:2023-03-08 23:45:25 在CLion中开发讯飞的linux语音库时编译出现以下问题: undefined reference to 'pthread_create' CLion的cmake配置:修改CMakeLists.txt TARGET_LINK_LIBRARIES(your_executable pthread) 该行代码等价于GCC编译命令中的-pthread 参考:https://www.cnblogs.com/jiu0821/p/5855827.html