I wonder if the package is clocked and if you source devel/setup.bash in your workplace first in the terminal that you open , maybe you can solve the problem. Or you can put your CMakeList.txt and package.xml first ?