v1.3.2 and the first few tutorials

View previous topic View next topic Go down

v1.3.2 and the first few tutorials

Post  jmc223 on Mon Jan 26, 2009 7:44 pm

Something does not seem right with the new release and the first 3 tutorials. I ran them fine with 1.3.1. Also, I can run tutorials 4, 5, and 6 OK with the new release. However, the first 3 don't display anything and just say "Loading..." for a while and then go back to the main menu.

Thanks for the help.

jmc223

Posts : 3
Join date : 2009-01-26

View user profile

Back to top Go down

Re: v1.3.2 and the first few tutorials

Post  sio2interactive on Mon Jan 26, 2009 7:51 pm

Can you please be a little bit more precise... Can you please use your debugger (Apple Key + Y) to tell me where the crash occur...
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: v1.3.2 and the first few tutorials

Post  jmc223 on Mon Jan 26, 2009 8:11 pm

The error I see is:
1/26/09 9:03:09 PM tutorial01[192] Error loading /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder: dlopen(/Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder, 262): Symbol not found: _SCDynamicStoreCopyConsoleUser
Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
Expected in: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0.sdk/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration


Thanks.

jmc223

Posts : 3
Join date : 2009-01-26

View user profile

Back to top Go down

Re: v1.3.2 and the first few tutorials

Post  jmc223 on Mon Jan 26, 2009 8:21 pm

Never mind. My bad. Xcode had the wrong SDK executable selected for the simulator. Rolling Eyes I'm really new to Xcode.

Thanks for the help.

jmc223

Posts : 3
Join date : 2009-01-26

View user profile

Back to top Go down

Re: v1.3.2 and the first few tutorials

Post  shul on Fri Feb 13, 2009 9:03 am

Hi,
Maybe this is my problem too.. what should be Xcode's settings? in example 6_2 I either get all the objects fall through the floor or it shows correctly but exits after a few seconds, can anyone else see it? I am using ipod touch I

Thanks,
Shaul

shul

Posts : 23
Join date : 2008-10-18

View user profile

Back to top Go down

Re: v1.3.2 and the first few tutorials

Post  Admin on Fri Feb 13, 2009 3:58 pm

Can you use your debugger and report me which line cause problem?

Admin
Admin

Posts : 10
Join date : 2008-08-26

View user profile http://forum.sio2interactive.com

Back to top Go down

Re: v1.3.2 and the first few tutorials

Post  shul on Fri Feb 13, 2009 4:24 pm

Hi,
6_1 fails in debug mode on the device (ver 2.2.1, 8GB touch) at btDvt.cpp line 194:

Code:
Merge(prev->childs[0]->volume,prev->childs[1]->volume,prev->volume);


