I am looking forward to draw some simple mathematical functions (like y = x^3) using the CImg library.
I tried to use it but it is always giving me the following error:
undefined reference to `SetDIBitsToDevice@48'.
Anyone here can help me in providing a very simple example of drawing curves or mathematical functions using this library? (or maybe plotting some points in certain mathematical graph).
Note: The CImg Library is an open source, C++ toolkit for image processing.
If the CImg library is incapable of drawing functions, then maybe you can provide me with a step-by-step small tutorial of how to do that with some other C++ libraries.
Thanks in advance for your help!