Error when compiling compileOF.sh version "of_v0.11.0_linux64gcc6_release"

Hello everyone,
I am new to OF and trying to install “of_v0.11.0_linux64gcc6_release” on my arch linux .i have followed installation tutorial correctly and got following errors when compiling compileOF.sh.
Please help if anyone know the solution.

Compiling /home/aarnar/Builds/OF/libs/openFrameworks/events/ofEvents.cpp
g++ -g3 -DDEBUG -Wall -Werror=return-type -std=c++14 -DGCC_HAS_REGEX -DOF_USING_GTK -DOF_USING_GTK -DOF_USING_MPG123 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/AL -I/usr/include/rtaudio -D__LINUX_ALSA__ -D__LINUX_PULSE__ -D__UNIX_JACK__ -D_REENTRANT -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/at-spi-2.0 -pthread -I/home/aarnar/Builds/OF/libs/fmodex/include -I/home/aarnar/Builds/OF/libs/glm/include -I/home/aarnar/Builds/OF/libs/glm/include/glm -I/home/aarnar/Builds/OF/libs/glm/include/glm/detail -I/home/aarnar/Builds/OF/libs/glm/include/glm/ext -I/home/aarnar/Builds/OF/libs/glm/include/glm/gtc -I/home/aarnar/Builds/OF/libs/glm/include/glm/simd -I/home/aarnar/Builds/OF/libs/glm/include/glm/gtx -I/home/aarnar/Builds/OF/libs/json/include -I/home/aarnar/Builds/OF/libs/kiss/include -I/home/aarnar/Builds/OF/libs/pugixml/include -I/home/aarnar/Builds/OF/libs/tess2/include -I/home/aarnar/Builds/OF/libs/utf8/include -I/home/aarnar/Builds/OF/libs/utf8/include/utf8 -I/home/aarnar/Builds/OF/libs/openFrameworks -I/home/aarnar/Builds/OF/libs/openFrameworks/types -I/home/aarnar/Builds/OF/libs/openFrameworks/communication -I/home/aarnar/Builds/OF/libs/openFrameworks/video -I/home/aarnar/Builds/OF/libs/openFrameworks/utils -I/home/aarnar/Builds/OF/libs/openFrameworks/gl -I/home/aarnar/Builds/OF/libs/openFrameworks/sound -I/home/aarnar/Builds/OF/libs/openFrameworks/math -I/home/aarnar/Builds/OF/libs/openFrameworks/events -I/home/aarnar/Builds/OF/libs/openFrameworks/app -I/home/aarnar/Builds/OF/libs/openFrameworks/graphics -I/home/aarnar/Builds/OF/libs/openFrameworks/3d -MMD -MP -MF /home/aarnar/Builds/OF/libs/openFrameworksCompiled/lib/linux64/obj/Debug/libs/openFrameworks/events/ofEvents.d -MT/home/aarnar/Builds/OF/libs/openFrameworksCompiled/lib/linux64/obj/Debug/libs/openFrameworks/events/ofEvents.o -o /home/aarnar/Builds/OF/libs/openFrameworksCompiled/lib/linux64/obj/Debug/libs/openFrameworks/events/ofEvents.o -c /home/aarnar/Builds/OF/libs/openFrameworks/events/ofEvents.cpp
In file included from /home/aarnar/Builds/OF/libs/openFrameworks/sound/ofOpenALSoundPlayer.cpp:17:
/usr/include/AL/alc.h:34:16: error: using typedef-name ‘ALCdevice’ after ‘struct’
34 | typedef struct ALCdevice ALCdevice;
| ^~~~~~~~~
In file included from /home/aarnar/Builds/OF/libs/openFrameworks/sound/ofOpenALSoundPlayer.cpp:1:
/home/aarnar/Builds/OF/libs/openFrameworks/sound/ofOpenALSoundPlayer.h:13:33: note: ‘ALCdevice’ has a previous declaration here
13 | typedef struct ALCdevice_struct ALCdevice;
| ^~~~~~~~~
In file included from /home/aarnar/Builds/OF/libs/openFrameworks/sound/ofOpenALSoundPlayer.cpp:17:
/usr/include/AL/alc.h:34:26: error: conflicting declaration ‘typedef int ALCdevice’
34 | typedef struct ALCdevice ALCdevice;
| ^~~~~~~~~
In file included from /home/aarnar/Builds/OF/libs/openFrameworks/sound/ofOpenALSoundPlayer.cpp:1:
/home/aarnar/Builds/OF/libs/openFrameworks/sound/ofOpenALSoundPlayer.h:13:33: note: previous declaration as ‘typedef struct ALCdevice_struct ALCdevice’
13 | typedef struct ALCdevice_struct ALCdevice;
| ^~~~~~~~~
In file included from /home/aarnar/Builds/OF/libs/openFrameworks/sound/ofOpenALSoundPlayer.cpp:17:
/usr/include/AL/alc.h:36:16: error: using typedef-name ‘ALCcontext’ after ‘struct’
36 | typedef struct ALCcontext ALCcontext;
| ^~~~~~~~~~
In file included from /home/aarnar/Builds/OF/libs/openFrameworks/sound/ofOpenALSoundPlayer.cpp:1:
/home/aarnar/Builds/OF/libs/openFrameworks/sound/ofOpenALSoundPlayer.h:15:34: note: ‘ALCcontext’ has a previous declaration here
15 | typedef struct ALCcontext_struct ALCcontext;
| ^~~~~~~~~~
In file included from /home/aarnar/Builds/OF/libs/openFrameworks/sound/ofOpenALSoundPlayer.cpp:17:
/usr/include/AL/alc.h:36:27: error: conflicting declaration ‘typedef int ALCcontext’
36 | typedef struct ALCcontext ALCcontext;
| ^~~~~~~~~~
In file included from /home/aarnar/Builds/OF/libs/openFrameworks/sound/ofOpenALSoundPlayer.cpp:1:
/home/aarnar/Builds/OF/libs/openFrameworks/sound/ofOpenALSoundPlayer.h:15:34: note: previous declaration as ‘typedef struct ALCcontext_struct ALCcontext’
15 | typedef struct ALCcontext_struct ALCcontext;
| ^~~~~~~~~~
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

Hi.

Maybe this one will help you?

Thanks alot , this solved the issue .