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

Fails to build 1.15.1 #3

Open
coreybruce opened this issue Nov 10, 2024 · 2 comments
Open

Fails to build 1.15.1 #3

coreybruce opened this issue Nov 10, 2024 · 2 comments

Comments

@coreybruce
Copy link

Hey @Skywalker13 I am trying to build 1.15.1 but I am running into a build issue, I did make sure to do git clone --recursive https://github.com/blupi-games/planetblupi-dev.git like you documented 😃

/home/corey/Stuff/projects/blupimania-dev/Release/src/SDL2_Project/src/audio/pulseaudio/SDL_pulseaudio.c: In function ‘load_pulseaudio_syms’:
/home/corey/Stuff/projects/blupimania-dev/Release/src/SDL2_Project/src/audio/pulseaudio/SDL_pulseaudio.c:168:46: error: assignment to ‘pa_operation_state_t (*)(const pa_operation *)’ {aka ‘enum pa_operation_state (*)(const pa_operation *)’} from incompatible pointer type ‘pa_operation_state_t (*)(pa_operation *)’ {aka ‘enum pa_operation_state (*)(pa_operation *)’} [-Wincompatible-pointer-types]
  168 | #define SDL_PULSEAUDIO_SYM(x) PULSEAUDIO_##x = x
      |                                              ^
/home/corey/Stuff/projects/blupimania-dev/Release/src/SDL2_Project/src/audio/pulseaudio/SDL_pulseaudio.c:191:5: note: in expansion of macro ‘SDL_PULSEAUDIO_SYM’
  191 |     SDL_PULSEAUDIO_SYM(pa_operation_get_state);
      |     ^~~~~~~~~~~~~~~~~~
/home/corey/Stuff/projects/blupimania-dev/Release/src/SDL2_Project/src/audio/pulseaudio/SDL_pulseaudio.c:168:46: error: assignment to ‘pa_context_state_t (*)(const pa_context *)’ {aka ‘enum pa_context_state (*)(const pa_context *)’} from incompatible pointer type ‘pa_context_state_t (*)(pa_context *)’ {aka ‘enum pa_context_state (*)(pa_context *)’} [-Wincompatible-pointer-types]
  168 | #define SDL_PULSEAUDIO_SYM(x) PULSEAUDIO_##x = x
      |                                              ^
/home/corey/Stuff/projects/blupimania-dev/Release/src/SDL2_Project/src/audio/pulseaudio/SDL_pulseaudio.c:200:5: note: in expansion of macro ‘SDL_PULSEAUDIO_SYM’
  200 |     SDL_PULSEAUDIO_SYM(pa_context_get_state);
      |     ^~~~~~~~~~~~~~~~~~
/home/corey/Stuff/projects/blupimania-dev/Release/src/SDL2_Project/src/audio/pulseaudio/SDL_pulseaudio.c:168:46: error: assignment to ‘pa_stream_state_t (*)(const pa_stream *)’ {aka ‘enum pa_stream_state (*)(const pa_stream *)’} from incompatible pointer type ‘pa_stream_state_t (*)(pa_stream *)’ {aka ‘enum pa_stream_state (*)(pa_stream *)’} [-Wincompatible-pointer-types]
  168 | #define SDL_PULSEAUDIO_SYM(x) PULSEAUDIO_##x = x
      |                                              ^
/home/corey/Stuff/projects/blupimania-dev/Release/src/SDL2_Project/src/audio/pulseaudio/SDL_pulseaudio.c:208:5: note: in expansion of macro ‘SDL_PULSEAUDIO_SYM’
  208 |     SDL_PULSEAUDIO_SYM(pa_stream_get_state);
      |     ^~~~~~~~~~~~~~~~~~
/home/corey/Stuff/projects/blupimania-dev/Release/src/SDL2_Project/src/audio/pulseaudio/SDL_pulseaudio.c:168:46: error: assignment to ‘size_t (*)(const pa_stream *)’ {aka ‘long unsigned int (*)(const pa_stream *)’} from incompatible pointer type ‘size_t (*)(pa_stream *)’ {aka ‘long unsigned int (*)(pa_stream *)’} [-Wincompatible-pointer-types]
  168 | #define SDL_PULSEAUDIO_SYM(x) PULSEAUDIO_##x = x
      |                                              ^
/home/corey/Stuff/projects/blupimania-dev/Release/src/SDL2_Project/src/audio/pulseaudio/SDL_pulseaudio.c:209:5: note: in expansion of macro ‘SDL_PULSEAUDIO_SYM’
  209 |     SDL_PULSEAUDIO_SYM(pa_stream_writable_size);
      |     ^~~~~~~~~~~~~~~~~~
/home/corey/Stuff/projects/blupimania-dev/Release/src/SDL2_Project/src/audio/pulseaudio/SDL_pulseaudio.c:168:46: error: assignment to ‘size_t (*)(const pa_stream *)’ {aka ‘long unsigned int (*)(const pa_stream *)’} from incompatible pointer type ‘size_t (*)(pa_stream *)’ {aka ‘long unsigned int (*)(pa_stream *)’} [-Wincompatible-pointer-types]
  168 | #define SDL_PULSEAUDIO_SYM(x) PULSEAUDIO_##x = x
      |                                              ^
/home/corey/Stuff/projects/blupimania-dev/Release/src/SDL2_Project/src/audio/pulseaudio/SDL_pulseaudio.c:210:5: note: in expansion of macro ‘SDL_PULSEAUDIO_SYM’
  210 |     SDL_PULSEAUDIO_SYM(pa_stream_readable_size);
      |     ^~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:683: build/SDL_pulseaudio.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [CMakeFiles/SDL2_Project.dir/build.make:86: src/SDL2_Project-stamp/SDL2_Project-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:347: CMakeFiles/SDL2_Project.dir/all] Error 2
make: *** [Makefile:111: all] Error 2
@Skywalker13 Skywalker13 transferred this issue from blupi-games/planetblupi-dev Nov 17, 2024
@Skywalker13
Copy link
Member

Hi, I transferred because the log is against projects/blupimania-dev/

@Skywalker13
Copy link
Member

I should try to upgrade all dependencies and maybe builds for pipewire instead of pulseaudio.. or both.. I don't know

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

2 participants