in your project, Processor Expert is disabled, see Project > Properties > Disable Processor Expert changes (actually it is shown in one of your screenshots). Change the value from "Yes" to "No", this will enable the code generation: