Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Tools
Old 14th November 2009, 03:34 AM   #1
Exclamation MPLAB, C18(lite) linker file

Hi

I have downloaded the C18 (lite) version from the microchip website.
I am trying to use it for PIC kit 3 with PIC18F8722. While i am trying to build the project i am getting an error message as follows
"Error - could not find file 'c018i.o'."

the lite version had the 18F8722_g.lkr file but i could not find the 18f8722i.lkr in the folder.


while i am trying to build using _g.lkr file i am getting the error. How do i resolve this and build my project. Please help.
sukhavsa is offline  
Old 14th November 2009, 09:34 AM   #2
Default

It is finding the linker script OK because the script is looking for c018i.o and can not find it.

It is a bug in that the lib search path NOT being set by the wizzard or the most evident way to do so under project "Set Language Tool Locations....

To fix it do select PROJECT>BUILD_OPTIONS>PROJECT,
click on the DIRECTORIES tab. Using the drop down list for "Show directories for" select "Library Search Path". Click New and add "C:\mcc18\lib" to the list.

Good Luck
3v0
__________________
Please post questions to the forums. PM's are for personal communication.

BCHS/3v0's Tutorials
Junebug USB PIC programmer kit., USB Bit Whacker,
The 15 Minute Printed Circuit Board! (+drill time)
3v0 is online now  
Old 14th November 2009, 11:13 PM   #3
Default

Can someone add this to a FAQ type post heh. I feel like creating a FAQ PDF. In fact i will heh this will surely be in it...
AtomSoft is online now  
Old 15th November 2009, 10:00 AM   #4
Default

Hi

The following tutorial shows how to build your first project with MPLAB and the C18 compiler. It discusses all the little problems you can have compiling your first program with the C18 compiler, including the one above.

http://www.dwengo.org/tutorials/blinking-leds

Slorn

Last edited by Slorn; 15th November 2009 at 10:01 AM.
Slorn is offline  
Old 15th November 2009, 01:00 PM   #5
Default

Thanks I'll take a look in a min
AtomSoft is online now  
Reply

Tags
c18lite, file, linker, mplab

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
Pickit, MPLAB, C18 AtomSoft Micro Controllers 3 14th November 2009 04:07 AM
MPLAB 820 linker issue geko Micro Controllers 4 16th March 2009 03:34 PM
math functions and mplab + c18 eng.alamin Micro Controllers 0 6th October 2008 06:29 PM
C18 linker error.. Help please.. MrNobody Micro Controllers 3 29th May 2008 01:05 PM
MPLAB C18 Libraries Exo Micro Controllers 2 26th July 2005 07:33 PM



All times are GMT. The time now is 01:38 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker