简体   繁体   中英

Libpng error in a iOS 5.0 compilation using XCODE 4.2

When I try to load a Triangle, I'm getting the next error:

Mesh_Mesh_Box001.001: 35: GL_TRIANGLE_STRIP libpng error: CgBI: unknown critical chunk

But this works on a different example.

What is going on?

Thanks in advance.

You can try changing PNG compresion flag.

Go to your projects Build Settings and look for "Compress PNG Files". Then change the flag to "No" value.

After this, first clean the project before rebuild. It must work!

;)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM