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.
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
Fixed the issue by adding #include "CIRCULAR_QUEUE.h" to class implementation file (see attached project).