--- Quote Start ---
Hi fabmal004, did you ever find the cause of this issue?
It turns out that I have just picked up a project made in 7.2sp3 and I have got the same error message.
So far I have tried re-installing Quartus, Nios II and the IP megacore incrementally from v7.2 sp1 through to sp3. I have also had a look through the installed sopc folders and I can see that the nios cpu component files definately exist in my install, but for some reason Nios is not finding them.
Anyone else have any ideas or a solution??
--- Quote End ---
After 2 days of messing about I have finally found the reason for this error, so I shall post my fix for all those who may stumble across the same issue.
All you have to do is go into your main project folder and move/delete any pre-compiled *.sof and *.ptf files from it, including any backup versions you may have under the same name. While you are at it you can also delete the .sopc_builder folder as well as the sopc builder will re-generate that file when you run it again.
Rebuild the IP in sopc builder, rebuild the hardware in Quartus.
Launch Nios II and do a clean and a build.
I hope this may help anyone who is stuck with the same compiler error.