Iawia
Member
Hi. I am learning assembly and C currently. I am using a PIC chip 12F508 as a starter. I did a few tutorials in assembly and now am working on my first C program. When I compile the 'hello world' program, I get an error using MPLAB v8.80:
The program is looking for something in the C:\ directory. Not sure what it is looking for, but I installed the program on the D:\ drive. Not sure if this is the problem, I am very new to MPLAB.
I added files 'stdio.h' to the 'header files' and the 'hello world.c' to the 'source files' in the project tree. do I need to add a linker file or some other files as well?
thanks,
-thomas
Code:
Make: The target "D:\Master Documents\C Coding\Hello World 2.p1" is up to date.
HI-TECH C Compiler for PIC10/12/16 MCUs (Lite Mode) V9.83
Copyright (C) 2011 Microchip Technology Inc.
(1273) Omniscient Code Generation not available in Lite mode (warning)
Error [800] C:\Users\HPDV7~1\AppData\Local\Temp\s4d8.; 324. undefined symbol "entry__putch"
********** Build failed! **********
The program is looking for something in the C:\ directory. Not sure what it is looking for, but I installed the program on the D:\ drive. Not sure if this is the problem, I am very new to MPLAB.
I added files 'stdio.h' to the 'header files' and the 'hello world.c' to the 'source files' in the project tree. do I need to add a linker file or some other files as well?
thanks,
-thomas
Last edited: