I am using OpenGL lines like
glPushMatrix();
on my iPhone app and receiving this error:
implicit declaration of function glPushMatrix is invalid in C99.
How do I make Xcode stop whining?
thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The compiler is thinking that the
glPushMatrix()command is a function you created. Have you#import-ed theOpenGLframework. If you have, then it probably isn’t linked.