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.

IQ Math unresolved symbols C2000 F28335

Other Parts Discussed in Thread: CONTROLSUITE

I'm getting the following erros when I build my project:

 

unresolved symbol _IQ, first referenced in ./main.obj

unresolved symbol _IQdiv, first referenced in ./main.obj

 

My code has the IQmathlib.h include statement. I have linked the IQmath.lib file to my project as well. I cannot attach a copy of my code to this post because it now contains some proprietary compay data, and the compiler problems do not point to a specific line of code. The only area I can see there being a problem would be these:

 

value = IQ(AdcMirror.ADCRESULT0 - AdcMirror.ADCRESULT1)       //  "value" is predeclared as "volatile _iq value;" in the beginning of the code

and for the other statement, I have built a structure so I can address all or individual bits of "a":

answer = IQdiv(a.value.all, 3);

were answer is also defined in the beginning of the code with "volatile _iq answer" I left it as the default GlobalQ for now,  but this is the best guess as to where the problem is. At least for the IQdiv() because that's te only area I use it.

Can anyone shed some light?  Thanks!

 

T