Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors when building LOVE Engine 11.5 #25

Open
absolutelynothinghere opened this issue Jan 1, 2024 · 0 comments
Open

Errors when building LOVE Engine 11.5 #25

absolutelynothinghere opened this issue Jan 1, 2024 · 0 comments

Comments

@absolutelynothinghere
Copy link

While compiling LOVE Engine 11.5 with mojoAL I got the following errors:

In file included from modules/audio/openal/Audio.cpp:21:
In file included from modules/audio/openal/Audio.h:38:
In file included from modules/audio/openal/Source.h:32:
In file included from modules/audio/openal/Filter.h:37:
/usr/include/AL/alc.h:234:36: error: expected ')'
typedef void          (AL_APIENTRY *LPALCTRACEDEVICELABEL)(ALCdevice *device, const ALCchar *str);
                                   ^
/usr/include/AL/alc.h:234:23: note: to match this '('
typedef void          (AL_APIENTRY *LPALCTRACEDEVICELABEL)(ALCdevice *device, const ALCchar *str);
                      ^
/usr/include/AL/alc.h:235:36: error: expected ')'
typedef void          (AL_APIENTRY *LPALCTRACECONTEXTLABEL)(ALCcontext *ctx, const ALCchar *str);
                                   ^
/usr/include/AL/alc.h:235:23: note: to match this '('
typedef void          (AL_APIENTRY *LPALCTRACECONTEXTLABEL)(ALCcontext *ctx, const ALCchar *str);
                      ^
/usr/include/AL/alc.h:235:24: error: typedef redefinition with different types ('void (ALCcontext *, const ALCchar *)' (aka 'void (ALCcontext_struct *, const char *)') vs 'void (ALCdevice *, const ALCchar *)' (aka 'void (ALCdevice_struct *, const char *)'))
typedef void          (AL_APIENTRY *LPALCTRACECONTEXTLABEL)(ALCcontext *ctx, const ALCchar *str);
                       ^
/usr/include/AL/alc.h:234:24: note: previous definition is here
typedef void          (AL_APIENTRY *LPALCTRACEDEVICELABEL)(ALCdevice *device, const ALCchar *str);
                       ^
3 errors generated.

I'm using Zig CC/C++ (Clang wrapper) as my compiler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant