SIO2widget sio2WidgetRender EXC_BAD_ACCESS
SIO2widget sio2WidgetRender EXC_BAD_ACCESS
For your information, I'm new to SIO2 and iPhone.
I finally resolved it after hours of frustrations, it is all because I didn't know I was missing "sio2InitWidget()" in the "EAGLView.mm" under the function "(BOOL)createFramebuffer". Please "sio2interactive" update the "template" folder in your SDK containing the missing "sio2InitWidget()" and make a exclamation note in your "Tutorial 07" about it, because it didn't say anything about having "sio2InitWidget()" in the "EAGLView.mm" file.
I have spent hours upon hours debugging when I using the SIO2widget for the first time. The iphone simulator running my application keep crashing and in debug mode, I would get an error "EXC_BAD_ACCESS". I traced it to the offending function "sio2WidgetRender()". The whole time I was looking at my code and comparing with the tutorials using SIO2widget. Ultimately, the last place I looked was "EAGLView.mm" and then I compared it to one of the tutorials. For your information, my code was based on the "template" folder from the SDK and the whole time I didn't know I was missing something in the "EAGLView.mm". The "Tutorial 07" explaining "SIO2widget" did not say anything about it.
Sincerely,
William Chang
I finally resolved it after hours of frustrations, it is all because I didn't know I was missing "sio2InitWidget()" in the "EAGLView.mm" under the function "(BOOL)createFramebuffer". Please "sio2interactive" update the "template" folder in your SDK containing the missing "sio2InitWidget()" and make a exclamation note in your "Tutorial 07" about it, because it didn't say anything about having "sio2InitWidget()" in the "EAGLView.mm" file.
I have spent hours upon hours debugging when I using the SIO2widget for the first time. The iphone simulator running my application keep crashing and in debug mode, I would get an error "EXC_BAD_ACCESS". I traced it to the offending function "sio2WidgetRender()". The whole time I was looking at my code and comparing with the tutorials using SIO2widget. Ultimately, the last place I looked was "EAGLView.mm" and then I compared it to one of the tutorials. For your information, my code was based on the "template" folder from the SDK and the whole time I didn't know I was missing something in the "EAGLView.mm". The "Tutorial 07" explaining "SIO2widget" did not say anything about it.
Sincerely,
William Chang
Similar topics
» SIO2Widget help
» SIO2widget in v1.3??
» How to use a sio2widget as a textbox?
» Rotating SIO2Widget?
» What is sio2Widget and are there any use examples out there?
» SIO2widget in v1.3??
» How to use a sio2widget as a textbox?
» Rotating SIO2Widget?
» What is sio2Widget and are there any use examples out there?
Permissions in this forum:
You cannot reply to topics in this forum