In the files with your code should be the 18f8722.lkr file. If it’s not listed in your project window, go to “add files to project” and include it.
Your problem could be that you removed the linker file from the project, or that you’re using a previous year’s linker (it will be 18f8520 instead of the one you want).
Yes the code was modified. We did check to see if the linker file was there and it was. Well we got the code for the camera off of kevin.org/frc. That code does not compile for us. Why?