ffmpeg-gl-transition icon indicating copy to clipboard operation
ffmpeg-gl-transition copied to clipboard

Undefined symbols for architecture x86_64

Open divysoni3 opened this issue 6 years ago • 0 comments

I am facing this error while ffmpeg build

Undefined symbols for architecture x86_64:
  "_glfwCreateWindow", referenced from:
      _setup_gl in libavfilter.a(vf_gltransition.o)
  "_glfwDestroyWindow", referenced from:
      _uninit in libavfilter.a(vf_gltransition.o)
  "_glfwInit", referenced from:
      _init in libavfilter.a(vf_gltransition.o)
  "_glfwMakeContextCurrent", referenced from:
      _setup_gl in libavfilter.a(vf_gltransition.o)
      _blend_frame in libavfilter.a(vf_gltransition.o)
  "_glfwWindowHint", referenced from:
      _setup_gl in libavfilter.a(vf_gltransition.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [ffmpeg_g] Error 1

I have added --extra-libs='-lGLEW -lglfw' in .configure file also as suggested in issue #14

after adding this line also I am facing same problem.

Please help

divysoni3 avatar Aug 27 '18 12:08 divysoni3