Problem when compiling custom control

Hello, I am trying to compile my custom control for the quiz, but every time I try to compile the package I get this error:

Additionally, mostly all of the c++ code is marked as an error in the IDE. Could someone help me solve this?

Hello @d.zablah,

You need to add the controller_interface as a dependency. In the previous Unit, you did this when creating the package, for instance. You can compare the files CMakeLists.txt and package.xml between your quiz package (project_controller) and the one created in the previous Unit (my_controller) and you will find out what I’m talking about.