math.h lacks sqrt()
Having recently installed linux for the millionth time(trying out different distros) and deciding to use debian for my current work, I upgrades GNU gcc up to version 3.2.3. I load up one of my old 3d mathematics projects, which includes math.h, and tried to compile it and I get compiling errors regarding sqrt(), specifically the "undefined reference to..." error.
I was wondering if anyone else has had this problem and how I can fix it.
That's LM in lowercase
It tells the linker to link with the math library
hmm... thanks man, wonder why I never had to do that before....