About Store Forum Documentation Contact



Post Reply 
Build error on type definitions
Author Message
gdalex Offline
Member

Post: #1
Build error on type definitions
Hi,

Since I update the lasts versions of Esenthel (I missed a few update due to laziness since the beginning of the year pfft), I have curious build error, most of the time on header files defining the common types.
Here is the log:

Quote:Hi,

Since I update the lasts versions of Esenthel (I missed a few update due to laziness since the beginning of the year pfft), I have curious build error, most of the time on header files defining the common types :

F:\LDA\Esenthel\Projects\_Build_\Server\Project 2010.vcxproj : warning :
Could not found the platform Emscripten referenced in the 'Server' project
1>------ Beginning of the built: Project: Server, Configuration: Release Win32 ------
1> stdafx.cpp
1>f:\lda\esenthel\bin\esenthelengine\_/structs.h(233): error C2061: syntax error: identifier 'CChar'
1>f:\lda\esenthel\bin\esenthelengine\_/structs.h(234): error C2061: syntax error: identifier 'CChar8'
1>f:\lda\esenthel\bin\esenthelengine\_/structs.h(237): error C2061: syntax error: identifier 'Char'
1>f:\lda\esenthel\bin\esenthelengine\_/structs.h(238): error C2061: syntax error: identifier 'Char8'
1>f:\lda\esenthel\bin\esenthelengine\_/structs.h(239): error C2061: syntax error: identifier 'Bool'
1>f:\lda\esenthel\bin\esenthelengine\_/structs.h(240): error C2061: syntax error: identifier 'SByte'
1>f:\lda\esenthel\bin\esenthelengine\_/structs.h(241): error C2061: syntax error: identifier 'Int'
1>f:\lda\esenthel\bin\esenthelengine\_/structs.h(242): error C2061: syntax error: identifier 'Long'
1>f:\lda\esenthel\bin\esenthelengine\_/structs.h(243): error C2061: syntax error: identifier 'Byte'
1>f:\lda\esenthel\bin\esenthelengine\_/structs.h(244): error C2061: syntax error: identifier 'UInt'
1>f:\lda\esenthel\bin\esenthelengine\_/structs.h(245): error C2061: syntax error: identifier 'ULong'
1>f:\lda\esenthel\bin\esenthelengine\_/structs.h(246): error C2061: syntax error: identifier 'Flt'
1>f:\lda\esenthel\bin\esenthelengine\_/structs.h(247): error C2061: syntax error: identifier 'Dbl'
1>f:\lda\esenthel\bin\esenthelengine\_/structs.h(248): error C2061: syntax error: identifier 'CPtr'
1>f:\lda\esenthel\bin\esenthelengine\_/structs.h(261): error C2061: syntax error: identifier 'CChar'
1>f:\lda\esenthel\bin\esenthelengine\_/structs.h(262): error C2061: syntax error: identifier 'CChar8'
1>f:\lda\esenthel\bin\esenthelengine\_/structs.h(265): error C2061: syntax error: identifier 'Char'
1>f:\lda\esenthel\bin\esenthelengine\_/structs.h(266): error C2061: syntax error: identifier 'Char8'
1>f:\lda\esenthel\bin\esenthelengine\_/structs.h(267): error C2061: syntax error: identifier 'Bool'
1>f:\lda\esenthel\bin\esenthelengine\_/structs.h(268): error C2061: syntax error: identifier 'SByte'
1>f:\lda\esenthel\bin\esenthelengine\_/structs.h(269): error C2061: syntax error: identifier 'Int'
1>f:\lda\esenthel\bin\esenthelengine\_/structs.h(270): error C2061: syntax error: identifier 'Long'
1>f:\lda\esenthel\bin\esenthelengine\_/structs.h(271): error C2061: syntax error: identifier 'Byte'
1>f:\lda\esenthel\bin\esenthelengine\_/structs.h(272): error C2061: syntax error: identifier 'UInt'
1>f:\lda\esenthel\bin\esenthelengine\_/structs.h(273): error C2061: syntax error: identifier 'ULong'
1>f:\lda\esenthel\bin\esenthelengine\_/structs.h(274): error C2061: syntax error: identifier 'Flt'
1>f:\lda\esenthel\bin\esenthelengine\_/structs.h(275): error C2061: syntax error: identifier 'Dbl'
1>f:\lda\esenthel\bin\esenthelengine\_/structs.h(276): error C2061: syntax error: identifier 'CPtr'
1>f:\lda\esenthel\bin\esenthelengine\_/warnings.h(5): error C2065: 'Bool'ÿ: undeclared identifier
1>f:\lda\esenthel\bin\esenthelengine\_/warnings.h(5): error C2070: ''unknown-type''ÿ: illegal size of operand sizeof
1>f:\lda\esenthel\bin\esenthelengine\_/warnings.h(5): error C2118: negative index
1>f:\lda\esenthel\bin\esenthelengine\_/warnings.h(6): error C2065: 'Char'ÿ: undeclared identifier
1>f:\lda\esenthel\bin\esenthelengine\_/warnings.h(6): error C2070: ''unknown-type''ÿ: illegal size of operand sizeof
1>f:\lda\esenthel\bin\esenthelengine\_/warnings.h(6): error C2118: negative index
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(18): error C2146: syntax error : missing ';' before identifier 'CharFlag'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(18): error C4430: missing type specifier - int assumed
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(18): error C2065: 'Char'ÿ: undeclared identifier
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(18): error C2146: syntax error : missing ')' before identifier 'c'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(18): error C4430: missing type specifier - int assumed
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(18): error C2059: syntax error: ')'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(19): error C2146: syntax error : missing ';' before identifier 'CharFlag'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(19): error C4430: missing type specifier - int assumed
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(19): error C2086: 'int EE::UInt': redefinition
1> f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(18)ÿ: see declaration of 'EE::UInt'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(19): error C2065: 'Char8'ÿ: undeclared identifier
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(19): error C2146: syntax error : missing ')' before identifier 'c'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(19): error C4430: missing type specifier - int assumed
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(19): error C2374: 'EE::CharFlag': redfinition; multiple initialization
1> f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(18)ÿ: see declaration of 'EE::CharFlag'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(19): error C2059: syntax error: ')'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(29): error C2065: 'Char'ÿ: undeclared identifier
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(29): error C2146: syntax error : missing ')' before identifier 'c'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(29): error C2059: syntax error: ')'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(30): error C2065: 'Char8'ÿ: undeclared identifier
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(30): error C2146: syntax error : missing ')' before identifier 'c'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(30): error C2374: 'EE::CharType': redfinition; multiple initialization
1> f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(29)ÿ: see declaration of 'EE::CharType'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(30): error C2059: syntax error: ')'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(32): error C2146: syntax error : missing ';' before identifier 'WhiteChar'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(32): error C4430: missing type specifier - int assumed
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(32): error C2065: 'Char'ÿ: undeclared identifier
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(32): error C2146: syntax error : missing ')' before identifier 'c'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(32): error C4430: missing type specifier - int assumed
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(32): error C2059: syntax error: ')'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(34): error C2146: syntax error : missing ';' before identifier 'Char16To8'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(34): error C4430: missing type specifier - int assumed
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(34): error C2065: 'Char'ÿ: undeclared identifier
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(34): error C2146: syntax error : missing ')' before identifier 'c'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(34): error C4430: missing type specifier - int assumed
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(34): error C2059: syntax error: ')'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(35): error C2146: syntax error : missing ';' before identifier 'Char8To16'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(35): error C4430: missing type specifier - int assumed
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(35): error C2146: syntax error : missing ')' before identifier 'c'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(35): error C4430: missing type specifier - int assumed
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(35): error C2059: syntax error: ')'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(37): error C2146: syntax error : missing ';' before identifier 'CaseDown'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(37): error C4430: missing type specifier - int assumed
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(37): error C2086: 'int EE::Char': redefinition
1> f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(35)ÿ: see declaration of 'EE::Char'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(37): error C2146: syntax error : missing ')' before identifier 'c'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(37): error C4430: missing type specifier - int assumed
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(37): error C2059: syntax error: ')'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(38): error C2146: syntax error : missing ';' before identifier 'CaseDown'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(38): error C4430: missing type specifier - int assumed
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(38): error C2086: 'int EE::Char8': redefinition
1> f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(34)ÿ: see declaration of 'EE::Char8'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(38): error C2146: syntax error : missing ')' before identifier 'c'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(38): error C4430: missing type specifier - int assumed
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(38): error C2374: 'EE::CaseDown': redfinition; multiple initialization
1> f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(37)ÿ: see declaration of 'EE::CaseDown'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(38): error C2059: syntax error: ')'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(39): error C2146: syntax error : missing ';' before identifier 'CaseUp'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(39): error C4430: missing type specifier - int assumed
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(39): error C2086: 'int EE::Char': redefinition
1> f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(35)ÿ: see declaration of 'EE::Char'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(39): error C2146: syntax error : missing ')' before identifier 'c'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(39): error C4430: missing type specifier - int assumed
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(39): error C2059: syntax error: ')'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(40): error C2146: syntax error : missing ';' before identifier 'CaseUp'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(40): error C4430: missing type specifier - int assumed
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(40): error C2086: 'int EE::Char8': redefinition
1> f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(34)ÿ: see declaration of 'EE::Char8'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(40): error C2146: syntax error : missing ')' before identifier 'c'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(40): error C4430: missing type specifier - int assumed
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(40): error C2374: 'EE::CaseUp': redfinition; multiple initialization
1> f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(39)ÿ: see declaration of 'EE::CaseUp'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(40): error C2059: syntax error: ')'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(42): error C2146: syntax error : missing ';' before identifier 'Compare'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(42): error C4430: missing type specifier - int assumed
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(42): error C2146: syntax error : missing ')' before identifier 'a'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(42): error C4430: missing type specifier - int assumed
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(42): error C2059: syntax error: ')'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(43): error C2146: syntax error : missing ';' before identifier 'Compare'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(43): error C4430: missing type specifier - int assumed
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(43): error C2086: 'int EE::Int': redefinition
1> f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(42)ÿ: see declaration of 'EE::Int'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(43): error C2146: syntax error : missing ')' before identifier 'a'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(43): error C4430: missing type specifier - int assumed
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(43): error C2374: 'EE::Compare': redfinition; multiple initialization
1> f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(42)ÿ: see declaration of 'EE::Compare'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(43): error C2059: syntax error: ')'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(44): error C2146: syntax error : missing ';' before identifier 'Compare'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(44): error C4430: missing type specifier - int assumed
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(44): error C2086: 'int EE::Int': redefinition
1> f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(42)ÿ: see declaration of 'EE::Int'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(44): error C2146: syntax error : missing ')' before identifier 'a'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(44): error C4430: missing type specifier - int assumed
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(44): error C2374: 'EE::Compare': redfinition; multiple initialization
1> f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(42)ÿ: see declaration of 'EE::Compare'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(44): error C2059: syntax error: ')'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(45): error C2146: syntax error : missing ';' before identifier 'Compare'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(45): error C4430: missing type specifier - int assumed
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(45): error C2086: 'int EE::Int': redefinition
1> f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(42)ÿ: see declaration of 'EE::Int'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(45): error C2146: syntax error : missing ')' before identifier 'a'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(45): error C4430: missing type specifier - int assumed
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(45): error C2374: 'EE::Compare': redfinition; multiple initialization
1> f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(42)ÿ: see declaration of 'EE::Compare'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(45): error C2059: syntax error: ')'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(47): error C2146: syntax error : missing ';' before identifier 'EqualCS'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(47): error C4430: missing type specifier - int assumed
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(47): error C2086: 'int EE::Bool': redefinition
1> f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(32)ÿ: see declaration of 'EE::Bool'
1>f:\lda\esenthel\bin\esenthelengine\Misc/Character.h(47): error C2146: syntax error : missing ')' before identifier 'a'

