error: ‘Vectord’ was not declared in this scope
313 | Vectord<3> tv;
| ^~~~~~~-
and
error: ‘VersionMatches’ was not declared in this scope; did you mean ‘photon::VersionMatches’?
186 | } else if (!VersionMatches(versionString)) {
| ^~~~~~~~~~~~~~
| photon::VersionMatches
Multiple other errors (24) exist, but they are all similar to the errors shown above. All the code compiled when gradle was on year 2023.
Are these errors in your code or in vendor code? It looks like you may be missing some namespace qualifiers, e.g. Vectord is in the frc namespace (defined in frc/EigenCore.h), it looks like VersionMatches is in the photon namespace, etc.
It looks like you copied and pasted and old version of PhotonLib into your code base, as well as installed the PhotonLib vendordep. The problem is in the old version of PhotonLib. I suspect that if you delete everything in /src/main/*/photonlib, you’d delete the code that doesn’t compile and it would automatically be replaced by the PhotonLib vendordep.