Compiling ScummVM - OS X.
Moderator: ScummVM Team
Compiling ScummVM - OS X.
Hey all!
It's been a few years since I compiled ScummVM from source on my Powerbook and it seems that a harddrive wipe or two has set me back a bit.
My compiles run fine until they hit libmpeg2. I can't seem to find a way to install this via Fink. Any suggestions? Thanks.
It's been a few years since I compiled ScummVM from source on my Powerbook and it seems that a harddrive wipe or two has set me back a bit.
My compiles run fine until they hit libmpeg2. I can't seem to find a way to install this via Fink. Any suggestions? Thanks.
Re: Compiling ScummVM - OS X.
Strange, I have it set-up fine on my iBook using Fink. Are you trying to install the correct library? I know there are a few MPEG-2 things listed on Fink, on my 10.3 system it's called mpeg2dec, mpeg2dec-dev and mpeg2dec-shlibs.bobablob wrote: My compiles run fine until they hit libmpeg2. I can't seem to find a way to install this via Fink. Any suggestions? Thanks.
HTH
It definitely *is* in Fink, just not in the stabel tree. See also http://pdb.finkproject.org/pdb/package.php/mpeg2dec.
I am doing all my ScummVM development exclusively with the help of Fink packages, BTW (not a big surprise, since I work on Fink, too .
I am doing all my ScummVM development exclusively with the help of Fink packages, BTW (not a big surprise, since I work on Fink, too .
- Vinterstum
- ScummVM Developer
- Posts: 580
- Joined: Sun Oct 16, 2005 6:59 am
-
- Posts: 129
- Joined: Mon May 05, 2008 3:37 pm
hi guys
i'm trying to compile scummvm from svn (on intel, os x 10.4.10), but ./configure isn't finding ogg, flac, mad or libmpeg2.
i have all these installed via macports (previously known as darwinports), and i've tried using
etc, but it still won't find them.
am i likely to have more luck if i install them via fink? any other suggestions?
cheers
i'm trying to compile scummvm from svn (on intel, os x 10.4.10), but ./configure isn't finding ogg, flac, mad or libmpeg2.
i have all these installed via macports (previously known as darwinports), and i've tried using
Code: Select all
--with-ogg-prefix=/opt/local/lib
am i likely to have more luck if i install them via fink? any other suggestions?
cheers
-
- Posts: 129
- Joined: Mon May 05, 2008 3:37 pm
-
- Posts: 129
- Joined: Mon May 05, 2008 3:37 pm
i successfully got my .app built on monday, but i've decided to add a note here for anyone who comes this way in the future trying to compile for os x.
from the readme:
at this point i gave up trying to fix it properly, and decided to fool it into working instead. so i set up a symbolic link so that /sw pointed to the right place. for me this was
i'd be glad to hear the correct way to fix the path problem with /sw, but if not i hope this will help somebody
from the readme:
my sdl (as with the other libraries i mentioned earlier) was installed in /opt/local, so i was expecting to have to do this. however i couldn't find any reference to /sw in the makefile. the wiki page linked from the readme said to look for a line:To get a version you can run from Finder, type 'make bundle' which will create ScummVM.app (this only works out of the box if you installed SDL into /sw (as happens if you are using Fink). If you have installed SDL in another way, you will have to edit the Makefile).
but i couldn't see that anywhere. i tried adding it (with the correct path), but it didn't help, when i tried to 'make bundle' i still got an error message that sdl couldn't be found in /swOSXOPT=/sw
at this point i gave up trying to fix it properly, and decided to fool it into working instead. so i set up a symbolic link so that /sw pointed to the right place. for me this was
having done this, the compile succeeded, and i was left with a working app in the scummvm source directory. to start with i thought that it didn't have an icon set up properly, but in fact it did tho it didn't display until i restarted finder.sudo ln -s /opt/local /sw
i'd be glad to hear the correct way to fix the path problem with /sw, but if not i hope this will help somebody
-
- Posts: 129
- Joined: Mon May 05, 2008 3:37 pm