Microchip MPLAB c18 Build problem

Status
Not open for further replies.

hackdrag

Newbie level 4
Joined
Sep 27, 2010
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,323
Hi all
im new to edaboards....
but i came here for my 8051 solutions here via google.........

now im planning to work on PIC18F14K50
so i got the MPLAB IDE and latest c compiler

but im having problem in making the code
ill insert the output window below


Debug build of project `C:\Users\Rgu\Documents\MCIS\3rd sem\project\mplab_pic\rgu hit.mcp' started.
Language tool versions: MPASMWIN.exe v5.37, mplink.exe v4.37, mcc18.exe v3.36, mplib.exe v4.37
Preprocessor symbol `__DEBUG' is defined.
Sun Oct 03 21:03:28 2010
----------------------------------------------------------------------
Make: The target "C:\Users\Rgu\Documents\MCIS\3rd sem\project\mplab_pic\pg1.o" is out of date.
Executing: "C:\MCC18\bin\mcc18.exe" -p=18F14K50 "pg1.c" -fo="pg1.o" -D__DEBUG -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
C:\Users\Rgu\Documents\MCIS\3rd sem\project\mplab_pic\pg1.c:2:Error [1027] unable to locate '18f14k50.h'
Halting build on first failure as requested.
----------------------------------------------------------------------
Debug build of project `C:\Users\Rgu\Documents\MCIS\3rd sem\project\mplab_pic\rgu hit.mcp' failed.
Language tool versions: MPASMWIN.exe v5.37, mplink.exe v4.37, mcc18.exe v3.36, mplib.exe v4.37
Preprocessor symbol `__DEBUG' is defined.
Sun Oct 03 21:03:28 2010
----------------------------------------------------------------------
BUILD FAILED



so guys please help me............ :roll:
 

i tired but its same output

C:\Users\Rgu\Documents\MCIS\3rd sem\project\mplab_pic\pg1.c:2:Error [1027] unable to locate '18f14k50.h'
plz help me guyz

 

Do a search to see if the include file is on your computer and if so, where.

Keith
 

you need to point to the mcc18 header files and others....
 

Hi, Hackdrag
Hope this help with your problem, if it still exists...

be sure of this in your main code: #include <p18f14k50.h>
don't write as "p18f14k50", because quotes says to compiler "look for in the project folder, only". So, if you don't have p18f14k50 in this folder, an error will be generated.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…