When I run directfb sample df_sok, I got this error msg below, can anyone help? thanks.
I'm using imx6q board, and build from latest ltib without any problem.
root@freescale /$ df_dok
~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.0 |~~~~~~~~~~~~~~~~~~~~~~~~~~
(c) 2001-2009 The world wide DirectFB Open Source Community
(c) 2000-2004 Convergence (integrated media) GmbH
----------------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2014-02-04 07:39)
(*) Direct/Memcpy: Using libc memcpy()
:smileyalert: DirectFB/core/vt: Couldn't open neither `/dev/tty0' nor `/dev/vc/0'!
--> No such file or directory
:smileyalert: DirectFB/Core: Could not initialize 'system_core' core!
--> Initialization error!
df_dok.c <1457>:
(#) DirectFBError [DirectFBCreate( &dfb )]: Initialization error!
root@freescale /$
Did you try df_dok - - dfb:no-vt, if this doesn't work check the full debug trace
$> df_dok --dfb:debug
Also, you may need to compile the Linux Kernel with "Virtual terminal". You can find this option under Device Drivers ---> Character Devices ---> Virtual terminal.
Hope this helps