DirectFBGL 설치가 안되네요...
커널 버전 : 2.6.26-2
Mesa-embedded-2-branch-2004-07-15.tar.bz2
DirectFBGL-0.9.25
--------------------------------------------------------
아래 문서의 순서로 작업을 하고 있습니다.
http://www.sci.fi/~syrjala/gl/readme.txt
mesa의 경우 7월 버젼이구요.
현재 3. Compile Mesa 단계에서 아래와 같은 에러가 나옵니다..
--> Xthreads.h가 없다는 내용인데요, dri2proto도 설치가 되었고.. 뭐가 빠진 건지 알수가 없군요.
cc -c -I/usr/X11R6/include -I/usr/X11R6/include/X11/extensions -I../../include -I. -I.. -D_HAVE_FULL_GL=1 -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -march=i686 -O3 -fno-strict-aliasing -MD -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs dri_glx.c -o dri_glx.o
In file included from glxclient.h:51,
from dri_glx.c:41:
../../include/GL/glx.h:296: warning: function declaration isn't a prototype
In file included from dri_glx.c:41:
glxclient.h:61:22: error: Xthreads.h: No such file or directory
In file included from dri_glx.c:41:
glxclient.h:586: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__glXmutex'
make[2]: *** [dri_glx.o] Error 1
make[2]: Leaving directory `/home/dw/download/Mesa/src/dri'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/dw/download/Mesa/src'
make: *** [subdirs] Error 1
Mesa를 컴파일하지 않은 상황에서 DirectFBGL을 컴파일했을 때,
Mesa/src/glheader.h:71:18: error: conf.h: No such file or directory
와같은 에러가 뜨구요... 우선 mesa가 컴파일 되어야 할 것같은데, Xthreads.h는 어디서 나오는건지 아시는 분 계십니까??
패키지가 설치 안된것 같기도 하고요. 아시는 분 댓글 부탁드려요~
./usr/include/X11/Xthreads.h
./usr/include/X11/Xthreads.h 에서 발견이 되네요....응?
단순 경로문제..
음. 최근 directfb
음. 최근 directfb 1.4버젼에서는 opengl 가속까지 지원을 하더군요. mesa7-7설치후에 그냥 IDirectFBGL를 써서 Opengl을 Directfb에 표시하면 X없이도 가능한 것인가요?? directfbGL을 설치할 필요가 없는건지요??
1.4버전에서는
1.4버전에서는 Header파일이 안맞더군요.. surfaces.h 같은것들.. 1.0.1로 진행중인데, 혹시 directFBGL 설치후에 example 돌려보신분 계십니까? 전 지금 directFBGL make시에 dfbdri.c:376: error: too few arguments to function 'dfb_surface_hardware_lock' 와같은 에러가 뜨네요....흠.
우선 오늘의 결론,
우선 오늘의 결론, 0.9.25버젼으로 컴파일하여 전과정을 성공하였으나,, 샘플 실행이 안되는군요.ㅡ.ㅡ;
sudo ./df_gears
---------------------- DirectFB v0.9.25 ---------------------
(c) 2000-2002 convergence integrated media GmbH
(c) 2002-2004 convergence GmbH
-----------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2010-03-04 20:33)
(*) Direct/Memcpy: Using SSE optimized memcpy()
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 7056)...
(*) Direct/Thread: Running 'Linux Input' (INPUT, 7059)...
(!!!) *** UNIMPLEMENTED [fusion_reactor_set_lock] *** [reactor.c:853]
(*) DirectFB/Input: AT Translated Set 2 keyboard (1) 0.1 (convergence integrated media GmbH)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 7060)...
(*) DirectFB/Input: Power Button (FF) (2) 0.1 (convergence integrated media GmbH)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 7061)...
(*) DirectFB/Input: Sleep Button (FF) (3) 0.1 (convergence integrated media GmbH)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 7062)...
(*) DirectFB/Input: ImExPS/2 Generic Explorer Mouse (4) 0.1 (convergence integrated media GmbH)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 7063)...
(*) DirectFB/Input: PC Speaker (5) 0.1 (convergence integrated media GmbH)
(*) Direct/Thread: Running 'PS/2 Input' (INPUT, 7064)...
(*) DirectFB/Input: IMPS/2 Mouse 1.0 (Convergence GmbH)
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 7065)...
(*) DirectFB/Input: Keyboard 0.9 (convergence integrated media GmbH)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: MMX Software Rasterizer 0.6 (convergence integrated media GmbH)
(*) DirectFB/Core/WM: Default 0.2 (Convergence GmbH)
(!) DirectFB/FBDev: Panning display failed!
--> Invalid argument
(*) Direct/Interface: Loaded 'Default' implementation of 'IDirectFBFont'.
(*) Direct/Interface: Loaded 'DRI' implementation of 'IDirectFBGL'.
(!) DirectFB/FBDev: Could not mmap MMIO region (offset 0, length 0)!
--> Invalid argument
(!) DirectFB/DRI: failed to probe chipset
(#) DirectFBError [DirectFBGL: dfb_dri_create() failed]: General failure!
df_gears.c <344>:
(#) DirectFBError [primary->GetGL( primary, &primary_gl )]: General failure!
(!!!) *** WARNING [Application exited without deinitialization of DirectFB!] *** [core.c:741 in dfb_core_deinit_check()]
드라이버가 안맞는 걸로 보이는데, 아시는 분 계신지요? 매트록스로 하면 되려나..?
댓글 달기