Dolphin, the GameCube and Wii emulator - Forums
Error in Linux, Wont Start From Menu, Terminal Gives Errors - 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: Support (https://forums.dolphin-emu.org/Forum-support)
+--- Thread: Error in Linux, Wont Start From Menu, Terminal Gives Errors (/Thread-error-in-linux-wont-start-from-menu-terminal-gives-errors)



Error in Linux, Wont Start From Menu, Terminal Gives Errors - plowran - 07-16-2014

Ive had Dolphin working on this laptop, I recently did a fresh install (Linux Mint), everything is up to date, NVidia Drivers are installed just as last time.
But I keep getting these errors in the Terminal. Does Anyone know whats wrong?
I installed Dolphin-emu from the PPA and even got an update today....

phil@PhilDJ ~ $ dolphin-emu

(process:2889): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(process:2889): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:2889): Gdk-CRITICAL **: IA__gdk_screen_get_default_colormap: assertion 'GDK_IS_SCREEN (screen)' failed

(process:2889): Gdk-CRITICAL **: IA__gdk_colormap_get_visual: assertion 'GDK_IS_COLORMAP (colormap)' failed

(process:2889): Gdk-CRITICAL **: IA__gdk_screen_get_default_colormap: assertion 'GDK_IS_SCREEN (screen)' failed

(process:2889): Gdk-CRITICAL **: IA__gdk_screen_get_root_window: assertion 'GDK_IS_SCREEN (screen)' failed

(process:2889): Gdk-CRITICAL **: IA__gdk_screen_get_root_window: assertion 'GDK_IS_SCREEN (screen)' failed

(process:2889): Gdk-CRITICAL **: IA__gdk_window_new: assertion 'GDK_IS_WINDOW (parent)' failed
Segmentation fault
phil@PhilDJ ~ $


RE: Error in Linux, Wont Start From Menu, Terminal Gives Errors - artantaaa - 07-16-2014

The PPA is for Ubuntu. Even though Mint is based on Ubuntu, there may be differences that cause those packages to not work. You could install Ubuntu, or compile Dolphin yourself. The instructions are here: https://wiki.dolphin-emu.org/index.php?title=Building_Dolphin_on_Linux


RE: Error in Linux, Wont Start From Menu, Terminal Gives Errors - plowran - 07-16-2014

Over the past 15 Years of being a Linux Noob compiling a program or an installer was never something I could figure out. I've had it running previously before doing the fresh install. There's something missing that I don't have installed like a library. I need to figure out what that is.
Unless you don't mind giving me a quick run down on how to compile it. ..


RE: Error in Linux, Wont Start From Menu, Terminal Gives Errors - artantaaa - 07-17-2014

It's definitely worth learning how to compile things. There so much good stuff out there that can't be used any other way, and it gets easier every time you do it.
I don't think there's much room for improvement in the compilation instructions, but I'll try to simplify them here.

The first step is to make sure you have all of the dependencies installed. Here's the list:

git
cmake
g++
wx2.9-headers (wx3.0-headers work too, and are perhaps preferred!)
libwxbase2.8-dev
libwxgtk2.8-dev
libgtk2.0-dev
libbluetooth-dev (optional, for real wiimotes)
libxrandr-dev (optional, for switching desktop resolution in fullscreen mode)
libxext-dev
libreadline-dev
libasound-dev (optional, for alsa sound backend)
libpulse-dev (optional, for pulseaudio sound backend)
libao-dev (optional, for ao sound backend)
libopenal-dev (optional, for openal sound backend)
libavcodec-dev (optional, for dumping frames in AVI format)
libavformat-dev (optional, for dumping frames in AVI format)
libswscale-dev (optional, for dumping frames in AVI format)

You can sudo apt-get install these in the terminal, or use Synaptic to install them. You need to have all of them installed, or Dolphin won't compile.

The next step is to get the Dolphin source code using this command:
Code:
git clone https://github.com/dolphin-emu/dolphin.git dolphin-emu
This will create a a folder named dolphin-emu in your home folder with all of the Dolphin files in it.

Change to that folder:
Code:
cd dolphin-emu

Within that folder, you will create another folder named Build and then change to it.
Code:
mkdir Build && cd Build

Now configure the build.
Code:
cmake ..
If you get stuck somewhere, this is likely to be the place. If you get an error, post it.
If this is successful, you're probably okay.

Next run:
Code:
make

Then:
Code:
sudo make install

If all of these commands finish with no errors, you can run Dolphin with:
Code:
dolphin-emu



RE: Error in Linux, Wont Start From Menu, Terminal Gives Errors - ScoutingBeaver - 07-18-2014

Is it possible to get these all at the same time?

I really don't want to sit here for a long time.