Ubuntu 18.10 intial OF compile error

#1

I’m new to Linux, but not to OF. Having some issues doing the initial compile for ubuntu 18.10.

I have installed the dependencies and codecs from the ubuntu folder. When running the compileOF.sh script I get this error:

make[1]: *** [makefileCommon/compile.core.mk:240: /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworksCompiled/lib/linux64/obj/Debug/libs/openFrameworks/video/ofVideoPlayer.o] Error 1
make: *** [makefileCommon/compile.core.mk:212: Debug] Error 2
there has been a problem compiling Debug OF library
please report this problem in the forums

Any help greatly appreciated! Thanks

#2

This is the full log…

In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:210,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glew.h:16092:28: note: previous declaration as 'typedef void (* PFNGLFRAGMENTLIGHTFVSGIXPROC)(GLenum, GLenum, GLfloat*)'
 typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, GLfloat* params);
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:212,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glext.h:12068:103: error: conflicting declaration 'typedef void (* PFNGLFRAGMENTLIGHTIVSGIXPROC)(GLenum, GLenum, const GLint*)'
 FNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, const GLint *params);
                                                                              ^

In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:210,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glew.h:16094:28: note: previous declaration as 'typedef void (* PFNGLFRAGMENTLIGHTIVSGIXPROC)(GLenum, GLenum, GLint*)'
 typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, GLint* params);
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:212,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glext.h:12070:96: error: conflicting declaration 'typedef void (* PFNGLFRAGMENTLIGHTMODELFVSGIXPROC)(GLenum, const GLfloat*)'
 NTRYP PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, const GLfloat *params);
                                                                              ^

In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:210,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glew.h:16088:28: note: previous declaration as 'typedef void (* PFNGLFRAGMENTLIGHTMODELFVSGIXPROC)(GLenum, GLfloat*)'
 typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, GLfloat* params);
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:212,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glext.h:12072:94: error: conflicting declaration 'typedef void (* PFNGLFRAGMENTLIGHTMODELIVSGIXPROC)(GLenum, const GLint*)'
 IENTRYP PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, const GLint *params);
                                                                              ^

In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:210,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glew.h:16090:28: note: previous declaration as 'typedef void (* PFNGLFRAGMENTLIGHTMODELIVSGIXPROC)(GLenum, GLint*)'
 typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, GLint* params);
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:212,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glext.h:12079:104: error: conflicting declaration 'typedef void (* PFNGLGETFRAGMENTMATERIALFVSGIXPROC)(GLenum, GLenum, GLfloat*)'
 NGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, GLfloat *params);
                                                                              ^

In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:210,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glew.h:16101:28: note: previous declaration as 'typedef void (* PFNGLGETFRAGMENTMATERIALFVSGIXPROC)(GLenum, GLenum, const GLfloat*)'
 typedef void (GLAPIENTRY * PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, const GLfloat* data);
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:212,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glext.h:12080:102: error: conflicting declaration 'typedef void (* PFNGLGETFRAGMENTMATERIALIVSGIXPROC)(GLenum, GLenum, GLint*)'
 PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, GLint *params);
                                                                              ^

In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:210,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glew.h:16102:28: note: previous declaration as 'typedef void (* PFNGLGETFRAGMENTMATERIALIVSGIXPROC)(GLenum, GLenum, const GLint*)'
 typedef void (GLAPIENTRY * PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, const GLint* data);
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:212,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glext.h:12083:74: error: 'void __glewFragmentColorMaterialSGIX(GLenum, GLenum)' redeclared as different kind of symbol
 GLAPI void APIENTRY glFragmentColorMaterialSGIX (GLenum face, GLenum mode);
                                                                          ^
In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:210,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glew.h:19341:52: note: previous declaration 'void (* __glewFragmentColorMaterialSGIX)(GLenum, GLenum)'
 GLEW_FUN_EXPORT PFNGLFRAGMENTCOLORMATERIALSGIXPROC __glewFragmentColorMaterialSGIX;
                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:212,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glext.h:12084:84: error: 'void __glewFragmentLightfSGIX(GLenum, GLenum, GLfloat)' redeclared as different kind of symbol
 void APIENTRY glFragmentLightfSGIX (GLenum light, GLenum pname, GLfloat param);
                                                                              ^

In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:210,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glew.h:19346:45: note: previous declaration 'void (* __glewFragmentLightfSGIX)(GLenum, GLenum, GLfloat)'
 GLEW_FUN_EXPORT PFNGLFRAGMENTLIGHTFSGIXPROC __glewFragmentLightfSGIX;
                                             ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:212,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glext.h:12085:93: error: 'void __glewFragmentLightfvSGIX(GLenum, GLenum, const GLfloat*)' redeclared as different kind of symbol
 NTRY glFragmentLightfvSGIX (GLenum light, GLenum pname, const GLfloat *params);
                                                                              ^

