Re: Harvest System [Tutorial]
-------------- Build: SQLITE in eoserv ---------------
Precompiling header: ..\src\handlers\handlers.h
In file included from C:\Users\Learner\Desktop\Server\src\handlers\handlers.h:10:
../src/stdafx.h:22:29: tr1/unordered_map: No such file or directory
In file included from ../src/stdafx.h:31,
from C:\Users\Learner\Desktop\Server\src\handlers\handlers.h:10:
../src/util.hpp:595: error: `std::tr1' has not been declared
../src/util.hpp:595: error: `unordered_map' has not been declared
../src/util.hpp:595: error: expected `,' or `...' before '<' token
../src/util.hpp:595: error: ISO C++ forbids declaration of `parameter' with no type
In file included from ../src/stdafx.h:41,
from C:\Users\Learner\Desktop\Server\src\handlers\handlers.h:10:
../src/hook.hpp:51: error: `std::tr1' has not been declared
../src/hook.hpp:51: error: ISO C++ forbids declaration of `unordered_map' with no type
../src/hook.hpp:51: error: expected `;' before '<' token
../src/hook.hpp: In constructor `Hook_Call::Hook_Call(HookManager&, std::string)':
../src/hook.hpp:84: error: 'class HookManager' has no member named 'hooks'
../src/hook.hpp: In member function `Hook_Call& Hook_Call::operator[](T)':
../src/hook.hpp:97: error: 'class HookManager' has no member named 'hooks'
In file included from ../src/stdafx.h:44,
from C:\Users\Learner\Desktop\Server\src\handlers\handlers.h:10:
../src/socket.hpp: At global scope:
../src/socket.hpp:297: error: `hash' is not a template
../src/socket.hpp:298: error: explicit specialization of non-template `std::tr1::hash'
In file included from ../src/world.hpp:12,
from ../src/guild.hpp:12,
from ../src/character.hpp:12,
from C:\Users\Learner\Desktop\Server\src\handlers\handlers.h:12:
../src/config.hpp:16: error: expected template-name before '<' token
../src/config.hpp:16: error: expected `{' before '<' token
../src/config.hpp:16: error: expected unqualified-id before '<' token
In file included from ../src/world.hpp:13,
from ../src/guild.hpp:12,
from ../src/character.hpp:12,
from C:\Users\Learner\Desktop\Server\src\handlers\handlers.h:12:
../src/database.hpp:70: error: `unordered_map' is not a member of `std::tr1'
../src/database.hpp:70: error: `unordered_map' is not a member of `std::tr1'
../src/database.hpp:70: error: template argument 1 is invalid
../src/database.hpp:70: error: expected `{' before '>' token
../src/database.hpp:70: error: expected unqualified-id before '>' token
../src/database.hpp:165: error: field `callbackdata' has incomplete type
In file included from ../src/guild.hpp:12,
from ../src/character.hpp:12,
from C:\Users\Learner\Desktop\Server\src\handlers\handlers.h:12:
../src/world.hpp:99: error: field `config' has incomplete type
../src/world.hpp:100: error: field `admin_config' has incomplete type
../src/world.hpp:101: error: field `drops_config' has incomplete type
../src/world.hpp:102: error: field `shops_config' has incomplete type
../src/world.hpp:103: error: field `arenas_config' has incomplete type
../src/world.hpp:104: error: field `formulas_config' has incomplete type
../src/world.hpp:105: error: field `harvs_config' has incomplete type
../src/world.hpp:106: error: field `home_config' has incomplete type
../src/world.hpp:107: error: field `spells_config' has incomplete type
../src/world.hpp:108: error: field `warps_config' has incomplete type
../src/world.hpp:109: error: field `npcsay_config' has incomplete type
../src/world.hpp:110: error: field `effects_config' has incomplete type
../src/world.hpp:111: error: field `pet_config' has incomplete type
../src/world.hpp:112: error: field `fish_config' has incomplete type
../src/world.hpp:113: error: field `magicscroll_config' has incomplete type
../src/world.hpp: In static member function `static bool World::ScriptRegister(ScriptEngine&)':
../src/world.hpp:187: error: 'class World' has no member named 'config'
../src/world.hpp:188: error: 'class World' has no member named 'admin_config'
../src/world.hpp:189: error: 'class World' has no member named 'drops_config'
../src/world.hpp:190: error: 'class World' has no member named 'shops_config'
../src/world.hpp:191: error: 'class World' has no member named 'arenas_config'
../src/world.hpp:192: error: 'class World' has no member named 'formulas_config'
../src/world.hpp:193: error: 'class World' has no member named 'home_config'
In file included from ../src/character.hpp:12,
from C:\Users\Learner\Desktop\Server\src\handlers\handlers.h:12:
../src/guild.hpp: At global scope:
../src/guild.hpp:86: error: using-declaration for non-member at class scope
../src/guild.hpp:86: error: expected `;' before '<' token
../src/guild.hpp:87: error: using-declaration for non-member at class scope
../src/guild.hpp:87: error: expected `;' before '<' token
In file included from C:\Users\Learner\Desktop\Server\src\handlers\handlers.h:12:
../src/character.hpp:249: error: `std::tr1::unordered_map' has not been declared
../src/character.hpp:249: error: expected `,' or `...' before '<' token
../src/character.hpp:249: error: ISO C++ forbids declaration of `parameter' with no type
Process terminated with status 1 (0 minutes, 6 seconds)
50 errors, 0 warnings
14 years, 39 weeks ago
|
ksh95

Joined: 24th Aug 2010
Posts: 130
Re: Harvest System [Tutorial]
ananas i cant find this
this->formulas_config.Read(static_cast<std::string>(this->config["FormulasFile"]));
and i find this only
this->formulas_config.Read(this->config["FormulasFile"]);
so wat should i do?
(i am using rev189)
14 years, 28 weeks ago
|
Eozombie
Joined: 21st Jul 2011
Posts: 20
Re: Harvest System [Tutorial]
this is abit avanced for meh ;o dont understand it lol
13 years, 46 weeks ago
| | |