Bennu Game Development

English Forums => Platforms => MacOS X (x86) => Mensaje iniciado por: Imerion en Marzo 08, 2012, 10:17:45 pm

Título: How to run Bennu in OSX?
Publicado por: Imerion en Marzo 08, 2012, 10:17:45 pm
I tried to make a Mac-port of one of my games, but I can't seem to get the MacOS X version of Bennu to run.
Anyone who knows how to make it work? I currently use this script, but it just says it can't find "bgdc" and "bgdi" :

Código: [Seleccionar]
#!/bin/sh

CURDIR=$(dirname 0)
BENNUDIR=$CURDIR/bgdruntime_osx
 
export PATH=$PATH:/bgdruntime_osx/bin/
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/bgdruntime_osx/lib/

bgdc Oljan.prg
bgdi Oljan.dcb
Título: Re:How to run Bennu in OSX?
Publicado por: handsource-dyko en Marzo 09, 2012, 08:25:18 am
I think it's similair to linux. If you put bennu in some arbitrary folder, you can type:
Código: [Seleccionar]
./bgdc my_prog.prg
./bgdi my_prog.dcb

But I have to say, I'm not a mac user, but to me it's looks like just another unix with some differences.
Título: Re:How to run Bennu in OSX?
Publicado por: josebita en Marzo 09, 2012, 10:04:17 am
I'd say the script needs to be changed like this:
Código: [Seleccionar]
#!/bin/sh

CURDIR=$(dirname 0)
BENNUDIR=$CURDIR/bgdruntime_osx
 
export PATH=$PATH:$BENNUDIR/bgdruntime_osx/bin/
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$BENNUDIR/bgdruntime_osx/lib/

bgdc Oljan.prg
bgdi Oljan.dcb
Título: Re:How to run Bennu in OSX?
Publicado por: Imerion en Marzo 16, 2012, 02:20:31 am
Thanks! Will try it next time I have access to a Mac. :)