Your code is missing something; you haven't copied everything from wherever you got that code.
Looks like you're missing Joystick_ Joystick(0x15, JOYSTICK_TYPE_GAMEPAD,.
Instead of working on your project, first look at and try some of the examples that came with the Joystick library that you installed.
Note:
Don't post screenshots of code and don't post screenshots of errors. There is that beautiful 'copy error messages` button on your screen, specifically for those errors.