kodeco.com Forums

Video Tutorial: Beginner OpenGL ES and GLKit Part 2: Vertex Buffers and Attributes

Learn how to render a triangle to the screen using OpenGL ES vertex buffers and attributes.


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/2470-video-tutorial-beginner-opengl-es-and-glkit-part-2-vertex-buffers-and-attributes

Hello Ray @rwenderlich,

I am a beginner in iOS and OpenGL ES and I like your tutorials- very comprehensive and easy to follow.

However, I have encountered “Build Failed” when tried this tutorial (Beginner OpenGL ES and GLKit Part 2: Vertex Buffers and Attributes).

The errors are as follows:

Undefined symbols for architecture x86_64:
** “OBJC_CLASS$_RWTBaseEffect”, referenced from:**
** objc-class-ref in ViewController.o**
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I am using the following settings:

  • Base SDK: latest iOS 10.2
  • Architectures: Standard architectures (armv7, arm64)
  • Build Active Architectures Only: Yes
  • Valid Architectures: arm64 armv7 armv7s
  • Xcode version: 8.2.1

Could you please advice on this matter?
Hope to hear from you soon.
Thank you very much.