This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

IQMath acos function 2

I have included #include "IQmathLib.h"  in main header and declared within main function the following:

_iq29 in1, out1;

in1 = _IQ29(0.70710678L);

out1 = _IQ29acos(in1);

However I get following error:

undefined  first referenced         
  symbol        in file 

__IQ29acos ./Fxample_2802xAdcSoc.obj

error: unresolved symbols remain

>> Compilation failure
warning: entry-point symbol other than "_c_int00" specified:  "code_start"

The global is defined in following format in my main file

#define GLOBAL_Q 29
#include "IQmathLib.h"