[Ginga-argentina] Problemas al compilar
Bruno Seabra Lima
bslima at telemidia.puc-rio.br
Tue Apr 12 22:37:25 CEST 2011
U have to enable de framebuffer device.
If u are using the Debian u just need to put vga=MODE onde the kernel boot
line.
Where mode is the resolution and depth color u wanna use.
At first u can try to use vga=ask, and is going to be presented the
modes available.
Bruno Seabra Mendonça Lima
--------------
Bacharel em Ciência da Computação - UFMA
Mestrando da PUC-Rio
Pesquisador Laboratório Telemidia (PUC-Rio)
Pesquisador Colaborador LAWS (UFMA)
Pesquisador/Desenvolvedor Intacto Software
-------------
www.bslima.com
2011/4/12 Marcelo A. Vasquez <marcelo.vasquez.ar at gmail.com>
> Hola Ezequiel.
>
> Encontre el comando ginga, pero en el directorio en donde quedo la
> instalacion, tendria que agregar eso al PATH supongo, no?
>
> Igual corri el comando desde el directorio en donde esta con root y me dio
> este error:
>
>
> root at myDebian:/usr/local/apps/ginga1.1/sbin# ./ginga --ncl
> /home/mvasquez/projects/HolaMundo.ncl
> Setting up terminate handler
>
> --------------------------| Ginga.ar 1.1.0 |--------------------------
>
> [Ginga] processing file
> commandline read: ginga
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.2.10 |~~~~~~~~~~~~~~~~~~~~~~~~~~
> (c) 2001-2008 The world wide DirectFB Open Source Community
> (c) 2000-2004 Convergence (integrated media) GmbH
> ----------------------------------------------------------------
>
> (*) DirectFB/Core: Single Application Core. (2010-06-30 18:37)
> (!) Direct/Util: opening '/dev/fb0' and '/dev/fb/0' failed
> --> No such file or directory
> (!) 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!
> /usr/local/src/
> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-system/src/io/interface/device/dfb/DFBDeviceScreen.cpp<89>:
> (#) DirectFBError [DirectFBCreate( &dfb)]: Initialization error!
> root at myDebian:/usr/local/apps/ginga1.1/sbin#
>
>
> Alguna idea?
>
> Saludos, Marcelo
>
>
> 2011/4/12 Ezequiel García <elezegarcia at yahoo.com.ar>
>
>> Es muy raro que no tengas el comando ginga. No me darías la salida de
>> estos dos comandos?
>>
>> $ sudo updatedb
>>
>> $ sudo locate ginga
>>
>> --- El *mar 12-abr-11, Marcelo A. Vasquez <marcelo.vasquez.ar at gmail.com>*escribió:
>>
>>
>> De: Marcelo A. Vasquez <marcelo.vasquez.ar at gmail.com>
>>
>> Asunto: Re: [Ginga-argentina] Problemas al compilar
>> Para: "Lista de la comunidad argentina de Ginga" <
>> ginga-argentina at lists.ourproject.org>
>> Fecha: martes, 12 de abril de 2011, 15:51
>>
>> Gracias chicos por responder.
>>
>> Les cuento que compilo bien, no tuve problemas, pero con mi usuario de
>> trabajo, no veo el comando "ginga"
>>
>> Por favor, me indican como hago para tener en el PATH el comando ginga?
>>
>> Por otro lado les cometo:
>>
>> La 1ra. guia que segui fue la de Ubuntu (
>> http://wiki.ginga.org.ar/doku.php?id=aprende:instalacion_ubuntu), porque?
>> no se .. y alli no figura la libreria "libgtest-dev".
>> Aunque debo mencionar que las 2 guias Debian o Ubuntu.
>> La forma de obtener los fuentes son distintas, una desde un FTP y otra
>> usando el Repositorio.
>>
>> Creo que para mejorar:
>> - Dejar una Guia para Debian y Ubunto
>> - Dejar una sola forma de obtener los fuentes, creo que para el
>> desarrollador es mejor el Subversion.
>>
>> Saludos y gracias por la ayuda.
>>
>> Marcelo
>>
>>
>>
>> 2011/4/12 Ezequiel García <*MailScanner has detected a possible fraud
>> attempt from "mc" claiming to be* *MailScanner has detected a possible
>> fraud attempt from "mc" claiming to be elezegarcia at yahoo.com.ar*<http://mc/[email protected]>
>> >
>>
>> Hola Marcelo,
>>
>> Como te señala Alejandro te falta la librería google-test. No sé si estás
>> siguiendo
>> las instrucciones de la wiki de nuestra comunidad, pero de todas maneras
>> te envío el link:
>>
>> http://wiki.ginga.org.ar/doku.php?id=aprende:instalacion
>>
>> <http://wiki.ginga.org.ar/doku.php?id=aprende:instalacion>En las
>> dependencias para Ubuntu/Debian ( y cualquier otra distro basado en ellas,
>> como
>> por ejemplo Tuquito) figura "libgtest-dev".
>>
>> Cualquier sugerencia sobre como mejorar la documentación de ayuda es
>> bienvenida.
>> También sería interesante si podés correr exitosamente los ejemplos.
>>
>> http://wiki.ginga.org.ar/doku.php?id=aprende:tutoriales_ncl-lua:inicio
>>
>> Saludos!
>>
>> --- El *mar 12-abr-11, Alejandro Alvarez <<http://mc/[email protected]>
>> **MailScanner has detected a possible fraud attempt from "mc" claiming to
>> be* *MailScanner has detected a possible fraud attempt from "mc" claiming
>> to be aalvarez at lifia.info.unlp.edu.ar>* escribió:
>>
>>
>> De: Alejandro Alvarez <*MailScanner has detected a possible fraud attempt
>> from "mc" claiming to be* *MailScanner has detected a possible fraud
>> attempt from "mc" claiming to be aalvarez at lifia.info.unlp.edu.ar*<http://mc/[email protected]>
>> >
>>
>> Asunto: Re: [Ginga-argentina] Problemas al compilar
>> Para: "Lista de la comunidad argentina de Ginga" <*MailScanner has
>> detected a possible fraud attempt from "mc" claiming to be* *MailScanner
>> has detected a possible fraud attempt from "mc" claiming to be
>> ginga-argentina at lists.ourproject.org*<http://mc/[email protected]>
>> >
>>
>> Fecha: martes, 12 de abril de 2011, 10:56
>>
>>
>> Hola Marcelo,
>>
>> estás en el paso de compilar los test de unidad de la librería conector.
>> Lo que te falta es la librería gtest (
>> http://code.google.com/p/googletest/).
>> Podes instalarla, o deshabilitar la compilación de los test cases desde el
>> archivo CMakelists.txt, que se encuentra
>> en src/gingacc-connector/CMakeLists.txt
>>
>> slds!
>>
>>
>> On Mon, Apr 11, 2011 at 10:12 PM, Marcelo A. Vasquez <marcelo.vasquez.ar@
>> gmail.com> wrote:
>>
>> Estimados.
>>
>> Segui la guia para la instalaciòn de Ginga en linux, en mi caso estoy
>> usando Debian, la ultima version.
>>
>> He llegado al paso final de compilar el Ginga:
>>
>> "Compilación Ginga.ar
>>
>> Estamos listos para compilar e instalar el *Ginga.ar* propiamente dicho.
>> En este caso, la instalación se realiza sobre el directorio */usr/local*.
>>
>>
>> cd 1.1.0/src/
>> sudo ./ginga-build.sh -i -S -P /usr/local -C /usr/local
>>
>> "
>>
>> Pero me da el siguiente error:
>>
>> [ 81%] Building CXX object
>> CMakeFiles/gingaccconnector.dir/src/service/service.cpp.o
>> [ 82%] Building CXX object
>> CMakeFiles/gingaccconnector.dir/src/service/serviceprovider.cpp.o
>> Linking CXX static library libgingaccconnector.a
>> [ 82%] Built target gingaccconnector
>> Scanning dependencies of target test
>> [ 83%] Building CXX object
>> CMakeFiles/test.dir/test/src/connector/connector.cpp.o
>> In file included from /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:7
>> :
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/../util.h:5:25:
>> error: gtest/gtest.h: No such file or directory
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:12:
>> error: ‘testing’ has not been declared
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:12:
>> error: expected ‘{’ before ‘Test’
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:12:
>> error: invalid type in declaration before ‘{’ token
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:12:
>> warning: extended initializer lists only available with -std=c++0x or
>> -std=gnu++0x
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:13:
>> error: expected primary-expression before ‘public’
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:13:
>> error: expected ‘}’ before ‘public’
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:13:
>> error: expected ‘,’ or ‘;’ before ‘public’
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:18:
>> error: declaration of ‘~ConnectorTest’ as non-member
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:
>> In function ‘void onConnect(int)’:
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:21:
>> error: ‘_connect’ was not declared in this scope
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:
>> In function ‘void onDisconnect(int)’:
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:26:
>> error: ‘_disconnect’ was not declared in this scope
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:
>> In function ‘void onConnectTimeout(int)’:
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:31:
>> error: ‘_connectTimeout’ was not declared in this scope
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:
>> In function ‘void onTimeout(int)’:
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:36:
>> error: ‘_timeout’ was not declared in this scope
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:
>> In function ‘connector::Connector* startServer(const std::string&, int)’:
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:42:
>> error: incomplete type ‘ConnectorTest’ used in nested name specifier
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:42:
>> error: invalid use of ‘this’ in non-member function
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:43:
>> error: incomplete type ‘ConnectorTest’ used in nested name specifier
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:43:
>> error: invalid use of ‘this’ in non-member function
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:44:
>> error: incomplete type ‘ConnectorTest’ used in nested name specifier
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:44:
>> error: invalid use of ‘this’ in non-member function
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:45:
>> error: incomplete type ‘ConnectorTest’ used in nested name specifier
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:45:
>> error: invalid use of ‘this’ in non-member function
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:
>> In function ‘connector::Connector* startClient(const std::string&, int,
>> int)’:
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:54:
>> error: incomplete type ‘ConnectorTest’ used in nested name specifier
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:54:
>> error: invalid use of ‘this’ in non-member function
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:55:
>> error: incomplete type ‘ConnectorTest’ used in nested name specifier
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:55:
>> error: invalid use of ‘this’ in non-member function
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:56:
>> error: incomplete type ‘ConnectorTest’ used in nested name specifier
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:56:
>> error: invalid use of ‘this’ in non-member function
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:
>> In function ‘void start()’:
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:62:
>> error: ‘_server’ was not declared in this scope
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:62:
>> error: ‘_pipe’ was not declared in this scope
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:64:
>> error: ‘_client’ was not declared in this scope
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:
>> At global scope:
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:71:
>> error: ‘virtual’ outside class declaration
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:
>> In function ‘void SetUp()’:
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:73:
>> error: ‘_pipe’ was not declared in this scope
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:74:
>> error: ‘_connect’ was not declared in this scope
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:74:
>> error: ‘_disconnect’ was not declared in this scope
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:74:
>> error: ‘_connectTimeout’ was not declared in this scope
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:74:
>> error: ‘_timeout’ was not declared in this scope
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:
>> At global scope:
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:77:
>> error: ‘virtual’ outside class declaration
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:
>> In function ‘void TearDown()’:
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:78:
>> error: ‘stop’ was not declared in this scope
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:
>> In function ‘void stop()’:
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:83:
>> error: ‘stopClient’ was not declared in this scope
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:84:
>> error: ‘stopServer’ was not declared in this scope
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:
>> In function ‘void stopServer()’:
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:88:
>> error: ‘_server’ was not declared in this scope
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:90:
>> error: type ‘<type error>’ argument given to ‘delete’, expected pointer
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:
>> In function ‘void stopClient()’:
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:96:
>> error: ‘_client’ was not declared in this scope
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:98:
>> error: type ‘<type error>’ argument given to ‘delete’, expected pointer
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:
>> At global scope:
>> /usr/local/src/
>> ginga.ar/tags/release/1.1.0/1.1.0/src/gingacc-connector/test/src/connector/connector.cpp:109:
>> error: expected declaration before ‘}’ token
>> make[2]: *** [CMakeFiles/test.dir/test/src/connector/connector.cpp.o]
>> Error 1
>> make[1]: *** [CMakeFiles/test.dir/all] Error 2
>> make: *** [all] Error 2
>>
>> Podrian indicarme cual es el problema?
>>
>> Muchas gracias por cualquier ayuda.
>>
>> Saludos, Marcelo
>>
>> _______________________________________________
>> Ginga-argentina mailing list
>> *MailScanner has detected a possible fraud attempt from "mc" claiming to
>> be* *MailScanner has detected a possible fraud attempt from "mc" claiming
>> to be MailScanner has detected a possible fraud attempt from "mc"
>> claiming to be MailScanner has detected a possible fraud attempt from
>> "mc" claiming to be MailScanner has detected a possible fraud attempt
>> from "mc" claiming to be MailScanner has detected a possible fraud
>> attempt from "mc" claiming to be Ginga-argentina at lists.ourproject.org*<http://mc/[email protected]>
>> *
>> https://lists.ourproject.org/cgi-bin/mailman/listinfo/ginga-argentina
>>
>> *
>>
>> *
>>
>>
>> --
>> Alejandro Alvarez
>> *
>> * *
>> *
>> *
>> *-----Adjunto en línea a continuación-----*
>> *
>>
>> *
>> *_______________________________________________
>> Ginga-argentina mailing list
>> <http://mc/[email protected]>**MailScanner
>> has detected a possible fraud attempt from "mc" claiming to be* *MailScanner
>> has detected a possible fraud attempt from "mc" claiming to be MailScanner
>> has detected a possible fraud attempt from "mc" claiming to be MailScanner
>> has detected a possible fraud attempt from "mc" claiming to be MailScanner
>> has detected a possible fraud attempt from "mc" claiming to be MailScanner
>> has detected a possible fraud attempt from "mc" claiming to be
>> Ginga-argentina at lists.ourproject.org*<http://mc/[email protected]>
>> *
>> https://lists.ourproject.org/cgi-bin/mailman/listinfo/ginga-argentina
>> *
>>
>>
>> _______________________________________________
>> Ginga-argentina mailing list
>>
>> *MailScanner has detected a possible fraud attempt from "mc" claiming to
>> be* *MailScanner has detected a possible fraud attempt from "mc" claiming
>> to be Ginga-argentina at lists.ourproject.org*<http://mc/[email protected]>
>> https://lists.ourproject.org/cgi-bin/mailman/listinfo/ginga-argentina
>>
>>
>>
>> -----Adjunto en línea a continuación-----
>>
>> _______________________________________________
>> Ginga-argentina mailing list
>> *MailScanner has detected a possible fraud attempt from "mc" claiming to
>> be* *MailScanner has detected a possible fraud attempt from "mc" claiming
>> to be Ginga-argentina at lists.ourproject.org*<http://mc/[email protected]>
>> https://lists.ourproject.org/cgi-bin/mailman/listinfo/ginga-argentina
>>
>>
>> _______________________________________________
>> Ginga-argentina mailing list
>> Ginga-argentina at lists.ourproject.org
>> https://lists.ourproject.org/cgi-bin/mailman/listinfo/ginga-argentina
>>
>>
>
> _______________________________________________
> Ginga-argentina mailing list
> Ginga-argentina at lists.ourproject.org
> https://lists.ourproject.org/cgi-bin/mailman/listinfo/ginga-argentina
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ourproject.org/pipermail/ginga-argentina/attachments/20110412/903be7c7/attachment-0001.htm
More information about the Ginga-argentina
mailing list