[MPlayer-users] OS X build failure: Undefined symbols for architecture x86_64...

algiz algiz algiz at europe.com
Sun Dec 23 15:51:05 CET 2012


>> > cat snapshot_version
>> 35702-snapshot
>
>This is too old, sorry.
>(I fixed compilation >12h before you sent your mail.)
>

Indeed, it is fixed, thank you.

BTW, in order to compile in my environment (OS X 10.8.2, Xcode 4.4) I always have to additionally include OpenGL/gl.h in libvo/gl_common.h:
49a50
> #include <OpenGL/gl.h>

Without that I get errors like following:

make
cc -MD -MP -D_ISOC99_SOURCE -D_BSD_SOURCE -O2 -march=corei7-avx -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -mdynamic-no-pic -I. -Iffmpeg  -DPIC  -I/usr/local/include/freetype2 -I/usr/local/include -c -o libvo/gl_common.o libvo/gl_common.c
libvo/gl_common.c:178:19: error: use of undeclared identifier 'GL_UNPACK_ALIGNMENT'
  mpglPixelStorei(GL_UNPACK_ALIGNMENT, gl_alignment);
                  ^
libvo/gl_common.c:191:7: error: use of undeclared identifier 'GL_R3_G3_B2'
  MAP(GL_R3_G3_B2), MAP(GL_RGB4), MAP(GL_RGB5), MAP(GL_RGB8),
      ^
libvo/gl_common.c:187:17: note: expanded from macro 'MAP'
#define MAP(a) {a, #a}
                ^
libvo/gl_common.c:191:25: error: use of undeclared identifier 'GL_RGB4'
  MAP(GL_R3_G3_B2), MAP(GL_RGB4), MAP(GL_RGB5), MAP(GL_RGB8),
[...]


   =R.


More information about the MPlayer-users mailing list