In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:210,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glew.h:19347:46: note: previous declaration 'void (* __glewFragmentLightfvSGIX)(GLenum, GLenum, GLfloat*)'
 GLEW_FUN_EXPORT PFNGLFRAGMENTLIGHTFVSGIXPROC __glewFragmentLightfvSGIX;
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:212,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glext.h:12086:82: error: 'void __glewFragmentLightiSGIX(GLenum, GLenum, GLint)' redeclared as different kind of symbol
 I void APIENTRY glFragmentLightiSGIX (GLenum light, GLenum pname, GLint param);
                                                                              ^

In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:210,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glew.h:19348:45: note: previous declaration 'void (* __glewFragmentLightiSGIX)(GLenum, GLenum, GLint)'
 GLEW_FUN_EXPORT PFNGLFRAGMENTLIGHTISGIXPROC __glewFragmentLightiSGIX;
                                             ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:212,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glext.h:12087:91: error: 'void __glewFragmentLightivSGIX(GLenum, GLenum, const GLint*)' redeclared as different kind of symbol
 IENTRY glFragmentLightivSGIX (GLenum light, GLenum pname, const GLint *params);
                                                                              ^

In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:210,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glew.h:19349:46: note: previous declaration 'void (* __glewFragmentLightivSGIX)(GLenum, GLenum, GLint*)'
 GLEW_FUN_EXPORT PFNGLFRAGMENTLIGHTIVSGIXPROC __glewFragmentLightivSGIX;
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:212,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glext.h:12088:75: error: 'void __glewFragmentLightModelfSGIX(GLenum, GLfloat)' redeclared as different kind of symbol
 GLAPI void APIENTRY glFragmentLightModelfSGIX (GLenum pname, GLfloat param);
                                                                           ^
In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:210,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glew.h:19342:50: note: previous declaration 'void (* __glewFragmentLightModelfSGIX)(GLenum, GLfloat)'
 GLEW_FUN_EXPORT PFNGLFRAGMENTLIGHTMODELFSGIXPROC __glewFragmentLightModelfSGIX;
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:212,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glext.h:12089:84: error: 'void __glewFragmentLightModelfvSGIX(GLenum, const GLfloat*)' redeclared as different kind of symbol
 void APIENTRY glFragmentLightModelfvSGIX (GLenum pname, const GLfloat *params);
                                                                              ^

In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:210,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glew.h:19343:51: note: previous declaration 'void (* __glewFragmentLightModelfvSGIX)(GLenum, GLfloat*)'
 GLEW_FUN_EXPORT PFNGLFRAGMENTLIGHTMODELFVSGIXPROC __glewFragmentLightModelfvSGIX;
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:212,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glext.h:12090:73: error: 'void __glewFragmentLightModeliSGIX(GLenum, GLint)' redeclared as different kind of symbol
 GLAPI void APIENTRY glFragmentLightModeliSGIX (GLenum pname, GLint param);
                                                                         ^
In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:210,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glew.h:19344:50: note: previous declaration 'void (* __glewFragmentLightModeliSGIX)(GLenum, GLint)'
 GLEW_FUN_EXPORT PFNGLFRAGMENTLIGHTMODELISGIXPROC __glewFragmentLightModeliSGIX;
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:212,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glext.h:12091:82: error: 'void __glewFragmentLightModelivSGIX(GLenum, const GLint*)' redeclared as different kind of symbol
 I void APIENTRY glFragmentLightModelivSGIX (GLenum pname, const GLint *params);
                                                                              ^

In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:210,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glew.h:19345:51: note: previous declaration 'void (* __glewFragmentLightModelivSGIX)(GLenum, GLint*)'
 GLEW_FUN_EXPORT PFNGLFRAGMENTLIGHTMODELIVSGIXPROC __glewFragmentLightModelivSGIX;
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:212,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glext.h:12092:86: error: 'void __glewFragmentMaterialfSGIX(GLenum, GLenum, GLfloat)' redeclared as different kind of symbol
 id APIENTRY glFragmentMaterialfSGIX (GLenum face, GLenum pname, GLfloat param);
                                                                              ^

In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:210,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glew.h:19350:48: note: previous declaration 'void (* __glewFragmentMaterialfSGIX)(GLenum, GLenum, GLfloat)'
 GLEW_FUN_EXPORT PFNGLFRAGMENTMATERIALFSGIXPROC __glewFragmentMaterialfSGIX;
                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:212,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glext.h:12093:95: error: 'void __glewFragmentMaterialfvSGIX(GLenum, GLenum, const GLfloat*)' redeclared as different kind of symbol
 RY glFragmentMaterialfvSGIX (GLenum face, GLenum pname, const GLfloat *params);
                                                                              ^

