Autor Tema: How to run Bennu in OSX?  (Leído 23162 veces)

Imerion

  • Jr. Member
  • **
  • Mensajes: 69
  • Karma: 3
How to run Bennu in OSX?
« 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
« última modificación: Enero 22, 2013, 01:44:49 pm por JaViS »
Try my games : Neotron Games

handsource-dyko

  • Hero Member
  • *****
  • Mensajes: 568
  • Karma: 32
  • I'm the eye in the sky.
    • dyko designs
Re:How to run Bennu in OSX?
« Respuesta #1 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.

josebita

  • Administrator
  • *****
  • Mensajes: 4039
  • Karma: 257
    • BennuGD Mobile Worklog
Re:How to run Bennu in OSX?
« Respuesta #2 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

Imerion

  • Jr. Member
  • **
  • Mensajes: 69
  • Karma: 3
Re:How to run Bennu in OSX?
« Respuesta #3 en: Marzo 16, 2012, 02:20:31 am »
Thanks! Will try it next time I have access to a Mac. :)
Try my games : Neotron Games