Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#90 Can't compile on mac with OSX 10.5

open
5
2008-05-23
2008-05-23
Max Makhinya
No

I've tried on both intel and ppc machines with leopard installed, and I'm getting same errors during compiling (I've tried cvs and 1.9 versions):

Building libcrfaker.dylib for Darwin (RELEASE) (THREADSAFE)
-------------------------------------------------------------------------------
Compiling cgl.c
In file included from cgl.c:10:
/cr/include/cr_spu.h:156: warning: 'AGLDevice' is deprecated
/cr/include/cr_spu.h:167: warning: 'AGLDevice' is deprecated
/cr/include/cr_spu.h:171: warning: 'AGLDrawable' is deprecated
/cr/include/cr_spu.h:179: warning: 'AGLDevice' is deprecated
/cr/include/cr_spu.h:181: warning: 'AGLDrawable' is deprecated
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'
/System/Library/Frameworks/OpenGL.framework/Headers/OpenGL.h:30: error: previous declaration of 'CGLDescribePixelFormat' was here
cgl.c:448: error: conflicting types for 'CGLCopyContext'
/System/Library/Frameworks/OpenGL.framework/Headers/OpenGL.h:53: error: previous declaration of 'CGLCopyContext' was here
cgl.c:457: error: conflicting types for 'CGLQueryRendererInfo'
/System/Library/Frameworks/OpenGL.framework/Headers/OpenGL.h:44: error: previous declaration of 'CGLQueryRendererInfo' was here
cgl.c:472: error: conflicting types for 'CGLDescribeRenderer'
/System/Library/Frameworks/OpenGL.framework/Headers/OpenGL.h:46: error: previous declaration of 'CGLDescribeRenderer' was here
cgl.c:479: error: conflicting types for 'CGLSetOffScreen'
/System/Library/Frameworks/OpenGL.framework/Headers/OpenGL.h:86: error: previous declaration of 'CGLSetOffScreen' was here
cgl.c:487: error: conflicting types for 'CGLGetOffScreen'
/System/Library/Frameworks/OpenGL.framework/Headers/OpenGL.h:87: error: previous declaration of 'CGLGetOffScreen' was here
cgl.c:593: error: conflicting types for 'CGLIsEnabled'
/System/Library/Frameworks/OpenGL.framework/Headers/OpenGL.h:101: error: previous declaration of 'CGLIsEnabled' was here
cgl.c:634: error: conflicting types for 'CGLSetParameter'
/System/Library/Frameworks/OpenGL.framework/Headers/OpenGL.h:102: error: previous declaration of 'CGLSetParameter' was here
cgl.c:680: error: conflicting types for 'CGLGetParameter'
/System/Library/Frameworks/OpenGL.framework/Headers/OpenGL.h:103: error: previous declaration of 'CGLGetParameter' was here
cgl.c:720: error: conflicting types for 'CGLSetVirtualScreen'
/System/Library/Frameworks/OpenGL.framework/Headers/OpenGL.h:108: error: previous declaration of 'CGLSetVirtualScreen' was here
cgl.c:728: error: conflicting types for 'CGLGetVirtualScreen'
/System/Library/Frameworks/OpenGL.framework/Headers/OpenGL.h:109: error: previous declaration of 'CGLGetVirtualScreen' was here
cgl.c:736: error: conflicting types for 'CGLSetOption'
/System/Library/Frameworks/OpenGL.framework/Headers/OpenGL.h:114: error: previous declaration of 'CGLSetOption' was here
cgl.c:746: error: conflicting types for 'CGLGetOption'
/System/Library/Frameworks/OpenGL.framework/Headers/OpenGL.h:115: error: previous declaration of 'CGLGetOption' was here
cgl.c:753: error: conflicting types for 'CGLGetVersion'
/System/Library/Frameworks/OpenGL.framework/Headers/OpenGL.h:127: error: previous declaration of 'CGLGetVersion' was here
make[2]: *** [/cr/built/crfaker/Darwin/cgl.o] Error 1
make[1]: *** [dep] Error 2
make: *** [opengl_stub.subdir] Error 2

Discussion