• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Support v
« Previous 1 … 24 25 26 27 28 … 1204 Next »

Failure when compiling AudioCommon.cpp.o
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
Failure when compiling AudioCommon.cpp.o
08-11-2022, 04:23 AM
#1
RadoslavL Offline
Junior Member
**
Posts: 2
Threads: 1
Joined: Aug 2022
I wanted to compile Dolphin from source, so I cloned the git repository's 5.0 branch and then I ran
Code:
git submodule update --init
After I made the build directory and created the Makefile using
Code:
cmake ..
I ran
Code:
make
but it failed to compile the libraries and outputs this error message:
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
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?
Find
Reply
08-15-2022, 11:36 PM
#2
KHg8m3r Offline
Doesn't sleep, just Dolphin and Robots
*******
Posts: 6,029
Threads: 4
Joined: Sep 2013
What Linux distro are you running?
Find
Reply
08-16-2022, 04:35 PM
#3
RadoslavL Offline
Junior Member
**
Posts: 2
Threads: 1
Joined: Aug 2022
(08-15-2022, 11:36 PM)KHg8m3r Wrote: What Linux distro are you running?
I am using Gentoo.
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma