Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[PIC] compile error in PIC16f877a

Status
Not open for further replies.

karthick.c

Newbie level 1
Newbie level 1
Joined
Apr 15, 2014
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
22
i tried to compile a project but i am getting error on this , i tried adding diff lib file but still i couldnt find a solution, pls help me.



Clean: Deleting intermediary and output files.
Clean Warning: File "D:\karthick office work\projects\embedded\ONLINE MONITORING OF GEOLOGICAL CO2 STORAGE AND\1.code\full code\co2.p1" doesn't exist.
Clean: Done.
Build D:\karthick office work\projects\embedded\ONLINE MONITORING OF GEOLOGICAL CO2 STORAGE AND\1.code\full code\co2 for device 16F877A
Using driver C:\Program Files\HI-TECH Software\PICC\9.83\bin\picc.exe

Executing: "C:\Program Files\HI-TECH Software\PICC\9.83\bin\picc.exe" --pass1 "D:\karthick office work\projects\embedded\ONLINE MONITORING OF GEOLOGICAL CO2 STORAGE AND\1.code\full code\co2.c" -q --chip=16F877A -P --runtime=default --opt=default -D__DEBUG=1 -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
Warning [361] D:\karthick office work\projects\embedded\ONLINE MONITORING OF GEOLOGICAL CO2 STORAGE AND\1.code\full code\lcdportd.h; 5.1 function declared implicit int
Warning [361] D:\karthick office work\projects\embedded\ONLINE MONITORING OF GEOLOGICAL CO2 STORAGE AND\1.code\full code\lcdportd.h; 22.1 function declared implicit int
Executing: "C:\Program Files\HI-TECH Software\PICC\9.83\bin\picc.exe" -oco2.cof -mco2.map --summary=default --output=default co2.p1 --chip=16F877A -P --runtime=default --opt=default -D__DEBUG=1 -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
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 [500] ; 0. undefined symbols:
_putch(co2.obj) ___Delay_Us(co2.obj)

- - - Updated - - -

guys anyone there to solve this
 

Trace your errors.

Warning [361] D:\karthick office work\projects\embedded\ONLINE MONITORING OF GEOLOGICAL CO2 STORAGE AND\1.code\full code\lcdportd.h; 5.1 function declared implicit int

In your lcdportd header file, there is a function on line 5 that is declared as an implicit int. I assume this is your main file, you would need to either move the function above main and declare it before main.

The other warning is the same thing. But these don't crash the compiler.

Your putch and delay operations is what stops it. You either didn't create the functions or your header is missing them or you didn't import the right header to define them.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top