Odd MPLab error?

I’ve downloaded the student version of MPLab 7.20, C18 compiler, and have it all installed. I am trying to compile the default, unmodified version of the 2006 default code. When I make the file, I get the following message:

  
Error: Bad magic number in COFF file "D:frc_camera_2006camera.o".
BUILD FAILED: Sat Jan 21 19:05:26 2006

Whe I try to build the file, I get the following error:

  
D:frc_camera_2006user_routines_fast.c:58:Warning [2074] location PROD specified in the interrupt save list is redundant
D:frc_camera_2006user_routines_fast.c:58:Warning [2074] location .tmpdata specified in the interrupt save list is redundant
Executing: "D:MCC18binmplink.exe" /l"C:mcc18lib" "18f8722.lkr" "D:frc_camera_2006camera.o" "D:frc_camera_2006camera_menu.o" "D:frc_camera_2006eeprom.o" "D:frc_camera_2006ifi_startup.o" "D:frc_camera_2006ifi_utilities.o" "D:frc_camera_2006main.o" "D:frc_camera_2006serial_ports.o" "D:frc_camera_2006terminal.o" "D:frc_camera_2006tracking.o" "D:frc_camera_2006tracking_menu.o" "D:frc_camera_2006user_routines.o" "D:frc_camera_2006user_routines_fast.o" "D:frc_camera_2006FRC_library.lib" /o"camera.cof" /M"camera.map"
MPLINK 4.00, Linker
Copyright (c) 2005 Microchip Technology Inc.
Error - could not find file 'clib.lib'.
Errors	: 1
BUILD FAILED: Sat Jan 21 19:08:02 2006
 

Does anyone know what could be happening? Is my installation bad? My tools setup wrong? Or part of the workspace deleted, moved or corrupted? I’m at a loss.

try reinstalling it again, 9/10 times the problems with things missing is an error during installion, install MPLab first then the compiler that is the order i always do it and there haven’t been any errors yet(knock on wood)

The bad magic number error is related to the COFF file structure changes between C18 version 2.x and version 3.x. You need the 2.4 version of C18 that comes in the KoP.