Vinu,
Thanks for the post. I located the files and added MathLib.h and MathLib.c
to my project. It compiles fine, but when linking, it can't find the trig
functions I'm calling. E.g.,
Link Error : myFile.cpp 'atan2(double, double) referenced from '....' is
undefined
Since I added the MathLib.c to my project, I'm not sure why I would get an
'undefined' error. All of my project files are C++ and this one's C --
could that have something to do with it?
Thanks,
Rich
> -----Original Message-----
Richard,
Basically, all you need to do is include MathLib.h in any source file that
needs to call MathLib library functions and add MathLib.c to your project.
The documentation for MathLib can be found in "MathLDoc.htm", which is
located in the same directory as the other MathLib files (C:\Program
Files\Metrowerks\CW for Palm 8\Other SDKs\MathLib).
Vinu
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/