CImg
CImg copied to clipboard
Library fails to compile on Linux?
I don't know why, but there's a LOT of undefined references to `XOpenDisplay'
You have to link your executable against libX11 and libpthread, which means adding -lX11 -lpthread to the compilation command line (if you use g++).
Otherwise, you may want to disable the display capabilities of CImg, by setting cimg_display=0.