LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Probleme de compilation DirectFb (https://www.linuxquestions.org/questions/linux-software-2/probleme-de-compilation-directfb-4175513821/)

amine33 08-07-2014 02:37 AM

Probleme de compilation DirectFb
 
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.

unSpawn 09-06-2014 04:11 AM

If the documentation doesn't help best try one of the http://directfb.org/index.php?path=D...FMailing+Lists ?


All times are GMT -5. The time now is 01:17 AM.