Skip to content

Fail build on macOS #122

@naymapl

Description

@naymapl

Hi.
I try to build it on macOS but always have issue ith missing file AL/al.h. I install openal-soft via brew and never had any problems with openal with others github builds.

[ 70%] Building CXX object src/game/CMakeFiles/dustrac-game.dir/__/common/tracktilebase.cpp.o
[ 71%] Building CXX object src/game/CMakeFiles/dustrac-game.dir/__/common/mapbase.cpp.o
In file included from /Users/nayma.plrmbp/DustRacing2D/build/src/game/dustrac-game_autogen/mocs_compilation.cpp:4:
In file included from /Users/nayma.plrmbp/DustRacing2D/build/src/game/dustrac-game_autogen/PZONOMFGYT/moc_audioworker.cpp:10:
In file included from /Users/nayma.plrmbp/DustRacing2D/build/src/game/dustrac-game_autogen/PZONOMFGYT/../../../../../src/game/audio/audioworker.hpp:24:
/Users/nayma.plrmbp/DustRacing2D/src/game/audio/openaldevice.hpp:21:10: fatal error: 'AL/al.h' file not found
#include <AL/al.h>
         ^~~~~~~~~
In file included from /Users/nayma.plrmbp/DustRacing2D/src/game/game.cpp:21:
In file included from /Users/nayma.plrmbp/DustRacing2D/src/game/audio/audioworker.hpp:24:
/Users/nayma.plrmbp/DustRacing2D/src/game/audio/openaldevice.hpp:21:10: fatal error: 'AL/al.h' file not found
#include <AL/al.h>
         ^~~~~~~~~
[ 71%] Building CXX object src/game/CMakeFiles/dustrac-game.dir/audio/audioworker.cpp.o
[ 71%] Building CXX object src/game/CMakeFiles/dustrac-game.dir/audio/audiosource.cpp.o
[ 72%] Building CXX object src/game/CMakeFiles/dustrac-game.dir/audio/openaldata.cpp.o
In file included from /Users/nayma.plrmbp/DustRacing2D/src/game/audio/openaldata.cpp:16:
/Users/nayma.plrmbp/DustRacing2D/src/game/audio/openaldata.hpp:19:10: fatal error: 'AL/al.h' file not found
#include <AL/al.h>
         ^~~~~~~~~
In file included from /Users/nayma.plrmbp/DustRacing2D/src/game/scene.cpp:19:
In file included from /Users/nayma.plrmbp/DustRacing2D/src/game/audio/audioworker.hpp:24:
/Users/nayma.plrmbp/DustRacing2D/src/game/audio/openaldevice.hpp:21:10: fatal error: 'AL/al.h' file not found
#include <AL/al.h>
         ^~~~~~~~~
1 error generated.
make[2]: *** [src/game/CMakeFiles/dustrac-game.dir/dustrac-game_autogen/mocs_compilation.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
1 error generated.
make[2]: *** [src/game/CMakeFiles/dustrac-game.dir/game.cpp.o] Error 1
1 error generated.
make[2]: *** [src/game/CMakeFiles/dustrac-game.dir/audio/openaldata.cpp.o] Error 1
1 error generated.
make[2]: *** [src/game/CMakeFiles/dustrac-game.dir/scene.cpp.o] Error 1
In file included from /Users/nayma.plrmbp/DustRacing2D/src/game/audio/audioworker.cpp:16:
In file included from /Users/nayma.plrmbp/DustRacing2D/src/game/audio/audioworker.hpp:24:
/Users/nayma.plrmbp/DustRacing2D/src/game/audio/openaldevice.hpp:21:10: fatal error: 'AL/al.h' file not found
#include <AL/al.h>
         ^~~~~~~~~
1 error generated.
make[2]: *** [src/game/CMakeFiles/dustrac-game.dir/audio/audioworker.cpp.o] Error 1
make[1]: *** [src/game/CMakeFiles/dustrac-game.dir/all] Error 2
make: *** [all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions