Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 07/08/2014, à 08:27

amine33

Probleme de compilation DirecFb

hello members,

After installing DirectFB, I tried to show the simple code of FullScrezan and I compiled my code with this command "gcc -o main main.c `directfb-config --cflags` `directfb-config --libs`", and when running the compiled file it appears a black screen with coloried lines,

and this is the message after execution:


  ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.2.8 |~~~~~~~~~~~~~~~~~~~~~~~~~~
        (c) 2001-2008  The world wide DirectFB Open Source Community
        (c) 2000-2004  Convergence (integrated media) GmbH
      ----------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2010-04-09 11:08)
(*) Direct/Thread: Started 'VT Switcher' (-1) [CRITICAL OTHER/OTHER 0/0] <8388608>...
(*) Direct/Thread: Started 'PS/2 Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: IMPS/2 Mouse 1.0 (directfb.org)
(*) Direct/Thread: Started 'Keyboard Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: Power Button (1) 0.1 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: Power Button (2) 0.1 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: Macintosh mouse button emulatio (3) 0.1 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: Logitech USB Optical Mouse (4) 0.1 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: Dell Dell USB Entry Keyboard (5) 0.1 (directfb.org)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: MMX Software Rasterizer 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(*) FBDev/Surface: Allocated 640x480 4 bit RGB16 buffer (index 0) at offset 0 and pitch 80.
(*) FBDev/Surface: Allocated 640x480 4 bit RGB16 buffer (index 0) at offset 0 and pitch 80.
(*) FBDev/Mode: Setting 640x480 RGB16
(*) FBDev/Mode: Switched to 640x480 (virtual 640x960) at 16 bit (RGB16), pitch 80
(!!!)  *** WARNING [unable to adjust heap offset] *** [../../../systems/fbdev/surfacemanager.c:167 in dfb_surfacemanager_adjust_heap_offset()]
(*) FBDev/Surface: Allocated 640x480 16 bit RGB16 buffer (index 1) at offset 38400 and pitch 80.
(!) DirectFB/FBDev: Panning display failed (x=0 y=480 ywrap=0 vbl=0)!
    --> Invalid argument
(!) DirectFB/FBDev: Panning display failed (x=0 y=480 ywrap=0 vbl=0)!
    --> Invalid argument
main.c <34>:
    (#) DirectFBError [primary->Flip (primary, NULL, 0)]: General failure!
(!!!)  *** WARNING [Application exited without deinitialization of DirectFB!] *** [../../../src/core/core.c:859 in dfb_core_deinit_check()]
(!!!)  *** WARNING [still objects in 'Layer Region Pool'] *** [../../../lib/fusion/object.c:241 in fusion_object_pool_destroy()]
(!!!)  *** WARNING [still objects in 'Layer Context Pool'] *** [../../../lib/fusion/object.c:241 in fusion_object_pool_destroy()]
(!!!)  *** WARNING [still objects in 'Surface Pool'] *** [../../../lib/fusion/object.c:241 in fusion_object_pool_destroy()]


Remarque: reponse en englais ou en francais et merci.

Hors ligne

#2 Le 07/08/2014, à 12:39

lann

Re : Probleme de compilation DirecFb

Je pense que le mieux c'est d'aller leur demander : http://directfb.org/

Hors ligne