DirectFB 설치 / 개발환경 설정 / 예제 실행 질문드립니다. 도와주세요!!
parkseonghee@ubuntu:/usr/local/bin$ ls
df_andi dfbmaster df_flip df_palette directfb-csource
dfbdump dfbpenmount df_fonts df_particle libpng12-config
dfbfx dfbscreen df_input df_porter libpng-config
dfbg df_cpuload df_joystick df_stress mkdfiff
dfbinfo df_databuffer df_knuckles df_texture mkdgiff
dfbinput df_dioload df_layer df_video pss
dfbinspector df_dok df_matrix df_video_particle spacedream
dfblayer df_drivertest df_neo df_window
df_bltload df_fire df_netload directfb-config
parkseonghee@ubuntu:/usr/local/bin$ ./df_dok
~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.2.9 |~~~~~~~~~~~~~~~~~~~~~~~~~~
(c) 2001-2008 The world wide DirectFB Open Source Community
(c) 2000-2004 Convergence (integrated media) GmbH
----------------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2013-01-27 05:17)
(!) Direct/Util: opening '/dev/fb0' failed
--> Permission denied
(!) DirectFB/FBDev: Error opening framebuffer device!
(!) DirectFB/FBDev: Use 'fbdev' option or set FRAMEBUFFER environment variable.
(!) DirectFB/Core: Could not initialize 'system_core' core!
--> Initialization error!
df_dok.c <1457>:
(#) DirectFBError [DirectFBCreate( &dfb )]: Initialization error!
parkseonghee@ubuntu:/usr/local/bin$ sudo ./df_dok
[sudo] password for parkseonghee:
~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.2.9 |~~~~~~~~~~~~~~~~~~~~~~~~~~
(c) 2001-2008 The world wide DirectFB Open Source Community
(c) 2000-2004 Convergence (integrated media) GmbH
----------------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2013-01-27 05:17)
(*) Direct/Thread: Started 'VT Switcher' (-1) [CRITICAL OTHER/OTHER 0/0] <8388608>...
(*) Direct/Thread: Started 'Keyboard Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(*) Direct/Thread: Started 'PS/2 Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: IMPS/2 Mouse (1) 1.0 (directfb.org)
(*) Direct/Thread: Started 'PS/2 Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: IMPS/2 Mouse (2) 1.0 (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: Sleep Button (2) 0.1 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: AT Translated Set 2 keyboard (3) 0.1 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: ImExPS/2 Generic Explorer Mouse (4) 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/Mode: Setting 800x600 RGB32
(*) FBDev/Mode: Switched to 800x600 (virtual 800x600) at 32 bit (RGB32), pitch 3200
(*) FBDev/Surface: Allocated 800x600 32 bit RGB32 buffer (index 0) at offset 0 and pitch 3200.
df_dok.c <1502>:
(#) DirectFBError [dfb->CreateImageProvider( dfb, DATADIR"/biglogo.png", &provider )]: 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()]
(!!!) *** WARNING [still objects in 'Surface Pool'] *** [object.c:241 in fusion_object_pool_destroy()]
참고링크 : http://blog.naver.com/PostView.nhn?blogId=y851004&logNo=20063548168&widgetTypeCall=true
http://blog.naver.com/PostView.nhn?blogId=antoniobald&logNo=50143834430
여기 두곳을 참고해서 directfb를 사용하려고 하는데요,, 위와 같은 오류가 뜹니다. 원인을 몰라서 해매고있네요..
도와주시면 감사하겠습니다.
또 참고링크에서 오류가 나서 건너뛴부분도 있어요.. 여기저기 설치방법들이 달라서 어느게 정통한건지 모르겠습니다.
도움주시면 감사하겠습니다.
No (suitable) implementation found!
png 파일 디코딩하는 라이브러리가 없어서 그런 것 같네요.
경험상,
configure 할 때 png 라이브러리가 없어서 png 디코딩 implementation이 빌드가 안된 것으로 추정됩니다.
참고하세요.
어떤 라이브러리인가요?ㅠ
png파일을 디코딩하는 라이브러리가 무엇인가요?
libpng라는 라이브러리는 했는데 이것은 아니죠??ㅠㅠ
configure할 때..
configure 할때 libpng 라이브러리를 인식했나요?
기본적으로 libpng를 먼저 빌드해야 하고, LD_LIBRARY_PATH 등으로 인식시켜줘야 합니다.
libpng인식합니다
인식을 하는데 안되네요?ㅠㅠ
왜일까요?ㅠ 혹시 무언가 더 설치할건 없는거죠? 원래 되야하는거죠?
설치방법이 혹시 이상하다면 설치방법이 잘나와있는 곳 같은데는 없을까요?ㅠ
댓글 달기