I would like to use MathLib, but every time i try to calculate something, i get 
this error: Link Error   : Starter.c: 'sin' referenced from 
'MainFormHandleEvent' is undefined. I included MathLib.h in the proyect. Where 
should i put all other (e_acos.c, e_acosh.c, etc.)? I created a C applicatin (a 
saw on this forum that the library doesn't work with C++ application). What 
could be wrong? (I am using codewarrior)

code:
#include "MathLib.h"
SysLibFind(MathLibName, &MathLibRef);
SysLibLoad(LibType, MathLibCreator, &MathLibRef);
MathLibOpen(MathLibRef, MathLibVersion);
a=sin(33); 
MathLibClose(MathLibRef, &usecount);



-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to