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

标签 c macos quicktime

我正在尝试在 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/

相关文章:

php - 从 quicktime(电影)文件中获取缩略图

c - 在客户端使用 select(..)

cocoa - 核心数据迁移错误消息 "' 模型不包含配置 'XYZ' .'"

macos - 无法本地化从 Homebrew 软件安装的android-ndk

python - 在 OS X 上使用 pypyodbc 连接到 MSSQL Server

audio - FLV 支持哪些音频类型?

c++ - QTMovie/QTMovieView 与自定义 C++ 框架之间的冲突

c - ANSI C 中的接口(interface)/实现

c++ - 使用多个处理器加速程序

c - Double free error Stack pop 实现