Tinob / Ishiiruka

GNU General Public License v2.0
359 stars 118 forks source link

xbrz.cpp.o fails to build on Ubuntu? #124

Open HimbeersaftLP opened 6 years ago

HimbeersaftLP commented 6 years ago

I think I am too stupid for this. Sorry for wasting your time.

Commands I used:

cmake .. -DLINUX_LOCAL_DEV=true
make

Output of make command: https://gist.github.com/HimbeersaftLP/2c8d9da2b2b9def3a48d3660f4d1fa47

My System: OS: Ubuntu 18.04.1 LTS running in VirtualBox

treymerkley commented 6 years ago

Hey, don't worry about anything. Everyone starts somewhere.

Is there any particular reason you aren't building globally?

HimbeersaftLP commented 6 years ago

I was building it to use it later on another system that wasn't available at the time.

treymerkley commented 6 years ago

Yeah, so if you don't run sudo make install and run the build somewhere other than /tmp you can keep it around indefinitely and then copy the build directory whenever. If you would try the build without the -DLINUX_LOCAL_DEV=true flag and report back, I might be able to help more from there.

HimbeersaftLP commented 6 years ago

Building without the DLINUX_LOCAL_DEV=true flag appears to work just fine. But when I start the binary from the Binaries folder (I haven't run make install) it's missing all resources (icons etc.).

treymerkley commented 6 years ago

Try running make install and see what happens. Can you also post the exact output when you try running ishiiruka?

HimbeersaftLP commented 5 years ago

This is what the window looks like when I run it from the Binaries folder: image This is the console output:

himbeer@himbeer-VirtualBox:~/Schreibtisch/Ishiiruka/build/Binaries$ ./ishiiruka
Gtk-Message: 15:14:58.520: Failed to load module "canberra-gtk-module"
HimbeersaftLP commented 5 years ago

If I run sudo make install it will launch normally (the Gtk-Message: 15:22:40.464: Failed to load module "canberra-gtk-module" still gets displayed though), even from the build folder.

treymerkley commented 5 years ago

The Canberra thing can be ignored, it's a GTK audio thing that more or less just irritates users until it's installed.

It looks like what's happening is that Ishiiruka is expecting asset files to exist in places they would be if they were fully installed, but instead is breaking because they aren't. It should be trying to search locally before breaking.

Can you try compiling and running the WXWidgets version of Dolphin and posting the output? This might be an upstream issue, so I want to make sure the issue goes to the right place.

HimbeersaftLP commented 5 years ago

Can you try compiling and running the WXWidgets version of Dolphin

How would I do that? I'm a noob.

treymerkley commented 5 years ago

Oh yeah, so just go to GitHub.com/dolphin-emu/dolphin/releases and download the 5.0 and build the same way you would build Ishiiruka.