When I add OpenCV to the project, it happens "Undefined symbols for architecture armv7".
It won't compile even when I remove all the OpenCV Code.
OpenGL can work well before adding Opencv.
I have read THIS QUESTION
but it didn't work for me. Any one knows this?
Undefined symbols for architecture armv7:
"opengl_texture_destroy(ARDroneOpenGLTexture*)", referenced from:
-[OpenGLSprite dealloc] in OpenGLSprite.o
"opengl_texture_draw(ARDroneOpenGLTexture*, unsigned int)", referenced from:
-[OpenGLSprite drawSelf] in OpenGLSprite.o
"opengl_texture_init(ARDroneOpenGLTexture*)", referenced from:
-[OpenGLSprite initWithFrame:withScaling:withProgram:withDrone:withDelegate:] in OpenGLSprite.o
"opengl_texture_scale_compute(ARDroneOpenGLTexture*, ARDroneSize, ARDroneScaling)", referenced from:
-[OpenGLSprite initWithFrame:withScaling:withProgram:withDrone:withDelegate:] in OpenGLSprite.o
-[OpenGLSprite checkNewResolution] in OpenGLSprite.o
-[OpenGLSprite setScaling:] in OpenGLSprite.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)