I wanted to compile Dolphin from source, so I cloned the git repository's 5.0 branch and then I ran
After I made the build directory and created the Makefile using
I ran
but it failed to compile the libraries and outputs this error message:
I've never seen this kind of error message before. I tried using a different branch, but that didn't change anything. I followed the compilation tutorial on the website without skipping anything. What can I do to solve this problem?
Code:
git submodule update --init
Code:
cmake ..
Code:
make
Code:
In file included from /usr/include/soundtouch/FIFOSamplePipe.h:46,
from /usr/include/soundtouch/SoundTouch.h:68,
from /home/rado/dolphin-emu/Source/Core/AudioCommon/OpenALStream.h:35,
from /home/rado/dolphin-emu/Source/Core/AudioCommon/AudioCommon.cpp:12:
/usr/include/soundtouch/FIFOSamplePipe.h: In member function ‘bool soundtouch::FIFOSamplePipe::verifyNumberOfChannels(int) const’:
/usr/include/soundtouch/FIFOSamplePipe.h:62:9: error: exception handling disabled, use ‘-fexceptions’ to enable
62 | ST_THROW_RT_ERROR("Error: Illegal number of channels");
| ^~~~~~~~~~~~~~~~~
make[2]: *** [Source/Core/AudioCommon/CMakeFiles/audiocommon.dir/build.make:77: Source/Core/AudioCommon/CMakeFiles/audiocommon.dir/AudioCommon.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:829: Source/Core/AudioCommon/CMakeFiles/audiocommon.dir/all] Error 2
make: *** [Makefile:166: all] Error 2