Hola Gente
Me tomé unos días para instalar el entorno de
desarrollo, por un lado instalé el plugin para eclipse y por el otro lado
virtuabox con Kubuntu_Ginga. Mi PC tiene Windows XP.
Fue todo casi perfecto hasta que quise ejecutar el
primer ejemplo "Hola Mundo". El error que me surgió es uno que ya fue comentado
en la lista, algo similar a:
> ginga main() NCLFILE =
> commandline
read: ginga
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB
1.4.2
|~~~~~~~~~~~~~~~~~~~~~~~~~~
>
(c) 2001-2009 The world wide DirectFB Open Source
Community
> (c)
2000-2004 Convergence (integrated media)
GmbH
>
----------------------------------------------------------------
>
>
(*) DirectFB/Core: Single Application Core. (2010-05-14 08:42)
>
(!) X11: Error in XOpenDisplay for '(null)'
> (!) DirectFB/Core:
Could not initialize 'system_core' core!
> -->
Initialization error!
>
/var/tmp/portage/media-libs/gingacc-system-0.11.1/work/gingacc-system-0.11.1/src/io/interface/device/dfb/DFBDeviceScreen.cpp
>
<87>:
> (#)
DirectFBError [DirectFBCreate( &dfb)]: Initialization
error!
>
Aclaro que de linux se muy poco. La forma
de ejecutar esto era: abría una terminal presionando
<ctrl><alt><F1>. Me logueaba con el usuario virtualbox y
ejecutaba el comando:
ginga --ncl /path/archivo.ncl
De esta forma me tiraba el error que copié
arriba.
Luego lo que hice es desde el entorno
grafico, botón inicio (o como se llame en kubuntu) > Applications > System
> Terminal. Y ejecutaba el mismo comando que en la opción 1 en este caso
funcionó perfectamente. Debe haber una explicación lógica desde el punto de
vista de linux pero como no se mucho le dejo la explicación a algún capo que
seguramente anda dando vuelta por estos pagos.
Aclaro que tuve que configurar la máxima virtual con 512 MB de
memoria base sino cuando tenía 256 Mb y quería ejecutar los ejemplos en el modo
gráfico me tira el siguiente error
~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.2.7
|~~~~~~~~~~~~~~~~~~~~~~~~~~
(c)
2001-2008 The world wide DirectFB Open Source
Community
(c) 2000-2004 Convergence (integrated media)
GmbH
----------------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2009-06-02 06:33)
(*) Direct/Thread: Started 'Joystick Input' (-1) [INPUT OTHER/OTHER 0/0]
<8388608>...
(*) DirectFB/Input: Joystick 0.9
(directfb.org)
(!!!) *** WARNING [out of memory] ***
[../../../src/core/input.c:1127 in
init_axes()]
(*) Direct/Thread: Started 'X11 Input' (-1) [INPUT OTHER/OTHER 0/0]
<8388608>...
(*) DirectFB/Input: X11 Input 0.1
(directfb.org)
(*) DirectFB/Genefx: MMX detected and
enabled
(!!!) *** ONCE [Joystick sends JS_EVENT_INIT events, make sure
it has been calibrated using 'jscal -c'
] ***
[../../../inputdrivers/joystick/joystick.c:99 in joystick_handle_event()]
(*)
DirectFB/Graphics: MMX Software Rasterizer 0.6 (directfb.org)
(*)
DirectFB/Core/WM: Default 0.3 (directfb.org)
(*) X11/Window: Creating
720x 576 RGB32 window...
(*) X11/Display: Using XShm.
(#) DirectFBError
[gingacc-systemio DFBDeviceScreen TestConfig error: ]: Not
supported!
InputManager::initializeInputIntervalTime imperative = '0'
declarative = '200'
* Connector Started *
[Connector] Info: Using
unix socket: /tmp/gingaconnector.socket
[Connector] Starting in client
mode.
[Connector] Info: Connector Thread Started
[Connector] Error:
couldn't connect. Retrying in 5 seconds.
lssm ccm::sp
cond_wait
[Connector] Error: couldn't connect. Retrying in 5
seconds.
[Connector] Error: couldn't connect. Retrying in 5
seconds.
[Connector] Error: couldn't connect. Retrying in 5
seconds.
[Connector] Error: couldn't connect. Retrying in 5
seconds.
[Connector] Error: couldn't connect. Retrying in 5
seconds.
[Connector] Error: couldn't connect. Retrying in 5
seconds.
[Connector] Error: couldn't connect. Retrying in 5
seconds.
Después termine asociando los arhcivo .ncl al comando ginga
--ncl y fuciona perfecto. Cuento mi experiencia por si a alguno mas se encuentra
con estos errores.
Saludos
Daniel