0

I am trying to use CImg. I want to load pngs but to do so you need to add the dependency Libpng which also requires zlib.

I added all the required .h files directly from the zip file from their sites into my project using the add existing item on the file browser, but when I try to build my application I get the following errors.

What am I doing wrong?

Code to use CImg:

#define cimg_use_png
#include "CImg.h"

using namespace cimg_library;
mkrieger1
  • 19,194
  • 5
  • 54
  • 65

0 Answers0