(gdb) backtrace
#0 0x000982b4 in removeleaf (pdbvt=0x320b3c, leaf=0x329780) at /Users/shul/Desktop/SIO2_SDK_v1.3.2/tutorial06_1/../src/bullet/btDbvt.cpp:194
#1 0x000989c4 in btDbvt::~btDbvt (this=0x319c80) at /Users/shul/Desktop/SIO2_SDK_v1.3.2/tutorial06_1/../src/bullet/btDbvt.cpp:418
#2 0x0009bb18 in btDbvtBroadphase::setAabb (this=0x320b10, absproxy=0x327ee0, aabbMin=@0x2fffeb68, aabbMax=@0x2fffeb58) at /Users/shul/Desktop/SIO2_SDK_v1.3.2/tutorial06_1/../src/bullet/btDbvtBroadphase.cpp:276
#3 0x000755e8 in btCollisionWorld::updateAabbs (this=0x320d80) at /Users/shul/Desktop/SIO2_SDK_v1.3.2/tutorial06_1/../src/bullet/btCollisionWorld.cpp:155
#4 0x0007590c in btCollisionWorld::performDiscreteCollisionDetection (this=0x320d80) at /Users/shul/Desktop/SIO2_SDK_v1.3.2/tutorial06_1/../src/bullet/btCollisionWorld.cpp:179
#5 0x000a2e04 in btDiscreteDynamicsWorld::internalSingleStepSimulation (this=0x320d80, timeStep=0.0344827585) at /Users/shul/Desktop/SIO2_SDK_v1.3.2/tutorial06_1/../src/bullet/btDiscreteDynamicsWorld.cpp:398
#6 0x001039d0 in btSoftRigidDynamicsWorld::debugDrawWorld (this=0x1039d0) at /Users/shul/Desktop/SIO2_SDK_v1.3.2/tutorial06_1/../src/bullet/btSoftRigidDynamicsWorld.cpp:119
#7 0x000a45fc in btDiscreteDynamicsWorld::stepSimulation (this=0x320d80, timeStep=0.0344827585, maxSubSteps=1, fixedTimeStep=0.0344827585) at /Users/shul/Desktop/SIO2_SDK_v1.3.2/tutorial06_1/../src/bullet/btDiscreteDynamicsWorld.cpp:362
#8 0x0005783c in sio2PhysicCollisionCallback (cp=@0x5783c, colObj0=0x2fffee58, partId0=3843, index0=3269136, colObj1=0x145330, partId1=3251328, index1=805302000) at /Users/shul/Desktop/SIO2_SDK_v1.3.2/tutorial06_1/../src/sio2/sio2_physic.cc:803
#9 0x00002bdc in -[EAGLView drawView] (self=0x319c80, _cmd=0x145330) at /Users/shul/Desktop/SIO2_SDK_v1.3.2/tutorial06_1/Classes/EAGLView.mm:82
#10 0x306942a6 in __NSFireTimer ()
#11 0x30269d8e in CFRunLoopRunSpecific ()
#12 0x30269326 in CFRunLoopRunInMode ()
#13 0x31567e60 in GSEventRunModal ()
#14 0x30a4fa74 in -[UIApplication _run] ()
#15 0x30a591d8 in UIApplicationMain ()
#16 0x0000210c in main (argc=1, argv=0x2ffff4f8) at /Users/shul/Desktop/SIO2_SDK_v1.3.2/tutorial06_1/main.mm:22
Current language: auto; currently c++

shul

Posts : 23
Join date : 2008-10-18

View user profile

Back to top Go down

Re: v1.3.2 and the first few tutorials

Post  sio2interactive on Fri Feb 13, 2009 4:32 pm

Intresting... cuz Im having the same: ipod touch 8g, 2.2.1 and it work fine... I'll double check, will keep you posted...
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: v1.3.2 and the first few tutorials

Post  sio2interactive on Fri Feb 13, 2009 4:36 pm

I test it again on the device, and it work fine... maybe do a clean up and re-install...
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: v1.3.2 and the first few tutorials

Post  sio2interactive on Fri Feb 13, 2009 4:47 pm

ho! wait a second... ok me its not crashing but when I duplicate objects they disappear... I need to double check that will keep you posted...
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: v1.3.2 and the first few tutorials

Post  shul on Fri Feb 13, 2009 7:08 pm

thanks ! Smile you are the sio2 guy!!

shul

Posts : 23
Join date : 2008-10-18

View user profile

Back to top Go down

Re: v1.3.2 and the first few tutorials

Post  sio2interactive on Sun Feb 15, 2009 5:57 pm

Allright man fixed... checkout the latest SVN version...


Cheers,
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

solved the issue

Post  shul on Tue Mar 03, 2009 12:39 pm

Hi,
The issue is solved, but sio2ResourceInit() complains on revision 53 that it should get a char * string.

Regards,
Shaul

p.s. while I have your ear - do I need to go to 2d when writing text? can it be done in 3d?

+ u may already know that, but the search function in the forum is not returning all (or any?) answers

shul

Posts : 23
Join date : 2008-10-18

View user profile

Back to top Go down

Re: v1.3.2 and the first few tutorials

Post  sio2interactive on Tue Mar 03, 2009 3:40 pm

The issue is solved, but sio2ResourceInit() complains on revision 53 that it should get a char * string.

>> Well just call: sio2ResourceInit( "whatever" );

p.s. while I have your ear - do I need to go to 2d when writing text? can it be done in 3d?

>> I haven't tried but yeah I think it will work, basically every letter is a quad that is projected in 2D, so a bit of matrix manipulation should do the trick, but you will have the perspective that will scale the font and might look ugly, have you think about using sio2Project (which is the same as gluProject ), so you can get and arbitrary 3D position and map it in 2D on screen (check tutorial 14).

+ u may already know that, but the search function in the forum is not returning all (or any?) answers

>> Yeah, I don't know what is wrong with their stuff, this is a free forum so... whatever... however you can use the http://forum.sio2interactive.com/search.forum and "search google".

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: v1.3.2 and the first few tutorials

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum