title: Using CImg: LNK1181: cannot open file "m.lib" on windows 7 x64
body: <p>In the CImg Makefile I notice a flag "-lm" I think this points to the m.lib file. But for some reason it cannot find it during the Linking phase. I am compiling the code using the following command:</p>
  
  <pre><code>nvcc -o FilledTriangles FilledTriangles.cu -I.. -O2 -lm -lgdi32
  </code></pre>
  
  <p>"nvcc" is just the nvidia CUDA compiler. It should function similar to g++</p>