Autor Tema: Compile success but run failure!!  (Leído 5064 veces)

raverdave

  • Newbie
  • *
  • Mensajes: 2
  • Karma: 0
Compile success but run failure!!
« en: Noviembre 26, 2008, 10:02:57 pm »
I have just tried compiling this example in bennu under linux,specifically kubuntu!

Código: [Seleccionar]
import "mod_map"

Process main()
Begin
load_fpg("test.fpg");
ship(320,240,1);

Loop
frame;
end
end

Process ship(x,y,graph)
Begin
Loop
frame;
End
End

This compiles ok, but when i run the outputted .dcb file i get this:

root@RaverDave:/home/david/Desktop/tester# bgdi tester.dcb
No protocol specified
No protocol specified

     =======================|  DirectFB 1.0.1  |=======================
          (c) 2001-2007  The DirectFB Organization (directfb.org)
          (c) 2000-2004  Convergence (integrated media) GmbH
        ------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2008-04-08 15:15)
(!) Direct/Modules: Unable to dlopen `/usr/lib/directfb-1.0-0/systems/libdirectfb_fbdev.so'!
    --> /usr/lib/directfb-1.0-0/systems/libdirectfb_fbdev.so: wrong ELF class: ELFCLASS64
(!) DirectFB/core/system: No system found!
No protocol specified
No protocol specified

     =======================|  DirectFB 1.0.1  |=======================
          (c) 2001-2007  The DirectFB Organization (directfb.org)
          (c) 2000-2004  Convergence (integrated media) GmbH
        ------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2008-04-08 15:15)
(!) DirectFB/core/system: No system found!

Any help is greatly appreciated..thanks

SplinterGU

  • Hero Member
  • *****
  • Mensajes: 12915
  • Karma: 378
Download Lastest BennuGD Release: http://www.bennugd.org/node/2

raverdave

  • Newbie
  • *
  • Mensajes: 2
  • Karma: 0
Re: Compile success but run failure!!
« Respuesta #2 en: Noviembre 27, 2008, 12:37:42 am »
ok, after setting the frame buffer in the bios to manual, well maybe it did something,maybe not, also i typed sudo apt-get install fbset in the konsole,again maybe it did something..but along the way...


SUCCESS!!

yes I have successfully compiled and ran my first bennu program!
As you can see:


SplinterGU

  • Hero Member
  • *****
  • Mensajes: 12915
  • Karma: 378
Re: Compile success but run failure!!
« Respuesta #3 en: Noviembre 27, 2008, 05:27:18 am »
cool!

:)
Download Lastest BennuGD Release: http://www.bennugd.org/node/2

Treval

  • Newbie
  • *
  • Mensajes: 15
  • Karma: 0
  • I can do anything!
    • Treval's Project
Re: Compile success but run failure!!
« Respuesta #4 en: Diciembre 23, 2008, 04:51:13 pm »
How cute. =O

Treval aka Badman
« última modificación: Diciembre 27, 2008, 04:17:46 pm por Sandman »


Treval aka Badman