Any idea how to fix this ?
Thanks!
04-18-2014 10:46 AM
Find all posts by this user Quote this message in a reply
Rubeus Offline
Member

Post: #2
RE: Build error on type definitions
Did you try a clean and rebuild?
04-18-2014 07:20 PM
Find all posts by this user Quote this message in a reply
gdalex Offline
Member

Post: #3
RE: Build error on type definitions
Yep, still the same output :(
04-20-2014 02:13 PM
Find all posts by this user Quote this message in a reply
gdalex Offline
Member

Post: #4
RE: Build error on type definitions
And recreating a new project and importing the old sources still generates the same errors...
04-21-2014 07:50 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #5
RE: Build error on type definitions
Do included tutorials in the Engine compile well?
04-21-2014 09:53 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #6
RE: Build error on type definitions
I recommend opening your project in VS and investigating the compilation problem there.
04-21-2014 10:05 PM
Find all posts by this user Quote this message in a reply
gdalex Offline
Member

Post: #7
RE: Build error on type definitions
Hi,

Same errors while building any tuto !
Any other idea ? :/
@Esenthel: I've sent to you a small project, if you have the time to test it.. let me now smile
04-23-2014 06:03 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #8
RE: Build error on type definitions
You're using MusicTheme which was renamed to Playlist/PlayList. At least on latest version from subscription.
05-02-2014 10:12 PM
Find all posts by this user Quote this message in a reply
Post Reply