0

プロジェクトに OpenCV を追加すると、「アーキテクチャ armv7 の未定義シンボル」が発生します。

すべての OpenCV コードを削除してもコンパイルされません。

OpenGL は、Opencv を追加する前にうまく機能します。

読みTHIS QUESTIONましたが、私には合いませんでした。誰でもこれを知っていますか?

    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)
4

0 に答える 0