Dolphin, the GameCube and Wii emulator - Forums

Full Version: ubuntu 20.04 build error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

gera Baeza

Hello everyone.

I'm trying to build dolphin from the source code following the instructions in the wiki (https://wiki.dolphin-emu.org/index.php?t...n_on_Linux) but when i try to make the project i get this error

[ 81%] Linking CXX executable ../../../Binaries/dolphin-emu-nogui
/usr/bin/ld: cannot find -lsndio
collect2: error: ld returned 1 exit status
make[2]: *** [Source/Core/DolphinNoGUI/CMakeFiles/dolphin-nogui.dir/build.make:203: Binaries/dolphin-emu-nogui] Error 1
make[1]: *** [CMakeFiles/Makefile2:1652: Source/Core/DolphinNoGUI/CMakeFiles/dolphin-nogui.dir/all] Error 2
make: *** [Makefile:152: all] Error 2


has someone faced the same issue? Let me know if anyone needs more information about my setup

Regards
Seems like you're missing a library that it's looking to link. You're probably missing libsndio. You can install it in Ubuntu like so:

Code:
sudo apt-get install libsndio-dev