Dolphin, the GameCube and Wii emulator - Forums
trying to build in linux, getting 'make_unique’ is not a member of ‘std’ - Printable Version

+- Dolphin, the GameCube and Wii emulator - Forums (https://forums.dolphin-emu.org)
+-- Forum: Dolphin Emulator Discussion and Support (https://forums.dolphin-emu.org/Forum-dolphin-emulator-discussion-and-support)
+--- Forum: Development Discussion (https://forums.dolphin-emu.org/Forum-development-discussion)
+--- Thread: trying to build in linux, getting 'make_unique’ is not a member of ‘std’ (/Thread-trying-to-build-in-linux-getting-make-unique%E2%80%99-is-not-a-member-of-%E2%80%98std%E2%80%99)



trying to build in linux, getting 'make_unique’ is not a member of ‘std’ - reptiletim - 12-15-2015

Hello,

I'm running Xubuntu 14.04 and trying to install Dolphin and having some problems here.

So far I can make it to Step 3 on this page, https://wiki.dolphin-emu.org/index.php?title=Building_Dolphin_on_Linux, and when I enter "cmake .." after a while it craps out with this error:

‘make_unique’ is not a member of ‘std’

Here's a pastebin of the results:

http://pastebin.com/DHf4ahnt

Being somewhat new to Linux I'm not sure what I've done wrong here.

I ran gcc -v and got this result:
gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04)

I've also tried CC=gcc-4.8 CXX=g++-4.8 cmake ..

Same result.

Any help here is appreciated.


RE: trying to build in linux, getting 'make_unique’ is not a member of ‘std’ - JMC47 - 12-15-2015

I think we require gcc 4.9. Not sure on that, but that's what I'm remembering.


RE: trying to build in linux, getting 'make_unique’ is not a member of ‘std’ - leolam - 12-15-2015

Yes, you need gcc 4.9 or higher to build Dolphin.


RE: trying to build in linux, getting 'make_unique’ is not a member of ‘std’ - reptiletim - 12-16-2015

Thank you, this worked and I was able to get it installed and running!


RE: trying to build in linux, getting 'make_unique’ is not a member of ‘std’ - degasus - 12-16-2015

I've thought we've reverted the regex usage? It was the reason to drop gcc4.8 support, but as all of our buildbots are updated now, we did lost gcc4.8 again...