About Store Forum Documentation Contact



Post Reply 
can not compile rpg2 for ios
Author Message
xzessmedia Offline
Member

Post: #1
can not compile rpg2 for ios
hi, build fails with this output:

CompileC /Users/xzessmedia/Library/Developer/Xcode/DerivedData/Project-atmngufqmnctviccwmltpkxmairo/Build/Intermediates/Project.build/Debug-iphoneos/iOS.build/Objects-normal/armv7/Game.o Source/Game.cpp normal armv7 c++ com.apple.compilers.llvmgcc42
cd "/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Projects/_Build_/Esenthel RPG 2"
setenv LANG en_US.US-ASCII
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-gcc-4.2 -x c++ -arch armv7 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -O0 -DDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -ffast-math -Wno-invalid-offsetof -gdwarf-2 -fvisibility=hidden -fvisibility-inlines-hidden -fno-threadsafe-statics -mthumb -miphoneos-version-min=4.3 "-I/Users/xzessmedia/Library/Developer/Xcode/DerivedData/Project-atmngufqmnctviccwmltpkxmairo/Build/Intermediates/Project.build/Debug-iphoneos/iOS.build/Esenthel RPG 2.hmap" "-I/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Projects/_Build_/Esenthel RPG 2/include" -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/xzessmedia/Library/Developer/Xcode/DerivedData/Project-atmngufqmnctviccwmltpkxmairo/Build/Intermediates/Project.build/Debug-iphoneos/iOS.build/DerivedSources/armv7 -I/Users/xzessmedia/Library/Developer/Xcode/DerivedData/Project-atmngufqmnctviccwmltpkxmairo/Build/Intermediates/Project.build/Debug-iphoneos/iOS.build/DerivedSources "-F/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Projects/_Build_/Esenthel RPG 2" -fshort-wchar -ffriend-injection -fpermissive -include /Users/xzessmedia/Library/Developer/Xcode/DerivedData/Project-atmngufqmnctviccwmltpkxmairo/Build/Intermediates/PrecompiledHeaders/stdafx-cqyscvuxlkfuptglqgymwmfrppgl/stdafx.h -c "/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Projects/_Build_/Esenthel RPG 2/Source/Game.cpp" -o /Users/xzessmedia/Library/Developer/Xcode/DerivedData/Project-atmngufqmnctviccwmltpkxmairo/Build/Intermediates/Project.build/Debug-iphoneos/iOS.build/Objects-normal/armv7/Game.o

