ggerganov / ggwave

Tiny data-over-sound library
https://youtu.be/Zcgf77T71QM
MIT License
1.94k stars 156 forks source link

Does not work/build on Ubuntu 22.04 #110

Open KedalionDaimon opened 7 months ago

KedalionDaimon commented 7 months ago

It installs as a snap, and trying to run it, I get:

Testing for explicit PulseAudio choice... ...and PulseAudio has been explicitly chosen, so using it. libGL error: MESA-LOADER: failed to open i965 (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri) libGL error: failed to load driver: i965 libGL error: MESA-LOADER: failed to open i965 (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri) libGL error: failed to load driver: i965 libGL error: MESA-LOADER: failed to open swrast (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri) libGL error: failed to load driver: swrast X Error: GLXBadContext Request Major code 152 (GLX) Request Minor code 6 () Error Serial #111 Current Serial #110

Building is not possible, either:

cmake .. CMake Error: File /home/archon/Documents/var/ggwave/bindings/ios/Makefile-tmpl does not exist. CMake Error at CMakeLists.txt:19 (configure_file): configure_file Problem configuring file

-- SDL2_INCLUDE_DIRS = /usr/include/SDL2 -- SDL2_LIBRARIES = -L/usr/lib/x86_64-linux-gnu -lSDL2 CMake Error at examples/third-party/CMakeLists.txt:5 (add_subdirectory): The source directory

/home/archon/Documents/var/ggwave/examples/third-party/ggsock

does not contain a CMakeLists.txt file.

-- Configuring incomplete, errors occurred! See also "/home/archon/Documents/var/ggwave/build/CMakeFiles/CMakeOutput.log".

eadmaster commented 5 months ago

i've extracted the files from the snap package and i was able to run it this way: LD_LIBRARY_PATH=. ./waver

waver.zip

EDIT: fullset of binaries compiled on ubuntu 22.04 : ggwave.zip