Linker Can't Find Exp() from Math.h
I am building a DLL to do some bitwise operations and am calling exp() from math.h. Problem is that the linker can't find it. Seems to me like it should be able fo find all ANSI C functions.
Do I need to include a .obj, .lib or .dll to the project so it can link?
Re: Linker Can't Find Exp() from Math.h
What compiler are you using?
Re: Linker Can't Find Exp() from Math.h
Not sure about Microsoft C compilers, but if you're using GCC you need the "-lm" commandline switch to link the maths.h header file.