In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:210,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glew.h:19351:49: note: previous declaration 'void (* __glewFragmentMaterialfvSGIX)(GLenum, GLenum, const GLfloat*)'
 GLEW_FUN_EXPORT PFNGLFRAGMENTMATERIALFVSGIXPROC __glewFragmentMaterialfvSGIX;
                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:212,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glext.h:12094:84: error: 'void __glewFragmentMaterialiSGIX(GLenum, GLenum, GLint)' redeclared as different kind of symbol
 void APIENTRY glFragmentMaterialiSGIX (GLenum face, GLenum pname, GLint param);
                                                                              ^

In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:210,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glew.h:19352:48: note: previous declaration 'void (* __glewFragmentMaterialiSGIX)(GLenum, GLenum, GLint)'
 GLEW_FUN_EXPORT PFNGLFRAGMENTMATERIALISGIXPROC __glewFragmentMaterialiSGIX;
                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:212,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glext.h:12095:93: error: 'void __glewFragmentMaterialivSGIX(GLenum, GLenum, const GLint*)' redeclared as different kind of symbol
 NTRY glFragmentMaterialivSGIX (GLenum face, GLenum pname, const GLint *params);
                                                                              ^

In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:210,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glew.h:19353:49: note: previous declaration 'void (* __glewFragmentMaterialivSGIX)(GLenum, GLenum, const GLint*)'
 GLEW_FUN_EXPORT PFNGLFRAGMENTMATERIALIVSGIXPROC __glewFragmentMaterialivSGIX;
                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:212,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glext.h:12096:90: error: 'void __glewGetFragmentLightfvSGIX(GLenum, GLenum, GLfloat*)' redeclared as different kind of symbol
 PIENTRY glGetFragmentLightfvSGIX (GLenum light, GLenum pname, GLfloat *params);
                                                                              ^

In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:210,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glew.h:19354:49: note: previous declaration 'void (* __glewGetFragmentLightfvSGIX)(GLenum, GLenum, GLfloat*)'
 GLEW_FUN_EXPORT PFNGLGETFRAGMENTLIGHTFVSGIXPROC __glewGetFragmentLightfvSGIX;
                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:212,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glext.h:12097:88: error: 'void __glewGetFragmentLightivSGIX(GLenum, GLenum, GLint*)' redeclared as different kind of symbol
  APIENTRY glGetFragmentLightivSGIX (GLenum light, GLenum pname, GLint *params);
                                                                              ^

In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:210,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glew.h:19355:49: note: previous declaration 'void (* __glewGetFragmentLightivSGIX)(GLenum, GLenum, GLint*)'
 GLEW_FUN_EXPORT PFNGLGETFRAGMENTLIGHTIVSGIXPROC __glewGetFragmentLightivSGIX;
                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:212,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glext.h:12098:92: error: 'void __glewGetFragmentMaterialfvSGIX(GLenum, GLenum, GLfloat*)' redeclared as different kind of symbol
 ENTRY glGetFragmentMaterialfvSGIX (GLenum face, GLenum pname, GLfloat *params);
                                                                              ^

In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:210,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glew.h:19356:52: note: previous declaration 'void (* __glewGetFragmentMaterialfvSGIX)(GLenum, GLenum, const GLfloat*)'
 GLEW_FUN_EXPORT PFNGLGETFRAGMENTMATERIALFVSGIXPROC __glewGetFragmentMaterialfvSGIX;
                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:212,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glext.h:12099:90: error: 'void __glewGetFragmentMaterialivSGIX(GLenum, GLenum, GLint*)' redeclared as different kind of symbol
 PIENTRY glGetFragmentMaterialivSGIX (GLenum face, GLenum pname, GLint *params);
                                                                              ^

In file included from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:210,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.h:3,
                 from /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/video/ofVideoPlayer.cpp:1:
/usr/include/GL/glew.h:19357:52: note: previous declaration 'void (* __glewGetFragmentMaterialivSGIX)(GLenum, GLenum, const GLint*)'
 GLEW_FUN_EXPORT PFNGLGETFRAGMENTMATERIALIVSGIXPROC __glewGetFragmentMaterialivSGIX;
                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [makefileCommon/compile.core.mk:240: /home/danny/Documents/of_v0.10.1_linux64gcc6_release/libs/openFrameworksCompiled/lib/linux64/obj/Debug/libs/openFrameworks/video/ofVideoPlayer.o] Error 1
make: *** [makefileCommon/compile.core.mk:212: Debug] Error 2
there has been a problem compiling Debug OF library
please report this problem in the forums

#3

Hi this is solved in the nightly builds, please use that until we do a new release

#4

Thanks for this tip, I’m up and running now.

Thanks!