Compilation errors with CImg
问题 I am using the CImg library for the first time and I get compilation errors with a simple test program that just includes CImg.h. Why is that? How can I fix this? Program code: #include "../headers/CImg.h" using namespace cimg_library; int main() { return 0; } Compilation errors: In function 'FILE* cimg_library::cimg::fopen(const char*, const char*)': 5065|error: '_fileno' was not declared in this scope In function 'int cimg_library::cimg::fseek(FILE*, INT_PTR, int)': 5093|error: '_fseeki64'