0

我正在制作应用程序并使用 metaio sdk,但是当我使用此链接使用此 sdk 创建新项目时

我收到很多错误,例如架构 armv7 的未定义符号:

 "_deflateReset", referenced from:
  _pno_write_finish_row in metaioSDK(pngwutil.o)
  _pno_write_compressed_data_out in metaioSDK(pngwutil.o)
 "_glGetUniformLocation", referenced from:
  __ZN3m3d5videoKVJwAPrNICbLRWPbkQEhGudKNJzgGyrIMDmdkaJiaJYeaJVgNLXEPKcPKfi in metaioSDK(COpenGLSLESMaterialRenderer.o)
"_glUniform1fv", referenced from:
  __ZN3m3d5videoKVJwAPrNICbLRWPbkQEhGudKNJzgGyrIMDmdkaJiaJYeaJVgNLXEPKcPKfi in metaioSDK(COpenGLSLESMaterialRenderer.o)
"_glUniformMatrix2fv", referenced from:
  __ZN3m3d5videoKVJwAPrNICbLRWPbkQEhGudKNJzgGyrIMDmdkaJiaJYeaJVgNLXEPKcPKfi in metaioSDK(COpenGLSLESMaterialRenderer.o)
   "_glUniformMatrix4fv", referenced from:
  __ZN3m3d5videoKVJwAPrNICbLRWPbkQEhGudKNJzgGyrIMDmdkaJiaJYeaJVgNLXEPKcPKfi in metaioSDK(COpenGLSLESMaterialRenderer.o)
 "_glBindAttribLocation", referenced from:
  __ZN3m3d5videoKVJwAPrNICbLRWPbkQEhGudKNJznCKmZPBLmyHOpEv in metaioSDK(COpenGLSLESMaterialRenderer.o)
  "_glLinkProgram", referenced from:
  __ZN3m3d5videoKVJwAPrNICbLRWPbkQEhGudKNJznCKmZPBLmyHOpEv in metaioSDK(COpenGLSLESMaterialRenderer.o)
  "_glGetProgramiv", referenced from:
  __ZN3m3d5videoKVJwAPrNICbLRWPbkQEhGudKNJznCKmZPBLmyHOpEv in metaioSDK(COpenGLSLESMaterialRenderer.o)
  "_glShaderSource", referenced from:
   __ZN3m3d5videoKVJwAPrNICbLRWPbkQEhGudKNJzPVbSoUAGLmjSuQEjPKc in metaioSDK(COpenGLSLESMaterialRenderer.o)
 "_glGetShaderiv", referenced from:
  __ZN3m3d5videoKVJwAPrNICbLRWPbkQEhGudKNJzPVbSoUAGLmjSuQEjPKc in metaioSDK(COpenGLSLESMaterialRenderer.o)
  "_glAttachShader", referenced from:
  __ZN3m3d5videoKVJwAPrNICbLRWPbkQEhGudKNJzPVbSoUAGLmjSuQEjPKc in metaioSDK(COpenGLSLESMaterialRenderer.o)
  "_glGetShaderInfoLog", referenced from:
4

1 回答 1

1

看来您需要将 OpenGLES.framework 添加到您的项目中。在 Xcode 中,选择您的目标,然后选择 Summary 选项卡。向下滚动到链接框架和库部分。单击该部分底部的 + 符号并选择 OpenGLES.framework。

于 2013-09-26T06:07:33.997 回答