Clone wiki

pngxx / supported_platforms

Platforms supported by jpegxx and pngxx

jpegxx and pngxx are should work fine on most desktop systems that have a reasonably modern C++ compiler.

In particular, I have tested the libraries on these compilers:

  • Microsoft Visual C++ 2005, 2008 and 2010
  • Apple's GCC 4.0.1 and 4.2.1
  • Apple's LLVM-GCC 4.2.1
  • MinGW GCC 4.3.0

Builds of MinGW that use SJLJ exception handling do not work with version 0.3.0 of jpegxx and pngxx. Later versions of jpegxx/pngxx may work, but SJLJ has not been the default exception handling 'personality' for MinGW for a while now, so I doubt it will be supported in future.

With some tweaking you may also have success with Digital Mars 8.50, but I do not support this compiler as it is not sufficiently conforming to be practical.

Similarly, the code compiled at some point with Borland 5.82, but fails to link when optimizations are enabled. Compiler bugs have stopped me from listing this as a supported compiler, though it may work for you.