Are you sure your sopc contains a cpu?
i have the Nios II component in Qsys in deed， i sure, help!
Do you mind posting your qsys file?
Have you tried searching the .sopcinfo file to see if the CPU is showing up in there? Perhaps you have a file permission issue preventing that file from being updated when you generate the system.
For more complete information about compiler optimizations, see our Optimization Notice.