Autor Tema: Can't execute Bennu  (Leído 3808 veces)

cybermonkey342

  • Newbie
  • *
  • Mensajes: 4
  • Karma: 0
Can't execute Bennu
« en: Junio 07, 2009, 10:52:53 am »
Hi,

I am new and recently found Bennu. Unfortunately I can't execute Bennu, not even the compiler. I tried
1. Install from the PPA repositories (yes, I am using Ubuntu, although Ubuntu 9.04 x64)
2. Installed it with the RC installer and
3. compiled it from source.

If I want to compile one of the basic examples the following happens (on all installations):
Citar
markus@markus-desktop:~/Examples/1 basic/BasicSamples0$ bgdc test01.prg
BGDC 1.0.0 (Jun  7 2009 12:43:25)
Copyright � 2006-2009 SplinterGU (Fenix/BennuGD)
Copyright � 2002-2006 Fenix Team (Fenix)
Copyright � 1999-2002 Jos� Luis Cebri�n Pag�e (Fenix)
Bennu Game Development comes with ABSOLUTELY NO WARRANTY;
see COPYING for details

/home/markus/Examples/1 basic/BasicSamples0/test01.prg:9: error: Library "mod_blendop.so" not found ("mod_blendop")
markus@markus-desktop:~/Examples/1 basic/BasicSamples0$
It just doesn't find any modules, nor libraries (if I am using bgdi on the pre-compiled examples). All libraries and modules are present in /usr/lib/bgd
Any help, please?

SplinterGU

  • Hero Member
  • *****
  • Mensajes: 12939
  • Karma: 378
Re: Can't execute Bennu
« Respuesta #1 en: Junio 07, 2009, 01:30:53 pm »
Download Lastest BennuGD Release: http://www.bennugd.org/node/2

cybermonkey342

  • Newbie
  • *
  • Mensajes: 4
  • Karma: 0
Re: Can't execute Bennu
« Respuesta #2 en: Junio 07, 2009, 01:53:43 pm »
Hi, and thanks. But this doesn't really help me. Does it mean that all modules and libs have to be placed in the directory where the *.prg is? But I'd rather would have global access, which only says the "compiler's directory". So it is /usr/local/bin/bgdc  ???
Sorry, but I have still no clue where to put all those *.so-files ...

SplinterGU

  • Hero Member
  • *****
  • Mensajes: 12939
  • Karma: 378
Re: Can't execute Bennu
« Respuesta #3 en: Junio 07, 2009, 03:15:38 pm »
please, read it.

You need a "myproject.import" or "myproject.imp" file with modules names that you need... please read.
Download Lastest BennuGD Release: http://www.bennugd.org/node/2

cybermonkey342

  • Newbie
  • *
  • Mensajes: 4
  • Karma: 0
Re: Can't execute Bennu
« Respuesta #4 en: Junio 07, 2009, 04:09:24 pm »
Hmm,
okay this is what I've done: in the examples (downloaded from the official site) in the directory BasicSamples0 I included a file called test01.import for the test01.prg. Is that correct?
Here is the file:
Citar
mod_sdlevthandler
mod_pathfind
mod_blendop
mod_text
mod_grproc
mod_video
mod_map
mod_screen
mod_path
mod_rand
mod_say
mod_mouse
mod_scroll
mod_math
mod_m7
mod_proc
mod_key
mod_draw
mod_timers
mod_sound
and the output from the console:
Citar
home/markus/Examples/1 basic/BasicSamples0/test01.import:1: error: Library "mod_sdlevthandler.so" not found (EOF)
markus@markus-desktop:~/Examples/1 basic/BasicSamples0$
So still the same error. Seems I am to silly to understand how this works ...

SplinterGU

  • Hero Member
  • *****
  • Mensajes: 12939
  • Karma: 378
Re: Can't execute Bennu
« Respuesta #5 en: Junio 07, 2009, 05:52:08 pm »
yes, remove mod_sdlevthandler, don't need this anymore...
Download Lastest BennuGD Release: http://www.bennugd.org/node/2

josebita

  • Administrator
  • *****
  • Mensajes: 4039
  • Karma: 257
    • BennuGD Mobile Worklog
Re: Can't execute Bennu
« Respuesta #6 en: Junio 07, 2009, 07:09:52 pm »
Hi,

I am new and recently found Bennu. Unfortunately I can't execute Bennu, not even the compiler. I tried
1. Install from the PPA repositories (yes, I am using Ubuntu, although Ubuntu 9.04 x64)
2. Installed it with the RC installer and
3. compiled it from source.
....

First of all, welcome!
Please understand that Bennu is -right now- a 32 bit only product. In fact, it is known to crash when doing some things if compiled directly on a 64 bits system.
It should work pretty well using 32 bit binaries and their libs in a 64 bits system (installing ia32-libs should be required). If I'm not wrong, the official installer package should make things work with this method.

Also, the x86_64 binaries on the PPA are old and broken, please don't use them.

With time, I will try to create & upload a 32 bits version of Bennu but prepared to be ran on a x86_64 system to the PPA.
« última modificación: Junio 07, 2009, 10:13:45 pm por josebita »

cybermonkey342

  • Newbie
  • *
  • Mensajes: 4
  • Karma: 0
Re: Can't execute Bennu
« Respuesta #7 en: Junio 07, 2009, 08:32:58 pm »
Hi. Seems to be a 64bit problem. I also tried Fenix but this is also known not to work with 64bit systems. I will try the installer at a later time again. Thanks for now.