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


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 93 94 95 96 97 ... 117 Next »

Continued Thread: Gentoo Linux 64-bit
View New Posts | View Today's Posts

Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Continued Thread: Gentoo Linux 64-bit
03-25-2009, 12:57 AM
#1
n00ris
Unregistered
 
Old thread:

http://www.dolphin-emu.com/forum/viewthread.php?thread_id=1102&highlight=gentoo&pid=5775#post_5775

I have a little gift for gentoo users:
I write a "virtual/dolphin-emu/dolphin-emu-9999.ebuild (I just see that I cannot attach it, hence see below):

ATTENTION: I call it virtual because IT DON'T INSTALL dolphin-emu, but all necessary dependencies to compile the svn. ( Hence I saved it as a virtual/... in my portage overlay)

BUT: This ebuild is work in progress: see comments in the ebuild.
I added some useflags, some of them works, some not, and what they do you can see if you have a look at the ebuild.
I had to at some symlinks for my gentoo (amd64), otherwise scons did not find the libs. ( see comments in the ebuild)

If somebody can answer my questions in the ebuild, please post it here. I edit the ebuild then.

And I have to say that I could build the svn today, but if I want to test it with a hombrew demo (http://www.wii-homebrew.com/downloads/demo/mandelbrot.html) , it crashes ( I will post a own thread for this, I believe it has nothing to do with this ebuild. Should it work if I load the boot.dol or I'm wrong? )

Just copy the following to a file virtual/dolphin-emu/dolphin-emu-9999.ebuild in your portage overlay:



# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/virtual/dolphin-emu/dolphin-emu.ebuild$

# IMPORTANT: THIS EBUILD DONT INSTALL DOLPHIN-EMU!
# THIS EBUILD ONLY MAKE SURE THE RIGHT DEPENDECIES TO COMPILE AND RUN DOLPHIN-EMU ARE INSTALLED
# YOU HAVE TO DOWNLOAD AND COMPILE DOLPHIN-EMU YOURSELF

DESCRIPTION="Virtual for Dolphin-emu (dependecies only)"
HOMEPAGE="www.dolphin-emu.com"
SRC_URI=""
#SRC_URI="http://dolphin-emu.googlecode.com/svn/trunk/"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="wiimote portaudio sfml testgl"

#USEFLAGS DESCRIPTION:
# wiimote installs the bluez / bluetooth libs
# portaudio support - DOES NOT WORK
# sfml - DOES NOT WORK
# testgl is not a program but a scons option to enable experimental code - DOES NOT WORK

DEPEND=""
RDEPEND=">=dev-util/scons-0.98
>=media-libs/glew-1.5.0
>=x11-libs/wxGTK-2.8.0.0
>=sys-devel/gcc-4.2.0
>=media-libs/libsdl-1.2.0
dev-util/subversion
media-gfx/nvidia-cg-toolkit
virtual/opengl
virtual/glu
dev-util/pkgconfig
x11-libs/libXxf86vm
x11-libs/libXext
media-libs/libao
x11-libs/cairo
portaudio? ( media-libs/portaudio )
sfml? ( media-libs/libsfml )
wiimote? ( net-wireless/bluez-libs ) "

#MESSAGES:
ewarn "You may have to symlink the cg libs, for example run:"
ewarn "ln -s /opt/nvidia-cg-toolkit/lib/libCg.so /usr/local/lib/libCg.so"
ewarn "ln -s /opt/nvidia-cg-toolkit/lib/libCgGL.so /usr/local/lib/libCgGL.so"
ewarn "ln -s /opt/nvidia-cg-toolkit/include/Cg/ /usr/include/Cg"

ewarn "You may have to select wxwidgets, for example run:"
ewarn "eselect wxwidgets set gtk2-unicode-release-2.8"

eerror "USEFLAGS portaudio, sfml, testgl DO NOT WORK because:"
ewarn "testgl is not a program but a scons option to enable experimental code, you have to enable it if you compile the source (use scons gltest=1)"
ewarn "sfml is not in portage (for ebuild see gentoo bugzilla) / libs were not found by scons if installed"
ewarn "portaudio libs were not found by scons when I compiled the source, maybe some more symlinks are necessary?"
Reply
04-13-2009, 08:24 PM
#2
JttL
Unregistered
 
I got a lots of problems building on Gentoo 64bit. Here are the most important things I learned:
  1. If you update your libraries through portage you must run scons --config=force
  2. If you get strange build errors suggesting you have syntax error somewhere try scons --config=force gltest=0
  3. If you get Can't init video, core etc. Then delete ./User/Config/Dolphin.ini.
Reply
04-20-2009, 12:43 AM
#3
n00ris
Unregistered
 
(03-25-2009, 12:57 AM)n00ris Wrote: ewarn "portaudio libs were not found by scons when I compiled the source, maybe some more symlinks are necessary?"

With new svn the libs were found.
Reply
04-20-2009, 06:20 PM
#4
epona
Unregistered
 
If you have troubles building from source, there are 64bit linux builds available at:

Code:
http://www.cs.huji.ac.il/~elylevy/dolphin/x86_64/

I've found that portaudio must be installed, as well as libbluetooth for these builds to start up.

Happy gaming
Reply
08-31-2009, 01:27 AM
#5
johanbcn
Unregistered
 
I'm resurrecting this old thread to ask something. Has anyone ever being able to connect the wiimote with dolphin on Gentoo AMD64?

For me it disconnects as soon as it is found by the wiiuse library.
I get the same results trying to connect with hcitool, the connection is lost as soon as it is connected.
Reply
10-07-2009, 12:06 PM
#6
astrafall
Unregistered
 
hi !
resurrection again !

I have make an ebuild for installing dolphin, with a .dolphin in the users home like for pcsx2.
But i've some trouble with the nvidia-cg-toolkit installed in /opt/nvidia-cg-toolkit/
my env seems to be ok.
/opt/nvidia-cg-toolkit/lib appear in /etc/ld.so.cache
cgc is executable also.
but scons won't find CG until I link the lib from /opt/nvidia-cg-toolkit/lib/ to /usr/lib/

If one of you got an idea...

(for johanbcn, the wiimote plugins doesn't seem to work here i'll try later...)
Reply
12-13-2009, 02:32 AM
#7
n00ris
Unregistered
 
(10-07-2009, 12:06 PM)astrafall Wrote: but scons won't find CG until I link the lib from /opt/nvidia-cg-toolkit/lib/ to /usr/lib/

As I wrote above, I had to do it similar. There was a discussion about this in the gentoo bugzilla:
http://bugs.gentoo.org/show_bug.cgi?id=255867
and
http://bugs.gentoo.org/show_bug.cgi?id=261481

@johanbcn: I did not try this for a long time, but I remember that the wiimote does work. Does this happen with other bluetooth devices, too?
Reply
01-18-2010, 07:14 AM
#8
NeKit Offline
Junior Member
**
Posts: 9
Threads: 0
Joined: Apr 2009
Dolphin OpenGL don't display anything or crash:
http://pastebin.ca/1755091
I'm running it on Sabayon, but it is very simular to Gentoo.
Find
Reply
« Next Oldest | Next Newest »


  • 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