OS X PPC compile troubles.

Ricardo Jota <[email protected]> Wed, 20 Feb 2008 17:17:02 +0000
Newsgroups gmane.comp.graphics.chromium.devel
Message-ID <[email protected]>
Hi,

I'm trying to compile chromium on OSX 10.5 (PPC) and even though the
F.A.Q says that there are some issues with OSX I decided to download
the CVS version and give it a go.

- First and foremost, there seems to be something weird on the .mk
files because chromium only start to compile on /cr. (~/cr does not
even works). My guess is because of the OpenGL.Framekowk links
Darwin.mk creates. This is not a big issue, he does start to compile
on /cr.

- Next the CVS version is configured with warn_error and, on Darwin
10.5, AGL seems to be deprecated: == warning: 'AGLDevice' is
deprecated ==. For now I just removed the -warn_error flag.

- However, when he starts the action == Building libcrfaker.dylib for
Darwin (DEBUG) (THREADSAFE) == the following error occurs:

cgl.c:161: error: conflicting types for 'CGLChoosePixelFormat'
/System/Library/Frameworks/OpenGL.framework/Headers/OpenGL.h:28:
error: previous declaration of 'CGLChoosePixelFormat' was here
cgl.c:287: error: conflicting types for 'CGLDescribePixelFormat'

The same error is given when compiling the following: CGLCopyContext,
CGLQueryRendererInfo, ... , CGLGetVersion, etc.

Has anyone successfully compiled chromium on OSX. If so, what am I
doing wrong?

Cheers,
Ricardo Jota

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/