Resolved this by using glAttribLocation from the Raw package.
using vertexAttribPointer results in error "user error (unknown OpenGL extension entry glVertexAttribIPointer, check for OpenGL 3.1)"the exact code was:vertexAttribPointer (AttribLocation 1) $= (KeepIntegral, (VertexArrayDescriptor 3 Float ((4) *10) (plusPtr nullPtr (0*4))))according toversion ← get (majorMinor glVersion)The version is 2.0The OpenGl Spec states that vertexAttribPointer was added in version 2.0 so I am not certain of the problem any thoughts?