Bennu Game Development

English Forums => Platforms => MacOS X (x86) => Topic started by: josebita on November 04, 2010, 10:46:19 PM

Title: MacOS X builds
Post by: josebita on November 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.
Title: Re: MacOS X builds
Post by: Mr Matsusaka on November 06, 2010, 11:44:51 PM
Thank you! I will try it tomorrow! Karma++
Title: Re: MacOS X builds
Post by: Mr Matsusaka on November 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?
Title: Re: MacOS X builds
Post by: josebita on November 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.
Title: Re: MacOS X builds
Post by: Mr Matsusaka on November 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...
Title: Re: MacOS X builds
Post by: josebita on November 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.
Title: Re: MacOS X builds
Post by: Mr Matsusaka on November 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]
Title: Re: MacOS X builds
Post by: josebita on November 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...
Title: Re: MacOS X builds
Post by: Mr Matsusaka on November 07, 2010, 05:23:35 PM
Quote from: josebita on November 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...

Leopard 1.5.2

EDIT: I hate Leopard 1.5.2...
Title: Re: MacOS X builds
Post by: josebita on November 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...
Title: Re: MacOS X builds
Post by: Mr Matsusaka on November 07, 2010, 06:01:52 PM
Let's continue this on the spanish thread ;D
Title: Re: MacOS X builds
Post by: josebita on November 07, 2010, 06:17:09 PM
:)
Title: Re: MacOS X builds
Post by: josebita on May 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.
Title: Re: MacOS X builds
Post by: josebita on July 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.
Title: Re: MacOS X builds
Post by: MisterN on July 17, 2011, 03:34:36 PM
Eh apple products shouldn't have bennu.
Title: Re: MacOS X builds
Post by: josebita on July 17, 2011, 03:41:46 PM
Quote from: DoctorN on July 17, 2011, 03:34:36 PM
Eh apple products shouldn't have bennu.
Well, they already do. :)
Title: Re: MacOS X builds
Post by: handsource-dyko on July 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.

Title: Re: MacOS X builds
Post by: MisterN on July 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.
Title: Re: MacOS X builds
Post by: josebita on July 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.
Title: Re: MacOS X builds
Post by: handsource-dyko on July 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).
Title: Re: MacOS X builds
Post by: josebita on July 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.
Title: Re:MacOS X builds
Post by: josebita on April 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!)