{"id":5341,"date":"2014-03-30T20:51:32","date_gmt":"2014-03-30T20:51:32","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/problem-about-directfb-collection-of-common-programming-errors\/"},"modified":"2014-03-30T20:51:32","modified_gmt":"2014-03-30T20:51:32","slug":"problem-about-directfb-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/problem-about-directfb-collection-of-common-programming-errors\/","title":{"rendered":"problem about directfb-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/d3c16875cb7591dd6fee7fab692c0459?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nPrakash<br \/>\nc linux framebuffer directfb<br \/>\nI recently downloaded DirectFB code version 1.7 from http:\/\/directfb.org\/downloads\/Core\/DirectFB-1.7\/DirectFB-1.7.0.tar.gz. After configuring ,compilation and installation I see the below files:# ls -l \/usr\/lib\/*directfb* lrwxrwxrwx 1 root root 24 Dec 4 2011 \/usr\/lib\/libdirectfb-1.2.so.9 -&gt; libdirectfb-1.2.so.9.0.1 -rw-r&#8211;r&#8211; 1 root root 545516 Dec 4 2011 \/usr\/lib\/libdirectfb-1.2.so.9.0.1\/usr\/lib\/directfb-1.2-9: total 20The version of the lib installed in in-correct or rather old as s<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/368fb99f86e2264ceec0539a3746b9d3?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nJules<br \/>\nlinux arm cross-compiling cortex-a8 directfb<br \/>\nTrying to get a working directfb for use in an embedded system based on an i.MX53 processor (which is an ARM Cortex-A8 core) running Linux 2.6.35.3 (as supplied by Freescale).I have installed a cross compiler on my i686 debian host system. The cross compiler came from the embedian.org archive, and is the gcc-4.3-arm-linux-gnueabi package (arm-linux-gnueabi-gcc (Debian 4.3.2-1.1) 4.3.2). This is supplied with glibc 2.7. This is a different version from the version on my target system, which is<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/DoLiu.jpg?s=32&amp;g=1\" \/><br \/>\nTom Brito<br \/>\nc++ g++ directfb<br \/>\nI got the following directFB example code form the tutorials:#include &lt;stdio.h&gt; #include &lt;unistd.h&gt;#include &lt;directfb\/directfb.h&gt;static IDirectFB *dfb = NULL; static IDirectFBSurface *primary = NULL; static int screen_width = 0; static int screen_height = 0; #define DFBCHECK(x&#8230;) \\{ \\DFBResult err = x; \\\\if (err != DFB_OK)<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Prakash c linux framebuffer directfb I recently downloaded DirectFB code version 1.7 from http:\/\/directfb.org\/downloads\/Core\/DirectFB-1.7\/DirectFB-1.7.0.tar.gz. After configuring ,compilation and installation I see the below files:# ls -l \/usr\/lib\/*directfb* lrwxrwxrwx 1 root root 24 Dec 4 2011 \/usr\/lib\/libdirectfb-1.2.so.9 -&gt; libdirectfb-1.2.so.9.0.1 -rw-r&#8211;r&#8211; 1 root root 545516 Dec 4 2011 \/usr\/lib\/libdirectfb-1.2.so.9.0.1\/usr\/lib\/directfb-1.2-9: total 20The version of the lib installed in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5341","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5341","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=5341"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5341\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=5341"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=5341"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=5341"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}