[Ginga-argentina] Problemas al compilar
Marcelo A. Vasquez
marcelo.vasquez.ar at gmail.com
Tue Apr 12 03:12:41 CEST 2011
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ourproject.org/pipermail/ginga-argentina/attachments/20110411/244f4834/attachment-0001.htm
More information about the Ginga-argentina
mailing list