Bennu Game Development

English Forums => Platforms => MacOS X (x86) => Mensaje iniciado por: josebita en Noviembre 04, 2010, 10:46:19 pm

Título: MacOS X builds
Publicado por: josebita en Noviembre 04, 2010, 10:46:19 pm
I've just updated the OSX Intel build of Bennu to the Downloads section of the main website. Hope you find it useful.
Título: Re: MacOS X builds
Publicado por: Mr Matsusaka en Noviembre 06, 2010, 11:44:51 pm
Thank you! I will try it tomorrow! Karma++
Título: Re: MacOS X builds
Publicado por: Mr Matsusaka en Noviembre 07, 2010, 02:05:32 pm
Maybe it's because I'm new with mac, but I couldn't make it working.
I open a Terminal, y go to the file where I have the binaries and I wrote "export PATH=$PATH:$(pwd)". Y pressed Enter and aparently nothing happened, no messages at all... is this normal?. Then I go to the folder where I have the .prg and I try to compile, and then I have this:

dyld:unknown required lead comand 0x80000022
Trace/BTP trap

Any hint?
Título: Re: MacOS X builds
Publicado por: josebita en Noviembre 07, 2010, 02:44:59 pm
Doing "export PATH=$PATH:$(pwd)" should output nothing.
You also have to do:
"export DYLD_LIBRARY_PATH=$(pwd)" in the directory where all your .dylib's are located before being able to compile.
Título: Re: MacOS X builds
Publicado por: Mr Matsusaka en Noviembre 07, 2010, 02:54:24 pm
Yes, I didn't say it but I I did that too, but doesn't work.
I'm going to try again...
Título: Re: MacOS X builds
Publicado por: josebita en Noviembre 07, 2010, 03:25:24 pm
In that case, please copy-paste from the Terminal.app everything you write and the output of those commands, it's probable that I forgot to include something.
Título: Re: MacOS X builds
Publicado por: Mr Matsusaka en Noviembre 07, 2010, 04:40:22 pm
Here you got it. Please, tell me if you see anything strange
[code language="bennu"]Last login: Sun Nov  7 17:51:06 on console
fran-matsusakas-mac-pro:~ franmatsusaka$ cd
fran-matsusakas-mac-pro:~ franmatsusaka$ cd bennugd_bin
fran-matsusakas-mac-pro:bennugd_bin franmatsusaka$ cd bin
fran-matsusakas-mac-pro:bin franmatsusaka$ export PATH=$PATH:$(pwd)
fran-matsusakas-mac-pro:bin franmatsusaka$ cd
fran-matsusakas-mac-pro:~ franmatsusaka$ cd bennugd_bin
fran-matsusakas-mac-pro:bennugd_bin franmatsusaka$ cd lib
fran-matsusakas-mac-pro:lib franmatsusaka$ export DYLD_LIBRARY_PATH=$(pwd)
fran-matsusakas-mac-pro:lib franmatsusaka$ cd
fran-matsusakas-mac-pro:~ franmatsusaka$ cd div2
fran-matsusakas-mac-pro:div2 franmatsusaka$ bgdc kofv5.prg
dyld: unknown required load command 0x80000022
Trace/BPT trap
fran-matsusakas-mac-pro:div2 franmatsusaka$
[/code]
Título: Re: MacOS X builds
Publicado por: josebita en Noviembre 07, 2010, 05:06:22 pm
¿Qué versión de MacOS X usas?
Yo lo pruebo en Snow Leopard, igual es eso...

Ups!!
What OSX version are you using?
I'm using Snow Leopard, that might be a cause for the error...
Título: Re: MacOS X builds
Publicado por: Mr Matsusaka en Noviembre 07, 2010, 05:23:35 pm
¿Qué versión de MacOS X usas?
Yo lo pruebo en Snow Leopard, igual es eso...

Ups!!
What OSX version are you using?
I'm using Snow Leopard, that might be a cause for the error...

Leopard 1.5.2

