Hi,
I am currently learning how to use the cocos2d-x, the version is 3.17.2.
And i meet a problem.
I create a HelloWorld project via command : “cocos new HelloWorld -l cpp”.
And the project had been create successfully, but when i run in the debug mode, i cannot see any sprite in the viewport, but release is OK. when i debug inside to see what is the problem, it get a wrong status when loading the “png” in the function “initWithPngData” in CCImage.cpp. And the error occurred in the code “png_read_image(png_ptr, row_pointers);” it will jump to “CC_BREAK_IF(setjmp(png_jmpbuf(png_ptr)));”.
How can i fix the problem? And i also tried the cpptest project generate with cmake, but it’s fine.
Thanks for help!
Brian.