a compiled version of OF i had (v0.10.1_linux64gcc6_release) no longer compiling after a recent ubuntu update. i have GCC 6. this is the last few lines of a very long and repetitive stack trace after ./compileOF.sh
In file included from /home/bzion/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:210:0,
from /home/bzion/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/sound/ofOpenALSoundPlayer.h:3,
from /home/bzion/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/sound/ofOpenALSoundPlayer.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/bzion/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:212:0,
from /home/bzion/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/sound/ofOpenALSoundPlayer.h:3,
from /home/bzion/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/sound/ofOpenALSoundPlayer.cpp:1:
/usr/include/GL/glext.h:12099:90: error: 'void __glewGetFragmentMaterialivSGIX(GLenum, GLenum, GLint*)' redeclared as different kind of symbol
GLAPI void APIENTRY glGetFragmentMaterialivSGIX (GLenum face, GLenum pname, GLint *params);
^
In file included from /home/bzion/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:210:0,
from /home/bzion/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/sound/ofOpenALSoundPlayer.h:3,
from /home/bzion/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/sound/ofOpenALSoundPlayer.cpp:1:
/usr/include/GL/glew.h:19357:52: note: previous declaration 'void (* __glewGetFragmentMaterialivSGIX)(GLenum, GLenum, const GLint*)'
GLEW_FUN_EXPORT PFNGLGETFRAGMENTMATERIALIVSGIXPROC __glewGetFragmentMaterialivSGIX;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
makefileCommon/compile.core.mk:238: recipe for target '/home/bzion/of_v0.10.1_linux64gcc6_release/libs/openFrameworksCompiled/lib/linux64/obj/Debug/libs/openFrameworks/sound/ofSoundBaseTypes.o' failed
make[1]: *** [/home/bzion/of_v0.10.1_linux64gcc6_release/libs/openFrameworksCompiled/lib/linux64/obj/Debug/libs/openFrameworks/sound/ofSoundBaseTypes.o] Error 1
make[1]: *** Waiting for unfinished jobs....
makefileCommon/compile.core.mk:238: recipe for target '/home/bzion/of_v0.10.1_linux64gcc6_release/libs/openFrameworksCompiled/lib/linux64/obj/Debug/libs/openFrameworks/sound/ofSoundBuffer.o' failed
make[1]: *** [/home/bzion/of_v0.10.1_linux64gcc6_release/libs/openFrameworksCompiled/lib/linux64/obj/Debug/libs/openFrameworks/sound/ofSoundBuffer.o] Error 1
makefileCommon/compile.core.mk:238: recipe for target '/home/bzion/of_v0.10.1_linux64gcc6_release/libs/openFrameworksCompiled/lib/linux64/obj/Debug/libs/openFrameworks/sound/ofSoundStream.o' failed
make[1]: *** [/home/bzion/of_v0.10.1_linux64gcc6_release/libs/openFrameworksCompiled/lib/linux64/obj/Debug/libs/openFrameworks/sound/ofSoundStream.o] Error 1
makefileCommon/compile.core.mk:238: recipe for target '/home/bzion/of_v0.10.1_linux64gcc6_release/libs/openFrameworksCompiled/lib/linux64/obj/Debug/libs/openFrameworks/sound/ofOpenALSoundPlayer.o' failed
make[1]: *** [/home/bzion/of_v0.10.1_linux64gcc6_release/libs/openFrameworksCompiled/lib/linux64/obj/Debug/libs/openFrameworks/sound/ofOpenALSoundPlayer.o] Error 1
makefileCommon/compile.core.mk:212: recipe for target 'Debug' failed
make: *** [Debug] Error 2
there has been a problem compiling Debug OF library
please report this problem in the forums