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.

MPLAB C18 compiler error message

Status
Not open for further replies.

NickE

Member level 1
Joined
Aug 14, 2005
Messages
36
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
1,502
MPLAB C18 error

Hi,

I installed MPLAB C18 compiler.
**broken link removed**

I get the attached error message. Dont know, why? There is a getting started documentation, how to confire MPLAB, but doesnt work.

Please, help me!
 

NickE

Member level 1
Joined
Aug 14, 2005
Messages
36
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
1,502
MPLAB C18 error

I answer my question:
the compiler selection was wrong, mcc18.exe is the compiler not cpp18.exe
 

kalaitrigger

Junior Member level 3
Joined
May 10, 2010
Messages
26
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Location
coimbatore
Activity points
1,434
Re: MPLAB C18 error

Hai Dear friends,
pls my pic 18c programmer should have the following error ,


Clean: Deleting intermediary and output files.
Clean: Deleted file "E:\demo\demo.o".
Clean: Done.
Executing: "C:\MCC18\bin\mcc18.exe" -p=18F452 "demo.c" -fo="demo.o" -D__DEBUG -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
MPLAB C18 v3.35 (evaluation)
Copyright 2000-2010 Microchip Technology Inc.
Days remaining until evaluation becomes feature limited: 49
Executing: "C:\MCC18\bin\mplink.exe" "C:\MCC18\bin\LKR\18f452_g.lkr" "demo.o" "C:\MCC18\lib\p18f452.lib" /u_CRUNTIME /u_DEBUG /z__MPLAB_BUILD=1 /z__MPLAB_DEBUG=1 /o"D:\ibm drivers\demo.cof" /M"D:\ibm drivers\demo.map" /W
MPLINK 4.35, Linker
Copyright (c) 1998-2010 Microchip Technology Inc.
Error - could not find file 'c018i.o'.
Errors : 1

Link step failed.
----------------------------------------------------------------------
Debug build of project `E:\demo\demo.mcp' failed.
Language tool versions: MPASMWIN.exe v5.35, mplink.exe v4.35, mcc18.exe v3.35
Preprocessor symbol `__DEBUG' is defined.
Wed May 12 16:29:59 2010
----------------------------------------------------------------------
BUILD FAILED


i wiil check that linker default location also ...
pls anybody can help me....
 

Tahmid

Advanced Member level 5
Joined
Jun 17, 2008
Messages
4,752
Helped
1,793
Reputation
3,578
Reaction score
1,651
Trophy points
1,393
Location
Silicon Valley, California, USA (from Dhaka, Bangl
Activity points
30,533
MPLAB C18 error

Hi,
I also faced this problem, but I found the fix. Follow these steps:
Go to the menu bar: Project > Build Options... > Project
Click Directories Tab.
It shows Show Directories for: Output Directory
Change the Output Directory option to Include Search Path
Click New > Click the ... button at the side and choose the folder where C18 is installed.
After Include Search Path, select Library Search Path and repeat.
Then click ok and run.

Hope this helps.
Tahmid.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top