Compile success but run failure!!

Started by raverdave, November 26, 2008, 10:02:57 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

raverdave

I have just tried compiling this example in bennu under linux,specifically kubuntu!


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


raverdave

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

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

Treval

#4
How cute. =O

Treval aka Badman


Treval aka Badman