i try compiling the newest TFS and i follow some tutorials on the site but i get this when im trying to compile:
In file included from account.h:27,
from account.cpp:22:
enums.h:233: 'uint16_t' is used as a type, but is not defined as a type.
enums.h:234: 'uint16_t' is used as a type, but is not defined as a type.
enums.h:235: 'uint8_t' is used as a type, but is not defined as a type.
enums.h:236: 'uint8_t' is used as a type, but is not defined as a type.
enums.h:237: 'uint8_t' is used as a type, but is not defined as a type.
enums.h:238: 'uint8_t' is used as a type, but is not defined as a type.
enums.h:239: 'uint8_t' is used as a type, but is not defined as a type.
enums.h: In constructor `Outfit_t::Outfit_t()':
enums.h:224: `lookHead' undeclared (first use this function)
enums.h:224: (Each undeclared identifier is reported only once for each
function it appears in.)
enums.h:225: `lookBody' undeclared (first use this function)
enums.h:226: `lookLegs' undeclared (first use this function)
enums.h:227: `lookFeet' undeclared (first use this function)
enums.h:228: `lookType' undeclared (first use this function)
enums.h:229: `lookTypeEx' undeclared (first use this function)
enums.h:230: `lookAddons' undeclared (first use this function)
enums.h: At global scope:
enums.h:244: 'uint32_t' is used as a type, but is not defined as a type.
enums.h:245: 'uint32_t' is used as a type, but is not defined as a type.
enums.h:251: parse error before `_level'
enums.h:254: `_color' was not declared in this scope
enums.h:254: ISO C++ forbids declaration of `color' with no type
enums.h:254: ISO C++ forbids initialization of member `color'
enums.h:254: making `color' static
enums.h:254: ISO C++ forbids in-class initialization of non-const static member
`color'
enums.h: In constructor `LightInfo::LightInfo()':
enums.h:248: `level' undeclared (first use this function)
enums.h: At global scope:
enums.h:256: parse error before `}' token
In file included from account.cpp:22:
account.h:35: parse error before `,' token
account.h:37: 'int32_t' is used as a type, but is not defined as a type.
account.cpp: In constructor `Account::Account()':
account.cpp:26: `accnumber' undeclared (first use this function)
make.exe: *** [account.o] Error 1
What is it i do wrong or have missed? thanks in advance for help
In file included from account.h:27,
from account.cpp:22:
enums.h:233: 'uint16_t' is used as a type, but is not defined as a type.
enums.h:234: 'uint16_t' is used as a type, but is not defined as a type.
enums.h:235: 'uint8_t' is used as a type, but is not defined as a type.
enums.h:236: 'uint8_t' is used as a type, but is not defined as a type.
enums.h:237: 'uint8_t' is used as a type, but is not defined as a type.
enums.h:238: 'uint8_t' is used as a type, but is not defined as a type.
enums.h:239: 'uint8_t' is used as a type, but is not defined as a type.
enums.h: In constructor `Outfit_t::Outfit_t()':
enums.h:224: `lookHead' undeclared (first use this function)
enums.h:224: (Each undeclared identifier is reported only once for each
function it appears in.)
enums.h:225: `lookBody' undeclared (first use this function)
enums.h:226: `lookLegs' undeclared (first use this function)
enums.h:227: `lookFeet' undeclared (first use this function)
enums.h:228: `lookType' undeclared (first use this function)
enums.h:229: `lookTypeEx' undeclared (first use this function)
enums.h:230: `lookAddons' undeclared (first use this function)
enums.h: At global scope:
enums.h:244: 'uint32_t' is used as a type, but is not defined as a type.
enums.h:245: 'uint32_t' is used as a type, but is not defined as a type.
enums.h:251: parse error before `_level'
enums.h:254: `_color' was not declared in this scope
enums.h:254: ISO C++ forbids declaration of `color' with no type
enums.h:254: ISO C++ forbids initialization of member `color'
enums.h:254: making `color' static
enums.h:254: ISO C++ forbids in-class initialization of non-const static member
`color'
enums.h: In constructor `LightInfo::LightInfo()':
enums.h:248: `level' undeclared (first use this function)
enums.h: At global scope:
enums.h:256: parse error before `}' token
In file included from account.cpp:22:
account.h:35: parse error before `,' token
account.h:37: 'int32_t' is used as a type, but is not defined as a type.
account.cpp: In constructor `Account::Account()':
account.cpp:26: `accnumber' undeclared (first use this function)
make.exe: *** [account.o] Error 1
What is it i do wrong or have missed? thanks in advance for help
Last edited by a moderator: