• 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 ... 11 12 13 14 15 ... 1198 Next »

[ SOLVED ] Linux Mint 19.3 unable to compile latest Dev release
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
[ SOLVED ] Linux Mint 19.3 unable to compile latest Dev release
02-01-2022, 04:45 AM
#8
KHg8m3r Offline
Doesn't sleep, just Dolphin and Robots
*******
Posts: 5,959
Threads: 4
Joined: Sep 2013
Linux Mint 19.3 is based on Ubuntu 18.04, and both of them use an older version of gcc/g++ that doesn't seem to play nicely with the external fmt library that Dolphin provides. Your two options are to upgrade to Linux Mint 20.3 (Ubuntu 20.04) or update your compiler on Linux Mint 19.3.

If you want to keep using Linux Mint 19.3, here's what I tested on Linux Mint 19.3 Cinnamon:
Spoiler: (Show Spoiler)
# Install gcc-9/g++-9:
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt update && sudo apt upgrade
sudo apt install gcc-9 g++-9

# You can change your default gcc compiler to gcc-9 if you want by following this post (change 8 for 9):
https://askubuntu.com/a/1028656

# Confirm you have gcc-9 installed
gcc-9 -v
(if you changed the default) gcc -v

# Follow the build instructions for Dolphin on Linux
https://wiki.dolphin-emu.org/index.php?title=Building_Dolphin_on_Linux
(I had to run the `sudo apt install <packages> again cause I broke my Qt5 install messing around testing various things)

# If you still have your old git folder that's fine too, just delete the `build` folder you created and start fresh

# If you changed your default gcc to gcc-9, then just run through building as normal

# If you didn't change your default, you have to run cmake to point to gcc-9
cmake .. -DCMAKE_C_COMPILER=gcc-9 -DCMAKE_CXX_COMPILER=g++-9

# The first few lines of the cmake output will tell you if it's using gcc 9.4.0 or gcc 7.7.0

# Build Dolphin
make -j$(nproc)

# Create a bash script if you want that'll run through the make process for you. An example is on the Building Dolphin for Linux page
Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
[ SOLVED ] Linux Mint 19.3 unable to compile latest Dev release - nbohr1more - 01-29-2022, 11:01 AM
RE: Linux Mint 19.3 unable to compile latest Dev release - nbohr1more - 01-30-2022, 02:06 AM
RE: Linux Mint 19.3 unable to compile latest Dev release - Joom - 01-30-2022, 02:38 AM
RE: Linux Mint 19.3 unable to compile latest Dev release - nbohr1more - 01-30-2022, 06:28 AM
RE: Linux Mint 19.3 unable to compile latest Dev release - JosJuice - 01-30-2022, 07:24 PM
RE: Linux Mint 19.3 unable to compile latest Dev release - nbohr1more - 01-31-2022, 02:01 PM
RE: Linux Mint 19.3 unable to compile latest Dev release - Neui - 02-01-2022, 04:13 AM
RE: Linux Mint 19.3 unable to compile latest Dev release - KHg8m3r - 02-01-2022, 04:45 AM
RE: Linux Mint 19.3 unable to compile latest Dev release - nbohr1more - 02-01-2022, 09:46 AM
RE: [SOLVED] Linux Mint 19.3 unable to compile latest Dev release - nbohr1more - 08-14-2022, 01:09 PM
RE: [SOLVED] Linux Mint 19.3 unable to compile latest Dev release - KHg8m3r - 08-15-2022, 09:58 AM
RE: [SOLVED] Linux Mint 19.3 unable to compile latest Dev release - nbohr1more - 08-17-2022, 02:59 PM
RE: [SOLVED] Linux Mint 19.3 unable to compile latest Dev release - nbohr1more - 01-08-2023, 04:31 PM
RE: Linux Mint 19.3 unable to compile latest Dev release - nbohr1more - 01-09-2023, 11:50 AM
RE: Linux Mint 19.3 unable to compile latest Dev release - KHg8m3r - 01-09-2023, 12:20 PM

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 2 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode