libpng warning: iCCP: known incorrect sRGB profile

Libpng-1.6 is more stringent about checking ICC profiles than previous versions. You can ignore the warning. To get rid of it, remove the iCCP chunk from the PNG image. Some applications treat warnings as errors; if you are using such an application you do have to remove the chunk. You can do that with any … Read more

SDL2.DLL missing

I’m following this tutorial to setup the SDL template but when I try and run the program I get the following error. I have gone over the tutorial several times but cannot see what mistake I am making. I copied the SDL2.DLL into the Release Directory and then ran it and I got a different error. but I imagine that I … Read more

libpng warning: iCCP: known incorrect sRGB profile

Libpng-1.6 is more stringent about checking ICC profiles than previous versions. You can ignore the warning. To get rid of it, remove the iCCP chunk from the PNG image. Some applications treat warnings as errors; if you are using such an application you do have to remove the chunk. You can do that with any … Read more

Expected initializer before namespace

The error you offer, error: expected initializer before ‘namespace’ suggests that there is a structure or variable declaration that isn’t terminated. Something like: Here, the ‘struct foo’ declaration isn’t terminated with a semicolon. This should read: Getting the preprocessor involved (using #include) makes this type of thing a bit harder to track down. It may be that … Read more