I try to compile tmw on winxp and I get errors messages on account.cpp
the errors are:
src/net/accountserver/account.cpp: In function `void Net::AccountServer::Account::createCharacter(const std::string&, char, char, char, short int, short int, short int, short int, short int, short int)':
src/net/accountserver/account.cpp:37: error: `string' undeclared (first use this function)
src/net/accountserver/account.cpp:37: error: (Each undeclared identifier is reported only once for each function it appears in.)
src/net/accountserver/account.cpp: In function `void Net::AccountServer::Account::deleteCharacter(char)':
src/net/accountserver/account.cpp:57: error: request for member `writeByte' in `msg', which is of non-class type `MessageOut ()(short int)'
src/net/accountserver/account.cpp:59: error: invalid conversion from `MessageOut (*)(short int)' to `short int'
src/net/accountserver/account.cpp:59: error: initializing argument 1 of `MessageOut::MessageOut(short int)'
src/net/accountserver/account.cpp: In function `void Net::AccountServer::Account::selectCharacter(char)':
src/net/accountserver/account.cpp:64: error: `PAMSG_CHAR_SELECT' undeclared (first use this function)
src/net/accountserver/account.cpp: In function `void Net::AccountServer::Account::unregister()':
src/net/accountserver/account.cpp:73: error: `PAMSG_UNREGISTER' undeclared (first use this function)
src/net/accountserver/account.cpp: In function `void Net::AccountServer::Account::changeEmail(const std::string&)':
src/net/accountserver/account.cpp:79: error: `PAMSG_EMAIL_CHANGE' undeclared (first use this function)
src/net/accountserver/account.cpp: In function `void Net::AccountServer::Account::getEmail()':
src/net/accountserver/account.cpp:88: error: `PAMSG_EMAIL_GET' undeclared (first use this function)
src/net/accountserver/account.cpp: In function `void Net::AccountServer::Account::changePassword(const std::string&, const std::string&)':
src/net/accountserver/account.cpp:96: error: `PAMSG_PASSWORD_CHANGE' undeclared (first use this function)
src/net/accountserver/account.cpp: In function `void Net::AccountServer::Account::enterWorld()':
src/net/accountserver/account.cpp:106: error: `PAMSG_ENTER_WORLD' undeclared (first use this function)
src/net/accountserver/account.cpp: In function `void Net::AccountServer::Account::enterChat()':
src/net/accountserver/account.cpp:113: error: `PAMSG_ENTER_CHAT' undeclared (first use this function)
someone can help me?
[SOLVED] help me with compiler errors.
-
- Peon
- Posts: 3
- Joined: 12 Dec 2006, 04:48
- ElvenProgrammer
- Founder
- Posts: 2526
- Joined: 13 Apr 2004, 19:11
- Location: Italy
- Contact:
Re: help me with compiler errors.
This sounds a bit worrying, maybe you got a corrupted compiler installation?wsmuramoto wrote:src/net/accountserver/account.cpp:37: error: `string' undeclared (first use this function)
-
- Peon
- Posts: 3
- Joined: 12 Dec 2006, 04:48
Are you sure you want to compile the test client for the new server software and not the current official client? The client for the currently running server can be found on the svn repository in the folder /branches/0.0/. It doesn't require enet.
When you want to check out the very early stage of the new client/server combination then you can accquire enet by downloading the sourcecode of enet from http://enet.bespin.org, compiling it to a dynamic or static library (your choice) and putting it into your mingw library folder.
When you want to check out the very early stage of the new client/server combination then you can accquire enet by downloading the sourcecode of enet from http://enet.bespin.org, compiling it to a dynamic or static library (your choice) and putting it into your mingw library folder.
- former Manasource Programmer
- former TMW Pixel artist
- NOT a game master
Please do not send me any inquiries regarding player accounts on TMW.
You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
-
- Peon
- Posts: 3
- Joined: 12 Dec 2006, 04:48