[MPlayer-dev-eng] Building on OSX with Xcode 4.5.1's llvm

Alex Sisson alex_sisson at yahoo.co.uk
Sun Jan 27 01:21:11 CET 2013


Still same on 10.8.2  ,   I'll update to 4.5.2 xcode in the near future, see if that makes a difference.




________________________________
 From: Xidorn Quan <quanxunzhen at gmail.com>
To: mplayer-dev-eng at mplayerhq.hu 
Sent: Saturday, 26 January 2013, 9:19
Subject: Re: [MPlayer-dev-eng] Building on OSX with Xcode 4.5.1's llvm
 
On Sat, Jan 26, 2013 at 11:17 AM, Alex Sisson <alex_sisson at yahoo.co.uk> wrote:
> Hi,
>
> I  haven't built from source for a while, first time with llvm.
>
> I found I needed to add the OpenGL/gl.h include to libvo/gl_common.h  to get it to build.  [latest svn]
>
> #ifdef CONFIG_GL_OSX
> #include "osx_common.h"
> #include <OpenGL/OpenGL.h>
> #include <OpenGL/gl.h>  // I ADDED THIS
> #else
> #include <GL/gl.h>
> #endif
>
> Some details about my system:
>
> OSX 10.8.1
>
> XCODE about: Version 4.5.1 (4G1004)
>
> $ gcc --version
> i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
> Copyright (C) 2007 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> I assume configure has picked up standard OpenGL in /System/Library....  (I haven't installed any OpenGL dev stuff)
>
> Not sure if this is something particular about my system. Any more info needed, please holler

I remembered that the same problem appeared for me, but now there
seems to be no error anymore. My system version is OS X 10.8.2.
You may upgrade your system to that version, and try again to
conclude whether it is a bug of OS X in that particular version.

-- 
Xidorn Quan
GnuPG fingerprint: 6F1E DF9A D250 7505 63E2  345E 7570 8D3F 7C9A 1209
_______________________________________________
MPlayer-dev-eng mailing list
MPlayer-dev-eng at mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng


More information about the MPlayer-dev-eng mailing list