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: Code Composer Studio
Hi. I'm getting what I think are linker errors from CCS and don't know how to resolve them. Please see attached file for snipping tool picture of errors. I've tried clicking the link referred to in #10234-D and adding the driverlib.lib library to the gmake command, but that didn't work. The errors seem to stem from my inclusion of the SysCtlClockSet() call. I have used a #include "driverlib/sysctl.h" statement previously, however. Any help would be appreciated. Thanks, HarryCCS TM4C123GH.docx
halo said:I've tried clicking the link referred to in #10234-D and adding the driverlib.lib library to the gmake command, but that didn't work.
How and where exactly did you add the library?
It is the missing driverlib.lib that is causing the unresolved symbol error. The place to add it is in the project's linker options (Project Properties->Build->Linker->File Search Path)
Hi AartiG and desouza. Thanks for your replies. That seems to have fixed it. I thought that by #include-ing the .h files the compiler/linker would compile the relevant .c files and link them into the project. And thanks also for that link to the software-dl.ti.com site; there is so much helpful stuff out there if only you know where to look and what to look for. Harry.