在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