glob2-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[glob2-devel] can't compile alpha22-rc with mingw, error in AIEcho.cpp


From: Martin Hinrichs
Subject: [glob2-devel] can't compile alpha22-rc with mingw, error in AIEcho.cpp
Date: Thu, 5 Apr 2007 16:19:15 +0200

Hello,
I tried to compile glob2 under Windows XP with mingw following the
steps in this howto:
http://globulation2.org/wiki/Mingw_compilation
and fetched the alpha22-rc release in cvs.
Everything goes fine until compiling. Make quits with this error:

if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/SDL -Dmain=SDL_main
-I./../libgag/include  -I/usr/include/SDL -Dmain=SDL_main
-I/usr/include/freetype2  -O3 -march=i686 -I/usr/include/SDL
-Dmain=SDL_main -MT AIEcho.o -MD -MP -MF ".deps/AIEcho.Tpo" \
-c -o AIEcho.o `test -f 'AIEcho.cpp' || echo './'`AIEcho.cpp; \
then mv ".deps/AIEcho.Tpo" ".deps/AIEcho.Po"; \
else rm -f ".deps/AIEcho.Tpo"; exit 1; \
fi
AIEcho.cpp:3897: error: syntax error before `::' token
AIEcho.cpp:3904: error: syntax error before `::' token
AIEcho.cpp:3911: error: syntax error before `::' token
AIEcho.cpp:3918: error: syntax error before `::' token
AIEcho.cpp:3925: error: syntax error before `::' token
AIEcho.cpp:3928: error: `stream' was not declared in this scope
AIEcho.cpp:3928: error: `player' was not declared in this scope
AIEcho.cpp:3928: error: `versionMinor' was not declared in this scope
AIEcho.cpp:3928: error: ISO C++ forbids declaration of `load' with no type
AIEcho.cpp:3928: error: `int AIEcho::Management::ManagementOrder::load' is not
a static member of `class AIEcho::Management::ManagementOrder'
AIEcho.cpp:3928: error: initializer list being treated as compound expression
AIEcho.cpp:3929: error: ISO C++ forbids declaration of `message' with no type
AIEcho.cpp:3929: error: `stream' was not declared in this scope
AIEcho.cpp:3930: error: syntax error before `->' token
AIEcho.cpp:3936: error: syntax error before `::' token
AIEcho.cpp:3939: error: `stream' was not declared in this scope
AIEcho.cpp:3939: error: ISO C++ forbids declaration of `save' with no type
AIEcho.cpp:3939: error: `int AIEcho::Management::ManagementOrder::save' is not
a static member of `class AIEcho::Management::ManagementOrder'
AIEcho.cpp:3940: error: syntax error before `->' token
AIEcho.cpp:3941: error: syntax error before `->' token
make[2]: *** [AIEcho.o] Error 1
make[2]: Leaving directory `/home/martin/glob2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/martin/glob2'
make: *** [all] Error 2

This looks like a problem in the code to me.
Did I do something wrong?

Thank you for your help,
Martin Hinrichs




reply via email to

[Prev in Thread] Current Thread [Next in Thread]