you should go to this path: Right click on your project -> Properties -> omnet++ -> Makemake -> click src -> options -> compile tab -> enable "Add include path exported from referenced projects".
I hope it is useful