You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm struggling to get the audio driver to work when compiling settlers myself. The v0.9.5 binaries work with sound.
Output:
Return To The Roots v20231226-2c9c492fa7e98bb65ad4eab0d23dd4ccea18d0b9
Compiled with Clang version 15.0.0 (clang-1500.1.0.2.5) for Mac OS 64 Bit
Starting in "/Users/daniel/Documents/Coding/CPP/s25client/build"
Directory for user data (config etc.): "/Users/daniel/Library/Application Support/Return To The Roots"
Searching for drivers in "/Users/daniel/Documents/Coding/CPP/s25client/build/Contents/MacOS/driver/video"
1 video drivers found!
Loaded video driver "(SDL2) OpenGL via SDL2-Library"
That operation is not supported
OpenGL 2.1 supported
Searching for drivers in "/Users/daniel/Documents/Coding/CPP/s25client/build/Contents/MacOS/driver/audio"
lib error code: generic:9
Skipping "/Users/daniel/Documents/Coding/CPP/s25client/build/Contents/MacOS/driver/audio/libaudioSDL.dylib": Failed to load library. Check dependencies!
0 audio drivers found!
WARNING: Audio driver couldn't be loaded!
Starting the game
Linked libraries on my compiled driver (the v0.0.0 files exist):
otool -L /Users/daniel/Documents/Coding/CPP/s25client/build/Contents/MacOS/driver/audio/libaudioSDL.dylib
/Users/daniel/Documents/Coding/CPP/s25client/build/Contents/MacOS/driver/audio/libaudioSDL.dylib:
@rpath/libaudioSDL.dylib (compatibility version 0.0.0, current version 0.0.0)
/usr/local/opt/boost/lib/libboost_nowide-mt.dylib (compatibility version 0.0.0, current version 0.0.0)
/usr/local/opt/boost/lib/libboost_filesystem-mt.dylib (compatibility version 0.0.0, current version 0.0.0)
/usr/local/opt/boost/lib/libboost_atomic-mt.dylib (compatibility version 0.0.0, current version 0.0.0)
/usr/local/opt/sdl2_mixer/lib/libSDL2_mixer-2.0.0.dylib (compatibility version 3.0.0, current version 3.2.0)
/usr/local/opt/sdl2/lib/libSDL2-2.0.0.dylib (compatibility version 2801.0.0, current version 2801.5.0)
/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 24.0.0)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 1600.157.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1336.61.1)
Linked libraries on binaries of v0.9.5:
otool -L /Applications/s25client.app/Contents/MacOS/driver/audio/libaudioSDL.dylib
/Applications/s25client.app/Contents/MacOS/driver/audio/libaudioSDL.dylib:
@rpath/libaudioSDL.dylib (compatibility version 0.0.0, current version 0.0.0)
@rpath/SDL2_mixer.framework/Versions/A/SDL2_mixer (compatibility version 1.0.0, current version 1.1.0)
@rpath/SDL2.framework/Versions/A/SDL2 (compatibility version 1.0.0, current version 8.0.0)
/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 22.0.0)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.1.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1)
The text was updated successfully, but these errors were encountered:
I'm struggling to get the audio driver to work when compiling settlers myself. The v0.9.5 binaries work with sound.
Output:
The message
lib error code: generic:9
I added myself intryLoadLibrary()
which according to boost says: https://www.boost.org/doc/libs/1_55_0/libs/system/doc/reference.html#Header-error_codeLinked libraries on my compiled driver (the v0.0.0 files exist):
Linked libraries on binaries of v0.9.5:
The text was updated successfully, but these errors were encountered: