1:打开CmakeLists.txt
找到这个函数add_executable(ZegoExpressExample ${SRC_LIST})
2: 在其后面添加链接库的函数
target_link_libraries(ZegoExpressExample asound2 v4l)
这个函数必须要在第一步那个函数 add_executable() 之后
具体函数用法参考cmake手册
1:打开CmakeLists.txt
找到这个函数add_executable(ZegoExpressExample ${SRC_LIST})
2: 在其后面添加链接库的函数
target_link_libraries(ZegoExpressExample asound2 v4l)
这个函数必须要在第一步那个函数 add_executable() 之后
具体函数用法参考cmake手册