Setup HI-TECH PICC8.02 compiler and MPLab 6.4

From: G_swidwin (swidwin_at_sympatico.ca)
Date: 12/30/03


Date: Mon, 29 Dec 2003 20:52:40 -0500

Hi all,
I have a problem finding any information on how to set HI-TECH PICC8.02
compiler and MPLab 6.4 (under WinXP).
Especially I need directions how to set project under MPLAB using a
Project\Build Options.

When I try to compile project which has only one file xxx.c I don't have
any problem.
But when my project includes more source files (xxxx.c, yyyy.c ) and yyy.h
I get an error:
Error[000]: undefined symbol
Error[000]: _main (c:\HT-PIC\Lib\picrt42c.obj
Build Failed ....

I am assuming that this type of error usually results from a project setting
in MPLAB.
It means that MPLAB is ready to link my project but it can't
locate the object files that were just compiled. It will then proceed
to link without any files and will result in the above error.

When I am creating my project I include my source files and header files
(I am adding them to the project).
Do I also need an extra set Library and Include Paths in MPLAB Project\Build
Options. ?

Can somebody give me a link or a good description how to set
HI-TECH PICC8.02 compiler and MPLab 6.4 ?

Gerry
Thanks in advance,



Relevant Pages

  • Re: PIC Assembler.
    ... To repeat an earlier question - would I find an earlier version of MPLAB ... While you're in the learning process, ... the Microchip C18 compiler is pretty nice. ...
    (sci.electronics.basics)
  • Re: PIC Assembler.
    ... but most of the tutorials I've found assume previous ... flash then -ALL- other PIC programming is downhill. ... To repeat an earlier question - would I find an earlier version of MPLAB ... If you don't have an MPLAB compatible programmer, and/or a compiler ...
    (sci.electronics.basics)
  • Re: Which PIC18 C Compiler?
    ... > using the MPLAB debugger and assembler. ... I don't have experience with the 18 series compilers, ... series the HiTech ones beats the pants off the CCS compiler, ... The 18 series HiTech compiler uses their new HiTide windows interface. ...
    (comp.arch.embedded)
  • Re: Which PIC18 C Compiler?
    ... > using the MPLAB debugger and assembler. ... I don't have experience with the 18 series compilers, ... series the HiTech ones beats the pants off the CCS compiler, ... The 18 series HiTech compiler uses their new HiTide windows interface. ...
    (sci.electronics.design)