navX gyro not being accessed. Doesn’t show any errors this is for our swerve drive

This is our first year trying swerve. I am having trouble making the swerve code work with the gyro. We are using a navX mxp. Any advice?

Here are pics with the error codes
Lines 71
Line 75

It looks like you aren’t using the 2023 NavX library.

Hey thanks for the help. That was the problem.