1. 在Clion中链接讯飞的语音库并传至树莓派上编译时,出现如下错误。

    undefined reference to `dlopen'
    undefined reference to `dlclose'
    undefined reference to `dlerror'
    undefined reference to `dlsym'
    
  2. 在CMakeList.txt中添加以下命令

    target_link_libraries(your_exec ${CMAKE_DL_LIBS} )
    
posted on 2019-09-19 15:02  kingofloong  阅读(1884)  评论(0编辑  收藏  举报