Can not run this example

I can let the new message run; however, after adding this part into CMakefile.txt, I can not execute the package at all. Is this a normal situation?

Hello @a13e5c2ddf294571 ,

What is the error you are getting? Could you provide some more details?

Have you compiled again and sourced again?
Also, are you compiling in the /home/user/catkin_ws directory?

I faced a problem that I don’t know the red part in the photo is ok or not.
Am I correct?

According to the example, you are correct.

So far, we still don’t know what is not working in your package. Please provide details so we can help you point out what could be wrong.