找不到GStreamer Xcode 10.1 gst/gst.h [英] GStreamer Xcode 10.1 gst/gst.h not found

查看:475
本文介绍了找不到GStreamer Xcode 10.1 gst/gst.h的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

未找到GStreamer gst.h文件,Xcode 10.1中出现错误.有人能找到解决方案的地方吗?

GStreamer gst.h file is not found error is coming in Xcode 10.1. Has anyone been able to find a solution for it???

即使我使用Objective-C作为iOS Project的主要语言,也会出现此错误.

This error even comes if I use Objective-C as primary language for iOS Project.

推荐答案

Xcode似乎更改了路径设置机制. Home dir〜/现在不起作用,确实使用$(HOME).只需更改项目设置(Project-> TARGETS-> Build Settings)

It looks like the Xcode changed the path setting mechanism. Home dir ~/ not working now, use $(HOME) indeed. Just change the project settings (Project ->TARGETS ->Build Settings)

更改两个框架搜索路径& Header Search Paths (标题搜索路径)在$(HOME)前缀〜/之后,现在为:

Change both Framework Search Paths & Header Search Paths prefix ~/ to $(HOME), after that, it now will be:

框架搜索路径:"$(HOME)/Library/Developer/GStreamer/iPhone.sdk"

标题搜索路径:"$(HOME)/Library/Developer/GStreamer/iPhone.sdk/GStreamer.framework/Headers"

现在面对相同的问题,此后一切正常.

Face the same issue just now, after this, all works fine.

这篇关于找不到GStreamer Xcode 10.1 gst/gst.h的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