|
Png fails to load on iOS |
Space cpp
Member #16,322
May 2016
|
Hello Attempting to load a .png file always returns NULL, tried more than one file. Bmp loads fine through. Ps: at first trying to build the app gave me an error: Undefined symbols for architecture armv7: After a short google search I recompiled the library with this feature turned off. Could it be the reason? ---------- |
Edgar Reynaldo
Major Reynaldo
May 2007
|
Uh, yeah. That's why. You need the image addon initialized and with png support built in during compilation. <o.o> My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
Space cpp
Member #16,322
May 2016
|
Found the solution. In xcode project settings -> build settings there is "compress png files" and "remove text metadata from png files" both must be set to NO. ---------- |
|