-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
BlitzMax Linux.x64 v0.98.3.27 - Rebuild All Modules Fails #38
Comments
You might try to install Sudo apt-get install libesd0-dev |
Aha, so it is However... that merely punts the problem a little further down the field:
Likely this is just a chain-reaction of broken-ness so don't sweat it. I check NG probably once or twice a year to see if it is "just works" territory yet so I got my answer 😃 |
I am not on 18.xx yet...and for me it runs without further issues.
Think Brucey needs to check it out in a 18.xx VM. Maybe SDL has some more instructions for the requirements with these audio backends.
|
If you did not update the modules yet...maybe update brl.mod pub.mod sdl.mod ... from their repos.
So an updated SDL mod might already solve your issue
|
Appreciate the suggestion -- getting the same issue with the latest versions of those mods pulled unfortunately. Ubuntu Software Update ran an upgrade literally a couple of days ago so I think I've just picked the worst time possible to give this a go. |
Tried to replicate it:
So seem that audio backend needs to get disabled ?! |
For now you might continue your blitzmax-exploration by opening up "sdl.mod/sdl.mod/linux_source.bmx", scroll some lines down, and comment out the line importing the esd file: replace: ?linux And Not raspberrypi
Import "SDL/src/audio/esd/SDL_esdaudio.c"
Import "SDL/src/audio/pulseaudio/SDL_pulseaudio.c" with ?linux And Not raspberrypi
'Import "SDL/src/audio/esd/SDL_esdaudio.c"
Import "SDL/src/audio/pulseaudio/SDL_pulseaudio.c" also replace two lines in each sdl.mod/sdl.mod/include/linuxx64/SDL_config.h and ../linuxx86/SDL_config.h: #define SDL_AUDIO_DRIVER_ESD 1
#define SDL_AUDIO_DRIVER_ESD_DYNAMIC "libesd.so.0" with: #define SDL_AUDIO_DRIVER_ESD 0
#define SDL_AUDIO_DRIVER_ESD_DYNAMIC (without this replacement you end up with some undefined references to "ESD_BOOTSTRAP") The SDL dynamically links to backends, so if it (ESD, PulseAudio, ...) was not available, it uses another one. Means it should run without ESD too (on a client's computer). Make sure to completely recompile the SDL.mod modules (not "quick") as you else end up with undefined references (it mixes cached precompilates with the new, esd-free, ones). |
@woollybah |
Brucey updated sdl.mod ...please give it a try and close the issue if the commit solves your problem. |
Thought I'd swing by for another crack at it. Latest NG repo with latest pub.mod, brl.mod and sdl.mod:
It is different at least :D |
Did you install the modules listed in the bmx-ng/sdl.mod readme.md file/project start page:
? (was not able to check it on my own, not on 18.x yet and on my old Mint rig it compiles) |
I was missing libaudio-dev from that list -- everything building now. Thanks GWRon, much appreciated. |
IDE Output:
This is under Ubuntu 18.04.01
The text was updated successfully, but these errors were encountered: