I'd like to include sysctl.h to use SysCtlClockSet(). I get a file not found error. The only reference to this file I've found in the Kiel_v4 installation is in the C:\Keil_v4\ARM\RV31\LIB\Luminary\driverlib directory. My target device is a TM4C123GXL. Is this the correct directory, or do I need to install other libraries?
If it is the correct file how do I set the path to it?
It sounds like the library isn't for you - being part of files for a different processor family than you are using.
The difference between microcontroller programming and writing a program for a PC is that you often have to write own code to interface directly with the hardware... There can't exist a generic library that can interface with all existing processor hardware directly.
You'll have to use your own judgement about what files are appropriate for your part.
Project Options -> C/C++ -> Include Paths
You specify a whole list of paths relative to your project where the compiler will look for, in order, to find the files you request, or those files in turn request.
I'm new to embedded development. I don't know all the names, so it is hard to know what folders are for a specific product family and which are generic. I looked up Luminary and it said they were bought out by TI. That confused me further. I guess I need to ask how to get the correct libraries on the TI forum.
"Project Options -> C/C++ -> Include Paths"
Thank you. I wasn't sure if I should set that or put it into Manage Project Items>Folders/extensions.