[MacPorts] #20804: conflicting header file with gl.h
MacPorts
noreply at macports.org
Mon Sep 27 00:37:39 PDT 2010
#20804: conflicting header file with gl.h
------------------------------------+---------------------------------------
Reporter: adi_himawan@… | Owner: jmr@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 1.7.1
Resolution: duplicate | Keywords:
Port: enblend glew |
------------------------------------+---------------------------------------
Comment(by natasapjescic@…):
Replying to [comment:1 macsforever2000@…]:
>
Hi all,
I am sorry if this is not good question, but I can't find solution. I've
tried to build some libraries and I got the errors:
/usr/X11/include/GL/gl.h:1850: error: conflicting declaration ‘typedef
void (* PFNGLSECONDARYCOLORPOINTERPROC)(GLint, GLenum, GLsizei, const
GLvoid*)’
/opt/local/include/GL/glew.h:1477: error: ‘PFNGLSECONDARYCOLORPOINTERPROC’
has a previous declaration as ‘typedef void (*
PFNGLSECONDARYCOLORPOINTERPROC)(GLint, GLenum, GLsizei, GLvoid*)’
/usr/X11/include/GL/gl.h:1852: error: conflicting declaration ‘typedef
void (* PFNGLPOINTPARAMETERFVPROC)(GLenum, const GLfloat*)’
/opt/local/include/GL/glew.h:1458: error: ‘PFNGLPOINTPARAMETERFVPROC’ has
a previous declaration as ‘typedef void (*
PFNGLPOINTPARAMETERFVPROC)(GLenum, GLfloat*)’
/usr/X11/include/GL/gl.h:1854: error: conflicting declaration ‘typedef
void (* PFNGLPOINTPARAMETERIVPROC)(GLenum, const GLint*)’
/opt/local/include/GL/glew.h:1460: error: ‘PFNGLPOINTPARAMETERIVPROC’ has
a previous declaration as ‘typedef void (*
PFNGLPOINTPARAMETERIVPROC)(GLenum, GLint*)’
/usr/X11/include/GL/gl.h:1856: error: conflicting declaration ‘typedef
void (* PFNGLMULTIDRAWARRAYSPROC)(GLenum, const GLint*, const GLsizei*,
GLsizei)’
/opt/local/include/GL/glew.h:1455: error: ‘PFNGLMULTIDRAWARRAYSPROC’ has a
previous declaration as ‘typedef void (* PFNGLMULTIDRAWARRAYSPROC)(GLenum,
GLint*, GLsizei*, GLsizei)’
/usr/X11/include/GL/gl.h:1857: error: conflicting declaration ‘typedef
void (* PFNGLMULTIDRAWELEMENTSPROC)(GLenum, const GLsizei*, GLenum, const
GLvoid**, GLsizei)’
/opt/local/include/GL/glew.h:1456: error: ‘PFNGLMULTIDRAWELEMENTSPROC’ has
a previous declaration as ‘typedef void (*
PFNGLMULTIDRAWELEMENTSPROC)(GLenum, GLsizei*, GLenum, const GLvoid**,
GLsizei)’
/usr/X11/include/GL/gl.h:1936: error: conflicting declaration ‘typedef
void (* PFNGLGETVERTEXATTRIBPOINTERVPROC)(GLuint, GLenum, GLvoid**)’
/opt/local/include/GL/glew.h:1766: error:
‘PFNGLGETVERTEXATTRIBPOINTERVPROC’ has a previous declaration as ‘typedef
void (* PFNGLGETVERTEXATTRIBPOINTERVPROC)(GLuint, GLenum, GLvoid*)’
/usr/X11/include/GL/gl.h:1978: error: conflicting declaration ‘typedef
void (* PFNGLGETSHADERSOURCEPROC)(GLuint, GLsizei, GLsizei*, GLchar*)’
/opt/local/include/GL/glew.h:1761: error: ‘PFNGLGETSHADERSOURCEPROC’ has a
previous declaration as ‘typedef void (* PFNGLGETSHADERSOURCEPROC)(GLint,
GLsizei, GLsizei*, GLchar*)’
/Users/natasa/src/EM/superpixels/lib/rays3d/test_rays3d.cpp: In function
‘int test1()’:
/Users/natasa/src/EM/superpixels/lib/rays3d/test_rays3d.cpp:219: warning:
unused variable ‘filename’
make[2]: *** [CMakeFiles/test3dRays.dir/test_rays3d.o] Error 1
make[1]: *** [CMakeFiles/test3dRays.dir/all] Error 2
make: *** [all] Error 2
I saw that someone before had similar problem, but I can't find solution.
:(
Can anybody help me...
Thank you in advance,
Natasa
--
Ticket URL: <https://trac.macports.org/ticket/20804#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list