Game Development Community

itgb compilation error in new engine source also

by Amdon · in iTorque 2D · 08/12/2009 (12:35 am) · 2 replies

Hi,

We are new to TGB/iTgb and also X-code,
we are using xcode v3.1.3,itgb v1.2,

we compiled another application in x-code which is not related to torque, it compiles well, and it works in itouch.

when we compiling itbg(1.2) in xcode(v3.1.3) with out changing any files,
It compiles 444source files with 2092 warnings,
error report
".......__/engine/compilers/Xcode_iPhone/../../source/platformiPhone/TextEntry_Wrapper.mm:32: warning: enumeration value 'UIInterfaceOrientationPortrait' not handled in switch
Build succeeded (2092 warnings)...."
and
In simulator 3.0, it works some time, most of the time the gdb error occur,
In Touch I-pad(V3.0)(even we have apple developer certifiecate) Its not working, its shows gdb error and exc_bad_access,

run time error report "
[Session started at 2009-08-12 15:25:18 +0800.]
GNU gdb 6.3.50-20050815 (Apple version gdb-966) (Tue Mar 10 02:43:13 UTC 2009)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-apple-darwin".sharedlibrary apply-load-rules all
Attaching to process 48930.
(gdb) ...... "


how to resolve this problem,

problem with itgb or xcode or any other.....

Can any one re-solve this problem.


#1
08/12/2009 (3:03 am)
bad access normally means that your scripts are not created correctly, potentially because you use script / script_optimize build target but did not recompiled TGB and TGBGame with the corresponding compiler flags

as for the error: never seen that
#2
08/12/2009 (7:16 pm)
thanks Marc,but we never modifie any script in this source/script files, we are modified and compiled its shows some errors, so that now we are trying to compile with new engine source files & errors as shown above. how to resolve this, Is any one facing problems when compiling itgb(v1.2) in xcode(v3.1.3)?...