[Gfoss] Building Ratman under Ubuntu 10.04

Sylvain33 kikiesttoujoursla a gmail.com
Lun 10 Maggio 2010 09:42:42 CEST


Hi,

I want to build Ratman under Ubuntu Luci Lynx 10.4 and I encounter this
problem during compilation :


../../../src/vic/qxml/database.hpp:198: error: ‘QString’ was not declared in
this scope
database.cpp: At global scope:
database.cpp:9: error: ISO C++ forbids declaration of ‘QString’ with no type
database.cpp:9: error: expected ‘,’ or ‘...’ before ‘&’ token
database.cpp: In function ‘void vic::qxml::parse_path_forwards(int)’:
database.cpp:14: error: ‘tag’ was not declared in this scope
database.cpp:14: error: ‘path’ was not declared in this scope
database.cpp:15: error: ‘remainder’ was not declared in this scope
database.cpp:17: error: ‘selector’ was not declared in this scope
database.cpp: At global scope:
database.cpp:9: warning: unused parameter ‘QString’
database.cpp:23: error: ISO C++ forbids declaration of ‘QString’ with no
type
database.cpp:23: error: expected ‘,’ or ‘...’ before ‘&’ token
database.cpp: In function ‘void vic::qxml::parse_path_backwards(int)’:
database.cpp:26: error: ‘path’ was not declared in this scope
database.cpp:27: error: ‘prefix’ was not declared in this scope
database.cpp:28: error: ‘att_name’ was not declared in this scope
database.cpp:31: error: ‘prefix’ was not declared in this scope
database.cpp: At global scope:
database.cpp:23: warning: unused parameter ‘QString’
database.cpp:36: error: ISO C++ forbids declaration of ‘QString’ with no
type
database.cpp:36: error: expected ‘,’ or ‘...’ before ‘&’ token
database.cpp: In function ‘vic::qxml::SelType
vic::qxml::parse_selector(int)’:
database.cpp:40: error: ‘selector’ was not declared in this scope
database.cpp:43: error: ‘selector’ was not declared in this scope
database.cpp:44: error: ‘sel_idx’ was not declared in this scope
database.cpp:49: error: ‘selector’ was not declared in this scope
database.cpp:51: error: ‘sel_idx’ was not declared in this scope
database.cpp:60: error: ‘att_name’ was not declared in this scope
database.cpp:61: error: ‘att_value’ was not declared in this scope
database.cpp: At global scope:
database.cpp:36: warning: unused parameter ‘QString’
database.cpp:79: error: ‘vic::qxml::compatible_node’ declared as an ‘inline’
variable
database.cpp:79: error: ‘QDomNode’ was not declared in this scope
database.cpp:79: error: ‘node’ was not declared in this scope
database.cpp:80: error: expected primary-expression before ‘const’
database.cpp:81: error: expected primary-expression before ‘int’
database.cpp:82: error: expected primary-expression before ‘int’
database.cpp:83: error: expected primary-expression before ‘int’
database.cpp:84: error: expected primary-expression before ‘const’
database.cpp:85: error: expected primary-expression before ‘const’
database.cpp:85: error: initializer expression list treated as compound
expression
database.cpp:85: error: expected ‘,’ or ‘;’ before ‘{’ token
database.cpp:100: error: ‘QDomNode’ does not name a type
database.cpp:142: error: ‘QDomNode’ does not name a type
database.cpp:150: error: ‘QDomNode’ does not name a type
database.cpp:190: error: ‘QDomNode’ does not name a type
database.cpp: In member function ‘void vic::qxml::database::save(const
char*)’:
database.cpp:205: error: ‘QFile’ was not declared in this scope
database.cpp:205: error: expected ‘;’ before ‘f’
database.cpp:206: error: ‘f’ was not declared in this scope
database.cpp:206: error: ‘QIODevice’ has not been declared
database.cpp:207: error: ‘mutex_’ was not declared in this scope
database.cpp:208: error: ‘QString’ was not declared in this scope
database.cpp:208: error: expected ‘;’ before ‘xml’
database.cpp:210: error: ‘QTextStream’ was not declared in this scope
database.cpp:210: error: expected ‘;’ before ‘stream’
database.cpp:211: error: ‘stream’ was not declared in this scope
database.cpp:211: error: ‘xml’ was not declared in this scope
database.cpp: In member function ‘int vic::qxml::database::count(const
char*) const’:
database.cpp:220: error: expected initializer before ‘&’ token
database.cpp:221: error: ‘QString’ was not declared in this scope
database.cpp:221: error: expected ‘;’ before ‘path’
database.cpp:222: error: expected ‘;’ before ‘path_left’
database.cpp:224: error: ‘root’ was not declared in this scope
database.cpp:224: error: ‘path’ was not declared in this scope
database.cpp:224: error: ‘path_left’ was not declared in this scope
database.cpp:224: error: ‘find_node_at_xpath’ was not declared in this scope
database.cpp: At global scope:
database.cpp:218: warning: unused parameter ‘key’
database.cpp:228: error: ISO C++ forbids declaration of ‘QString’ with no
type
database.cpp:228: error: expected ‘,’ or ‘...’ before ‘&’ token
database.cpp: In member function ‘int vic::qxml::database::get_int(int)
const’:
database.cpp:229: error: expected ‘;’ before ‘svalue’
database.cpp:229: warning: statement has no effect
database.cpp:231: error: ‘svalue’ was not declared in this scope
database.cpp:233: error: ‘key’ was not declared in this scope
database.cpp: At global scope:
database.cpp:240: error: ISO C++ forbids declaration of ‘QString’ with no
type
database.cpp:240: error: expected ‘,’ or ‘...’ before ‘&’ token
database.cpp: In member function ‘float vic::qxml::database::get_float(int)
const’:
database.cpp:241: error: expected ‘;’ before ‘svalue’
database.cpp:241: warning: statement has no effect
database.cpp:243: error: ‘svalue’ was not declared in this scope
database.cpp:245: error: ‘key’ was not declared in this scope
database.cpp: At global scope:
database.cpp:251: error: ‘QString’ does not name a type
database.cpp:276: error: ‘float vic::qxml::database::get_value_with_units’
is not a static member of ‘class vic::qxml::database’
database.cpp:276: error: ‘QString’ was not declared in this scope
database.cpp:276: error: ‘QString’ was not declared in this scope
database.cpp:276: error: initializer expression list treated as compound
expression
database.cpp:276: error: expected ‘,’ or ‘;’ before ‘const’
database.cpp:367: error: expected ‘}’ at end of input
database.cpp:367: error: expected ‘}’ at end of input
database.cpp:36: warning: ‘vic::qxml::SelType
vic::qxml::parse_selector(int)’ defined but not used
database.cpp:79: warning: ‘vic::qxml::compatible_node’ defined but not used
make[3]: *** [Release/database.o] Erreur 1
make[3]: quittant le répertoire «
/home/sylvain/Téléchargements/RATMAN/ratman_trunk/base/src/vic/qxml »
make[2]: *** [sub-qxml] Erreur 2
make[2]: quittant le répertoire «
/home/sylvain/Téléchargements/RATMAN/ratman_trunk/base/src/vic »
make[1]: *** [sub-vic] Erreur 2
make[1]: quittant le répertoire «
/home/sylvain/Téléchargements/RATMAN/ratman_trunk/base/src »
make: *** [sub-src] Erreur 2

Do you know any issue to build the package ?

Thanks
Sylvain

-- 
View this message in context: http://gfoss-geographic-free-and-open-source-software-italian-mailing.3056002.n2.nabble.com/Building-Ratman-under-Ubuntu-10-04-tp5029308p5029308.html
Sent from the Gfoss -- Geographic Free and Open Source Software - Italian mailing list mailing list archive at Nabble.com.


Maggiori informazioni sulla lista Gfoss