OESF Portables Forum
Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => Qt/Qtopia => Topic started by: matthis on March 24, 2007, 05:53:15 am
-
Hi, I'm trying to compile the latest Wesnoth for sharp/cacko rom.
I'm the following error:
filesystem.cpp: In function `class istream * istream_file(const string &)':
filesystem.cpp:521: `::ios_base' undeclared (first use here)
filesystem.cpp:521: parse error before `::'
filesystem.cpp:531: parse error before `::'
filesystem.cpp: In function `class ostream * ostream_file(const string &)':
filesystem.cpp:546: parse error before `::'
filesystem.cpp:547: warning: control reaches end of non-void function `ostream_file(const string &)'
filesystem.cpp: In function `bool file_exists(const string &)':
filesystem.cpp:635: parse error before `::'
filesystem.cpp:636: request for member `rdstate' in `file', which is of non-aggregate type `ifstream ()(...)'
filesystem.cpp:638: request for member `close' in `file', which is of non-aggregate type `ifstream ()(...)'
make[2]: *** [filesystem.o] Error 1
What should I do?
-
Hi, I'm trying to compile the latest Wesnoth for sharp/cacko rom.
I'm the following error:
filesystem.cpp: In function `class istream * istream_file(const string &)':
filesystem.cpp:521: `::ios_base' undeclared (first use here)
filesystem.cpp:521: parse error before `::'
filesystem.cpp:531: parse error before `::'
filesystem.cpp: In function `class ostream * ostream_file(const string &)':
filesystem.cpp:546: parse error before `::'
filesystem.cpp:547: warning: control reaches end of non-void function `ostream_file(const string &)'
filesystem.cpp: In function `bool file_exists(const string &)':
filesystem.cpp:635: parse error before `::'
filesystem.cpp:636: request for member `rdstate' in `file', which is of non-aggregate type `ifstream ()(...)'
filesystem.cpp:638: request for member `close' in `file', which is of non-aggregate type `ifstream ()(...)'
make[2]: *** [filesystem.o] Error 1
What should I do?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=157100\"][{POST_SNAPBACK}][/a][/div]
use a newer compiler that supports c++ templates better...
-
Is that possible when compiling for the sharp rom?
-
Is that possible when compiling for the sharp rom?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=157104\"][{POST_SNAPBACK}][/a][/div]
yes, but only if you are not linking qte libraries... i had a modified pdaXrom cross compiler (gcc 3.4.5) that I used to compile X/QT apps with until that box died