/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Projects/_Build_/Esenthel RPG 2/Source/Game.cpp:27: warning: this decimal constant is unsigned only in ISO C90
/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Projects/_Build_/Esenthel RPG 2/Source/Game.cpp:27: warning: this decimal constant is unsigned only in ISO C90
/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Projects/_Build_/Esenthel RPG 2/Source/Game.cpp:239: warning: this decimal constant is unsigned only in ISO C90
/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Projects/_Build_/Esenthel RPG 2/Source/Game.cpp:239: warning: this decimal constant is unsigned only in ISO C90
/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Projects/_Build_/Esenthel RPG 2/Source/Game.cpp:239: warning: this decimal constant is unsigned only in ISO C90
/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Projects/_Build_/Esenthel RPG 2/Source/Game.cpp:242: warning: this decimal constant is unsigned only in ISO C90
/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Projects/_Build_/Esenthel RPG 2/Source/Game.cpp:242: warning: this decimal constant is unsigned only in ISO C90
/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Projects/_Build_/Esenthel RPG 2/Source/Game.cpp:358: warning: this decimal constant is unsigned only in ISO C90
/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Projects/_Build_/Esenthel RPG 2/Source/Game.cpp:359: warning: this decimal constant is unsigned only in ISO C90
/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Projects/_Build_/Esenthel RPG 2/Source/Game.cpp:360: warning: this decimal constant is unsigned only in ISO C90
/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Projects/_Build_/Esenthel RPG 2/Source/Game.cpp:361: warning: this decimal constant is unsigned only in ISO C90
/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Projects/_Build_/Esenthel RPG 2/Source/Game.cpp:392: warning: this decimal constant is unsigned only in ISO C90
/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Projects/_Build_/Esenthel RPG 2/Source/Game.cpp:392: warning: this decimal constant is unsigned only in ISO C90
/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Projects/_Build_/Esenthel RPG 2/Source/Game.cpp:393: warning: this decimal constant is unsigned only in ISO C90
/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Projects/_Build_/Esenthel RPG 2/Source/Game.cpp:393: warning: this decimal constant is unsigned only in ISO C90
/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Projects/_Build_/Esenthel RPG 2/Source/Game.cpp:396: warning: this decimal constant is unsigned only in ISO C90
/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Projects/_Build_/Esenthel RPG 2/Source/Game.cpp:399: warning: this decimal constant is unsigned only in ISO C90
/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Projects/_Build_/Esenthel RPG 2/Source/Game.cpp:399: warning: this decimal constant is unsigned only in ISO C90
/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Projects/_Build_/Esenthel RPG 2/Source/Game.cpp:406: warning: this decimal constant is unsigned only in ISO C90
/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Projects/_Build_/Esenthel RPG 2/Source/Game.cpp:406: warning: this decimal constant is unsigned only in ISO C90
/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Projects/_Build_/Esenthel RPG 2/Source/Game.cpp:407: warning: this decimal constant is unsigned only in ISO C90
/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Projects/_Build_/Esenthel RPG 2/Source/Game.cpp:408: warning: this decimal constant is unsigned only in ISO C90
/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Projects/_Build_/Esenthel RPG 2/Source/Game.cpp:408: warning: this decimal constant is unsigned only in ISO C90
/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Projects/_Build_/Esenthel RPG 2/Source/Game.cpp:488: warning: this decimal constant is unsigned only in ISO C90
/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Projects/_Build_/Esenthel RPG 2/Source/Game.cpp:488: warning: this decimal constant is unsigned only in ISO C90
/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Projects/_Build_/Esenthel RPG 2/Source/Game.cpp:538: warning: this decimal constant is unsigned only in ISO C90
/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Projects/_Build_/Esenthel RPG 2/Source/Game.cpp:538: warning: this decimal constant is unsigned only in ISO C90
/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Projects/_Build_/Esenthel RPG 2/Source/Game.cpp: In function 'void ActionCheck()':
/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Projects/_Build_/Esenthel RPG 2/Source/Game.cpp:76: error: `.' cannot appear in a constant-expression
/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Projects/_Build_/Esenthel RPG 2/Source/Game.cpp:76: error: template argument 1 is invalid
/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Projects/_Build_/Esenthel RPG 2/Source/Game.cpp:76: error: invalid type in declaration before ';' token
/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Projects/_Build_/Esenthel RPG 2/Source/Game.cpp:86: warning: invalid conversion from 'EE::Game::Obj*' to 'int'
/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Projects/_Build_/Esenthel RPG 2/Source/Game.cpp:98: error: request for member 'valid' in 'cur_obj', which is of non-class type 'int'
/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Projects/_Build_/Esenthel RPG 2/Source/Game.cpp:103: error: 'cur_obj' cannot be used as a function
/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Projects/_Build_/Esenthel RPG 2/Source/Game.cpp:108: error: 'cur_obj' cannot be used as a function
/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Projects/_Build_/Esenthel RPG 2/Source/Game.cpp:113: error: 'cur_obj' cannot be used as a function
/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Projects/_Build_/Esenthel RPG 2/Source/Game.cpp:121: error: 'cur_obj' cannot be used as a function
/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Projects/_Build_/Esenthel RPG 2/Source/Game.cpp:126: error: 'cur_obj' cannot be used as a function
/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Projects/_Build_/Esenthel RPG 2/Source/Game.cpp:143: error: request for member 'valid' in 'cur_obj', which is of non-class type 'int'
/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Bin/EsenthelEngine/Memory/Memory.h: In function 'TYPE*& EE::Free(TYPE*&) [with TYPE = void*]':
/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Bin/EsenthelEngine/Misc/Templates.h:69: instantiated from 'EE::Mems<TYPE>& EE::Mems<TYPE>::clear() [with TYPE = void*]'
/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Bin/EsenthelEngine/Misc/Templates.h:72: instantiated from 'EE::Mems<TYPE>& EE::Mems<TYPE>::del() [with TYPE = void*]'
/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Bin/EsenthelEngine/Misc/Templates.h:182: instantiated from 'EE::Mems<TYPE>::~Mems() [with TYPE = void*]'
/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Bin/EsenthelEngine/Physics/Actor.h:154: instantiated from here
/Users/xzessmedia/Desktop/esenthel/Esenthel 2.0/Bin/EsenthelEngine/Memory/Memory.h:98: warning: casting 'void**' to 'void*&' does not dereference pointer

Royality Free Game Ressources
www.xzessmedia.de
03-17-2013 10:17 PM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #2
RE: can not compile rpg2 for ios
Hi,

Thanks for reporting the issue,

in the location of the error please replace
Reference<Game.Obj>
to
Reference<Game::Obj>

and it should compile.
This is because Code Editor does not yet convert codes which are currently disabled by the preprocessor.
03-18-2013 05:06 PM
Find all posts by this user Quote this message in a reply
Post Reply