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.

Compiler/TMS320F28335: Undefined symbol error

Guru 20035 points
Part Number: TMS320F28335

Tool/software: TI C/C++ Compiler

Hello,

Please see attached project.

The compiler is generating an undefined symbol error:

undefined first referenced
symbol in file
--------- ----------------
CIRCULAR_QUEUE<T1>::CIRCULAR_QUEUE<MY_QUEUE_TYPE>(T1 *, unsigned int) [with T1=MY_QUEUE_TYPE] ./main.obj

Changing the class functions to accept pointers doesn't fix the issue. 

Does anyone know how to fix this issue? 

Thanks,
Stephen


CircularBuffer.zip