Tampilkan postingan dengan label exception. Tampilkan semua postingan
Tampilkan postingan dengan label exception. Tampilkan semua postingan

Marmalade SDK: Exception: Multiply Overflow

Posted by Unknown Selasa, 16 Oktober 2012 0 komentar
I was performing some transformations (scaling) on 2D sprites like this:
CIwMat2D matrix;
rot.Scale(IW_FIXED(2));
When I ran the app I received the following exception:
IwAssert failure (GEOM, 350). Message: Multiply overflow
The avoid this exception, you must set your matrix to the Identity matrix before applying transformations on it like this:
CIwMat2D matrix;
matrix.SetIdentity();
rot.Scale(IW_FIXED(2));

Baca Selengkapnya ....

Marmalade SDK: Data cache overflow allocating XXX. Increase [GX] DataCacheSize (currently XXXXX) exception

Posted by Unknown Rabu, 10 Oktober 2012 0 komentar
You may encounter this error if your application requires caching some data but the reserved cache size by your application does not have enough space.

to solve this, just increase the reserved cache space defined in your app.icf file:

[GX]
DataCacheSize=30000


Baca Selengkapnya ....

Marmalade SDK: Exception cannot open file iwui_style/style.group.bin for serialising

Posted by Unknown 0 komentar
I made a simple IW2D app with Marmalade SDK, it worked fine in the Windows emulator but when I deployed to Android I received this exception:

cannot open file iwui_style/style.group.bin for serialising (read), Did you include this file in your mkb assets block

The solution was  to add this block to my MKB file

assets
{
(data-ram/data-gles1)
ui.group.bin
(data-ram/data-gles1)
iwui_style/style.group.bin

}

Baca Selengkapnya ....
Trik SEO Terbaru support Online Shop Baju Wanita - Original design by Bamz | Copyright of android photography.