Welcome to the mikroE forum.
You should add these lines to the Project Level Defines file.
To do that properly, please follow these steps:
-Right click on the Project Level Defines from the Project Manager and click on Add New File
-Paste there these two lines as shown in the figure below.
-Include UART and mikroSDK library from the Library Manager
-Do Rebuild All Sources (Alt+F9).
Screenshot_1.png [ 7.71 KiB | Viewed 92 times ]
Also, I do not recommend including all libraries from the Library Manager at the same time.
Some libraries contain the same functions and including them together will cause errors in project compiling.