Clean: Deleting intermediary and output files.
Clean: Done.
Executing: “C:\mcc18\bin\mcc18.exe” -p=18F8520 “C:\New Folder\main.c” -fo=“main.o” -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
MPLAB C18 v2.40 (demo)
Copyright 1999-2004 Microchip Technology Inc.
Days remaining until demo becomes feature limited: 51
C:\New Folder\main.c:16:Warning [2066] type qualifier mismatch in assignment
Executing: “C:\mcc18\bin\mplink.exe” /l"C:\mcc18\lib" “C:\vex\wild goose\use\18f8520.lkr” “C:\vex\wild goose\one\main.o” “C:\vex\wild goose\use\p18f8520.lib” /o"two.cof" /M"two.map" /W
MPLINK 3.90, Linker
Copyright (c) 2004 Microchip Technology Inc.
Error - could not find definition of symbol ‘printf’ in file ‘C:\vex\wild goose\one\main.o’.
Errors : 1
Link step failed.
BUILD FAILED: Wed Jul 04 12:24:48 2007
#include <p18cxxx.h>
#include <stdlib.h>
#include <stdio.h>
#pragma config WDT = OFF
void main (void)
{
TRISB = 0;
/* Reset the LEDs */
PORTB = 0;
/* Light the LEDs */
PORTB = 0x5A;
printf(“heloo world! /n”);
while (1)
;
}