EDIT: I hate Leopard 1.5.2...
Título: Re: MacOS X builds
Publicado por: josebita en Noviembre 07, 2010, 05:48:23 pm
That might be the reason.
I've you've got the Leopard SDK installed, maybe you could compile bennu yourself...
Título: Re: MacOS X builds
Publicado por: Mr Matsusaka en Noviembre 07, 2010, 06:01:52 pm
Let's continue this on the spanish thread ;D
Título: Re: MacOS X builds
Publicado por: josebita en Noviembre 07, 2010, 06:17:09 pm
:)
Título: Re: MacOS X builds
Publicado por: josebita en Mayo 19, 2011, 11:59:04 pm
Updated the OSX builds. Haven't done this for a while so please let me know if there's any problems with them.
Título: Re: MacOS X builds
Publicado por: josebita en Julio 17, 2011, 03:15:48 pm
Looks like the next major version of MacOS X is going to be released in the next week or so. Apparently the current SDL1.2 code won't work there so BennuGD will most likely not work, either.
A patch that fixes the incompatibility appears to have already been submitted and is being tested right now in the SDL mailing list.

Just FYI.
Título: Re: MacOS X builds
Publicado por: MisterN en Julio 17, 2011, 03:34:36 pm
Eh apple products shouldn't have bennu.
Título: Re: MacOS X builds
Publicado por: josebita en Julio 17, 2011, 03:41:46 pm
Eh apple products shouldn't have bennu.
Well, they already do. :)
Título: Re: MacOS X builds
Publicado por: handsource-dyko en Julio 17, 2011, 06:29:51 pm
Why shouldn't apple users have bennu?
It is not the worst operating system, although I find it sad that apple products
have rather stupid limitations sometimes (you know it Steve's way or the highway :D),
but although I don't have a mac, I always wanted one a couple of years back.
Nowerdays I don't care, I think they are overpriced.

But still It is a platform with a reasonable (and growing) userbase, and macos
shows what a unix style system can be. Unbuntu is nice, but software installation
is still a nightmare when a newer version of a program (lazarus in my case) hasn't been
updated in the repository. debian packages sometimes make me want to pull out my
hair! ;D Super OS (based on ubuntu) has a much nicer packaging system very similair
to macos.

I would love to see macos to be officially supported, simply because it can expose
more developers to bennu, and enlarge the amount of users of our creations.

Título: Re: MacOS X builds
Publicado por: MisterN en Julio 17, 2011, 09:16:25 pm
In a way, mac and windows and linux are all the same because they use a unix kernel. Macs are good because you know the software will run on it. Windows is better because everything is cheaper and you can go more expansive. Linux is linux.
Título: Re: MacOS X builds
Publicado por: josebita en Julio 17, 2011, 10:25:13 pm
Windows and Linux don't use a unix kernel :)
Anyway, the point was to warn macosx users, I'll try to update the builds asap when people confirm that the patches work.
Título: Re: MacOS X builds
Publicado por: handsource-dyko en Julio 18, 2011, 06:55:48 am
Windows cheaper?? ??? Where did you get that wisdom from?
Anyway, windowsNT (not 9x) is based on the foundations of os/2 (they share the same heritidge).
MacOSX is build of the foundations of next step, wich uses the mach kernel. On top of that runs a
bsd subsystem, and it appears to be a posix compatible system and it is technically a unix.

GNU/Linux is a unix clone. Uses a lot of stuff you'll find on unix style systems, but it's origins are
not derived from the orginal unix or bsd tree. It started as the GNU system from Richard Stallaman,
And in 1991 the Linux kernel from Linus Torvalds became it's "official" kernel, because Hurd kerel from
GNU itself wasn't ready. Alot of OS'es are either based of unix or are clone or are somewhat inspired
by it. Heck, even the windowsNT family has some unix style features. :D

Rumour has it that the playstation 3's OS is based on FreeBSD!  :) (It's very populair in the embedded
market).
Título: Re: MacOS X builds
Publicado por: josebita en Julio 27, 2011, 09:55:47 pm
I have just updated to Lion and it seems like old binaries are working just fine (at least, they seem to be working as they did before).
If snybody finds any new issues, please let me know.
Título: Re:MacOS X builds
Publicado por: josebita en Abril 05, 2012, 12:16:40 am
I've recompiled the OSX binaries.
Until I can get them in the main site, you can grab them from here:
http://dl.dropbox.com/u/3022394/bennugd-osx-20120405.tar.bz2

They've been compiled from the official sources and include all the latest changes (including background resource loading stuff) and correspond to revision 284 of the official sources.
Sources have been minimally modified so that they compile and work in Mac but no other changes have been performed (ie: no 32bpp for you!)