On my build, these libraries are in /usr/local/lib which many Linux distributions don't have in the library search path.
From: suma s [mailto:suma_...@yahoo.co.in] Sent: Sunday, October 03, 2010 9:19 PM To: mesa-us...@lists.freedesktop.org; directfb-users@directfb.org; Defnet, Benjamin R Subject: kindly help me.... gud morning, I am trying to enable opengl from directfb-0.9.25 to 1.4 version. in this case i am able to compile the df_gears.c of directfb-0.9.25, but iam getting some linking errors... i managed to solve some references but iam not able to proceed further since it is a linker error.. so, i request you to kindly assist me in this work, since iam stuck up and not able to get any responses also... ------------------------------------------------------------------------------------------------------------------------ i compile the df_gears.c like this: r...@lxdevenv:~/suma/Mesa-7.7.1/examples# gcc -o try df_gears.c -ldirectfb -ldirect -lfusion -lvoodoo -lGL -lglut -lGLU when i tried to execute... iam getting the following error.... r...@lxdevenv:~/suma/Mesa-7.7.1/examples# ./try ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.0|~~~~~~~~~~~~~~~~~~~~~~~~~~ (c) 2001-2009 The world wide DirectFB Open Source Community (c) 2000-2004 Convergence (integrated media) GmbH ---------------------------------------------------------------- (*) DirectFB/Core: Multi Application Core. (2010-09-22 10:16) (*) Fusion/SHM: Using MADV_REMOVE (2.6.24.0 >= 2.6.19.2) (*) Direct/Thread: Started 'Fusion Dispatch' (-1) [MESSAGING OTHER/OTHER 0/0] <8388608>... (*) Direct/Thread: Started 'X11 Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>... (*) DirectFB/Input: X11 Input 0.1 (directfb.org) (*) Direct/Thread: Started 'Virtual Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>... (*) DirectFB/Input: Virtual Input 0.4 (Convergence GmbH) (*) DirectFB/Genefx: MMX detected and enabled (*) DirectFB/Graphics: MMX Software Rasterizer 0.6 (directfb.org) (!) Direct/Modules: Unable to dlopen `/usr/lib/directfb-1.4-0/wm/libdirectfbwm_default.so'! --> /usr/lib/directfb-1.4-0/wm/libdirectfbwm_default.so: undefined symbol: wm_set_cursor_position (*) DirectFB/Core/WM: SaWMan 0.2 (directfb.org) (*) SaWMan: Initializing stack 0x20127900 for tier 0x25583000, 0x0, layer 0, context 0x20017000 [3]... (*) SaWMan/Init: Layer 0: 640x480, ARGB, options: 0 (*) SaWMan/Init: Border 0: 640x480, ARGB, options: 8 (*) X11/Display: Using XShm. (*) Direct/Interface: Loaded 'FT2' implementation of 'IDirectFBFont'. (!) Direct/Interface: Unable to dlopen `/usr/lib/directfb-1.4-0/interfaces/IDirectFBGL/libidirectfbgl_mesa.so'! --> /usr/lib/directfb-1.4-0/interfaces/IDirectFBGL/libidirectfbgl_mesa.so: undefined symbol: _mesa_framebuffer_renderbuffer df_gears.c <352>: (#) DirectFBError [primary->GetGL( primary, &primary_gl )]: No (suitable) implementation found! (!!!) *** WARNING [Application exited without deinitialization of DirectFB!] *** [core.c:859 in dfb_core_deinit_check()] (!!!) *** WARNING [still objects in 'Layer Region Pool'] *** [object.c:241 in fusion_object_pool_destroy()] (!!!) *** WARNING [still objects in 'Layer Context Pool'] *** [object.c:241 in fusion_object_pool_destroy()] (!) Fusion/Lock: invalid skirmish (!) DirectFB/Core: Could not shutdown 'wm_core' core! --> Resource was destroyed! (!!!) *** WARNING [still objects in 'Surface Pool'] *** [object.c:241 in fusion_object_pool_destroy()] (!) Direct/Thread: Canceling 'Fusion Dispatch' (6471)! (!!!) *** WARNING [destroying remaining 'SaWMan Pool'] *** [shm.c:223 in fusion_shm_deinit()] r...@lxdevenv:~/suma/Mesa-7.7.1/examples# ----------------------------------------------------------------------------------------------------------------------------------- thanks for the help in advance... ---------------- regards suma
_______________________________________________ directfb-users mailing list directfb-users@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users