glob2-devel
[Top][All Lists]
Advanced

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

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


From: Kieran P
Subject: Re: [glob2-devel] can't compile alpha22-rc with mingw, error in AIEcho.cpp
Date: Wed, 11 Apr 2007 10:16:18 +1200

I managed to try 3.4 (rather than 3.2.x or 3.3.x), and I get slightly different error message now:


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: `SendMessageA' has not been declared
AIEcho.cpp:3897: error: ISO C++ forbids declaration of `SendMessageA' with no type
AIEcho.cpp: In function `int SendMessageA(const std::string&)':
AIEcho.cpp:3897: error: only constructors take base initializers
AIEcho.cpp: At global scope:
AIEcho.cpp:3904: error: `SendMessageA' has not been declared
AIEcho.cpp: In function `void modify(AIEcho::Echo&)':
AIEcho.h:1625: error: `boost::shared_ptr<AIEcho::EchoAI> AIEcho::Echo::echoai' is private
AIEcho.cpp:3906: error: within this context
AIEcho.cpp:3906: error: `message' was not declared in this scope
AIEcho.cpp: At global scope:
AIEcho.cpp:3911: error: `SendMessageA' has not been declared
AIEcho.cpp:3918: error: `SendMessageA' has not been declared
AIEcho.cpp:3925: error: `SendMessageA' has not been declared
AIEcho.cpp: In function `bool load(GAGCore::InputStream*, Player*, Sint32)':
AIEcho.cpp:3928: error: cannot call member function `virtual bool AIEcho::Management::ManagementOrder::load(GAGCore::InputStream*, Player*, Sint32)' without object
AIEcho.cpp:3929: error: `message' was not declared in this scope
AIEcho.cpp: At global scope:
AIEcho.cpp:3936: error: `SendMessageA' has not been declared
AIEcho.cpp: In function `void save(GAGCore::OutputStream*)':
AIEcho.cpp:3939: error: cannot call member function `virtual void AIEcho::Management::ManagementOrder::save(GAGCore::OutputStream*)' without object
AIEcho.cpp:3940: error: `message' was not declared in this scope
make[2]: *** [AIEcho.o] Error 1
make[2]: Leaving directory `/home/Laurel/glob2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Laurel/glob2'
make: *** [all] Error 2



Still no luck compiling the windows build. Seems hopeless atm :(

But is this any more use?

--
Kieran.P
http://qlwiki.linuxsolutions.co.nz/
reply via email to

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