Bennu Game Development

English Forums => Platforms => MacOS X (x86) => Topic started by: Imerion on March 08, 2012, 10:17:45 PM

Title: How to run Bennu in OSX?
Post by: Imerion on March 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" :

#!/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
Title: Re:How to run Bennu in OSX?
Post by: handsource-dyko on March 09, 2012, 08:25:18 AM
I think it's similair to linux. If you put bennu in some arbitrary folder, you can type:

./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.
Title: Re:How to run Bennu in OSX?
Post by: josebita on March 09, 2012, 10:04:17 AM
I'd say the script needs to be changed like this:
#!/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
Title: Re:How to run Bennu in OSX?
Post by: Imerion on March 16, 2012, 02:20:31 AM
Thanks! Will try it next time I have access to a Mac. :)