have you set the path to the lib directory and the linker directory. The new version of mplab seems to make you have to do this manually no. goto:
Project -> Build Options -> Project. Click the Directories tabs and set the paths accordingly. the libraries path should be set to the C18 lib install folder