函数’glReadPixels’的隐式声明在ios 8上的C99编译中无效

函数’glReadPixels’的隐式声明在ios 8上的C99编译中无效,第1张

概述当我尝试使用iOS 8编译iOS项目时遇到问题. 错误消息是: Implicit declaration of function 'glReadPixels' is invalid in C99 compiling Conflicting types for 'glReadPixels' Declaration of 'glReadPixels' must be imported from m 当我尝试使用iOS 8编译iOS项目时遇到问题.

错误消息是:

Implicit declaration of function 'glreadPixels' is invalID in C99 compiling Conflicting types for 'glreadPixels' Declaration of 'glreadPixels' must be imported from module 'OpenGLES.ES3.gl' before it is required
解决方法 最近我遇到了同样的问题.

解决此问题的最简单方法是添加@import OpenGLES;在您收到此消息的每个文件中的行.

总结

以上是内存溢出为你收集整理的函数’glReadPixels’的隐式声明在ios 8上的C99编译中无效全部内容,希望文章能够帮你解决函数’glReadPixels’的隐式声明在ios 8上的C99编译中无效所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://www.54852.com/web/1052177.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-25
下一篇2022-05-25

发表评论

登录后才能评论

评论列表(0条)

    保存