gpt4 book ai didi

c - 关于如何将 Quicktime.framework 与 libvidcap 链接

转载 作者:行者123 更新时间:2023-11-30 18:05:20 25 4
gpt4 key购买 nike

我正在尝试在 Mac 中使用 libvidcap 捕获视频我在安装 libvidcap 时遇到以下错误:

quicktime/sg_manager.c:73: error: 'struct sg_source' has no member named 'channel'
quicktime/sg_manager.c:74: error: 'sgDeviceListIncludeInputs' undeclared (first use in this function)
quicktime/sg_manager.c:75: error: 'device_list' undeclared (first use in this function)
quicktime/sg_manager.c:82: error: 'dlr' undeclared (first use in this function)
quicktime/sg_manager.c:103: error: 'SGDeviceInputListPtr' undeclared (first use in this function)
quicktime/sg_manager.c:103: error: expected ';' before 'ilr'
quicktime/sg_manager.c:109: error: 'ilr' undeclared (first use in this function)
quicktime/sg_manager.c:128: warning: implicit declaration of function 'SGDisposeDeviceList'
quicktime/sg_manager.c:128: error: 'struct sg_source' has no member named 'grabber'

我在源代码中添加了 QuickTime/QuickTimeComponents.h header ,但这并没有解决问题。我还需要做什么?

最佳答案

./configure CFLAGS="-arch i386"LDFLAGS="-arch i386"

关于c - 关于如何将 Quicktime.framework 与 libvidcap 链接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6580336/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com