masterterranova
masterterranova

Reputation: 41

Errors while trying to build an application with Cimg

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;

Upvotes: 0

Views: 126

Answers (0)

Related Questions