Hi ,
When I am compiling a .cpp file in Dev -C++ using certain image procesing class , I am getting the following errors:
[linker error] undefined reference to `SetDIBitsToDevice@48'
ld returned 1 exit status
How do i solve the errors.
I already gave
#include "CImg.h"
using namespace cimg_library;
in my source code..
Some one suggested me to do the following:
libgdi32 (just add -lgdi32 to your link options)
How shall i add this file and where is the link option in "Dev -C++ 4.9.9.2"?