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.

compiler problem - please help

Status
Not open for further replies.

ashok007

Newbie level 3
Joined
Jun 1, 2009
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,328
18f452.lkr for mcc 18 compiler

hi sir/madam
This is ashok from AMIS Technologies,Hyderabad.We have downloaded the evaluation version
compiler from website and installed.The problem here is that when we added c file and .lkr file and compiled the error comes here is


----------------------------------------------------------------------


Debug build of project `C:\Documents and Settings\Administrator\Desktop\myproject\project.mcp' started.
Language tool versions: mpasmwin.exe v5.30.01, mplink.exe v4.30.01, mcc18.exe v3.30
Preprocessor symbol `__DEBUG' is defined.
Thu Jul 02 11:34:25 2009
----------------------------------------------------------------------

Clean: Deleting intermediary and output files.
Clean: Done.

Executing: "C:\MCC18\bin\mcc18.exe" -p=18F452 "main.c" -fo="main.o" -D__DEBUG -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
MPLAB C18 v3.30 (evaluation)
Copyright 2000-2009 Microchip Technology Inc.
Days remaining until evaluation becomes feature limited: 57
C:\Documents and Settings\Administrator\Desktop\myproject\main.c:9:
Warning [2066] type qualifier mismatch in assignment

Executing: "C:\MCC18\bin\mplink.exe" "18f452.lkr" "main.o" /u_CRUNTIME /u_DEBUG /z__MPLAB_BUILD=1 /z__MPLAB_DEBUG=1 /o"project.cof" /M"project.map" /W
MPLINK 4.30.01, Linker
Copyright (c) 2009 Microchip Technology Inc.
Error - could not find file 'c018i.o'.
Errors : 1

Link step failed.
----------------------------------------------------------------------

Debug build of project `C:\Documents and Settings\Administrator\Desktop\myproject\project.mcp' failed.
Language tool versions: mpasmwin.exe v5.30.01, mplink.exe v4.30.01, mcc18.exe v3.30
Preprocessor symbol `__DEBUG' is defined.
Thu Jul 02 11:34:26 2009
----------------------------------------------------------------------


BUILD FAILED


can u please give the necessary suggestion

with regards
S.Ashok
AMIS Technologies,Hyderabad
Mobile:+919849371143
 

mplab c18 expiry date

dear friend
i microchip c compiler is not the priority try downloading the third party compiler CCS-C ,PIC-C tell me specifically the target processor so that i can suggest u a better solution, if u need the above two compilers i can upload them if needed
 

: 41)compiler !!!

we are going to use the processor of the series PIC18Fxx series
what is the compiler that we can use it
 

mpasmwin.exe v5.31

ashok007 said:
we are going to use the processor of the series PIC18Fxx series
what is the compiler that we can use it
Microchip has their own compiler available here: **broken link removed**

You can purchase a professional version, or use it as a "Evaluation" version for free.
The Evaluation Version is free! It has all the features of the full compiler and libraries. After 60 days, the optimizations related to procedural abstraction and to the extended instruction set of the newer PIC18XXXX devices will be disabled. Code compiled after the expiration date will function but may occupy more memory space.
 

Re: 18f452.lkr for mcc 18 compiler

hi sir/madam
This is ashok from AMIS Technologies,Hyderabad.We have downloaded the evaluation version
compiler from website and installed.The problem here is that when we added c file and .lkr file and compiled the error comes here is


----------------------------------------------------------------------


Debug build of project `C:\Documents and Settings\Administrator\Desktop\myproject\project.mcp' started.
Language tool versions: mpasmwin.exe v5.30.01, mplink.exe v4.30.01, mcc18.exe v3.30
Preprocessor symbol `__DEBUG' is defined.
Thu Jul 02 11:34:25 2009
----------------------------------------------------------------------

Clean: Deleting intermediary and output files.
Clean: Done.

Executing: "C:\MCC18\bin\mcc18.exe" -p=18F452 "main.c" -fo="main.o" -D__DEBUG -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
MPLAB C18 v3.30 (evaluation)
Copyright 2000-2009 Microchip Technology Inc.
Days remaining until evaluation becomes feature limited: 57
C:\Documents and Settings\Administrator\Desktop\myproject\main.c:9:
Warning [2066] type qualifier mismatch in assignment

Executing: "C:\MCC18\bin\mplink.exe" "18f452.lkr" "main.o" /u_CRUNTIME /u_DEBUG /z__MPLAB_BUILD=1 /z__MPLAB_DEBUG=1 /o"project.cof" /M"project.map" /W
MPLINK 4.30.01, Linker
Copyright (c) 2009 Microchip Technology Inc.
Error - could not find file 'c018i.o'.
Errors : 1

Link step failed.
----------------------------------------------------------------------

Debug build of project `C:\Documents and Settings\Administrator\Desktop\myproject\project.mcp' failed.
Language tool versions: mpasmwin.exe v5.30.01, mplink.exe v4.30.01, mcc18.exe v3.30
Preprocessor symbol `__DEBUG' is defined.
Thu Jul 02 11:34:26 2009
----------------------------------------------------------------------


BUILD FAILED


can u please give the necessary suggestion

with regards
S.Ashok
AMIS Technologies,Hyderabad
Mobile:+919849371143


nikhil_damle gave you some ridiculous advice. The error youre getting is typical when youve failed to set your project build options correctly. Do the following, and then compile again:
project->build options->project
output directory:: C:\MCC18\bin
Intermediate Directory:: C:\MCC18
Include Search Path:: C:\MCC18\h
Library Search Path:: C:\MCC18\lib
Linker-Script Search Path:: C:\MCC18\lkr

This is assuming you have downloaded the MPLAB C18 and it has created the folders in MCC18 its suppossed to when it installs.
This is alo assuming you have selected the correct linker and header files for your chip and added them to your project.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top