CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Build All Problem

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
arys



Joined: 09 Mar 2007
Posts: 31

View user's profile Send private message

Build All Problem
PostPosted: Sun Dec 30, 2007 8:42 pm     Reply with quote

Hi, my problem is after build all. the OUTPUT said " PCM" is not installed on this PC ".
I use third party language. CCS ( IDE, PCM, PCH, PCB Version 4.009).
What else I missed? Hope s'one help me.
Thanks.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sun Dec 30, 2007 8:45 pm     Reply with quote

Are you using the free PCB compiler that was included with MPLAB ?
arys



Joined: 09 Mar 2007
Posts: 31

View user's profile Send private message

PostPosted: Sun Dec 30, 2007 8:56 pm     Reply with quote

Yes...I guess. Because the equipment was bought by my colleague.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sun Dec 30, 2007 9:29 pm     Reply with quote

This page shows which PICs are supported by each type of
the CCS compiler. The PCB compiler (included with MPLAB)
only supports the most basic types of PICs.
http://www.ccsinfo.com/devices.php?page=devices
arys



Joined: 09 Mar 2007
Posts: 31

View user's profile Send private message

PostPosted: Mon Dec 31, 2007 12:21 am     Reply with quote

yes..it support my PIC16f873.
may be the main problem is not that I mentioned before.
here I paste the whole output.

Clean: Deleting intermediary and output files.
Clean Warning: File "D:\........\CSD2145\2145 1.o" doesn't exist.
Clean: Deleted file "D:\..........\CSD2145\2145 1.ERR".
Clean: Done.
Executing: "C:\Program Files\Microchip\Third Party\PICC\CCSC.EXE" +FM "D:\.........\CSD2145\2145 1.c" +DF +LN +T +A +M +Z +Y=9 +EA
Error: The selected compiler: "PCM" is not installed on this PC
Halting build on first failure as requested.
BUILD FAILED: Mon Dec 31 14:15:08 2007
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Dec 31, 2007 5:34 am     Reply with quote

Are you using MPLAB ? What version ?

Did you install the CCS "plug-in" for MPLAB ?

Is the CCS compiler or MPLAB installed on a Network Drive ?
arys



Joined: 09 Mar 2007
Posts: 31

View user's profile Send private message

PostPosted: Tue Jan 01, 2008 10:11 pm     Reply with quote

yes..i'm using MPLAB v7.60 and installed CCS plug-in already.
both compiler and MPLAB was installed in my PC.
Please..I don't have any idea to troubleshoot.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Jan 01, 2008 11:35 pm     Reply with quote

Quote:
Clean Warning: File "D:\........\CSD2145\2145 1.o" doesn't exist.
Clean: Deleted file "D:\..........\CSD2145\2145 1.ERR".
Clean: Done.
Executing: "C:\Program Files\Microchip\Third Party\PICC\CCSC.EXE" +FM "D:\.........\CSD2145\2145 1.c" +DF +LN +T +A +M +Z +Y=9 +EA
Error: The selected compiler: "PCM" is not installed on this PC


I can only suggest:
Install MPLAB and the CCS compiler on the C drive.
Put the project directory on the C drive.
Put everything on one drive.
arys



Joined: 09 Mar 2007
Posts: 31

View user's profile Send private message

PostPosted: Tue Jan 01, 2008 11:50 pm     Reply with quote

i'll try. thanks.

I just found out that in Select Device menu, under Language and Design Tools is in the red light which I assume it should be in green light. Correct me if i'm wrong.
thanks
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Jan 02, 2008 12:08 am     Reply with quote

I think you mean that in the window, the word "COMPILER" has a red
light. That refers to Microchip products, not CCS. Microchip doesn't
have a compiler for that PIC. CCS does. Ignore the red light.

Try this:

1. Go to the Project menu in MPLAB and then to "Select Language
Toolsuite". Make sure that the Active Toolsuite is:
Quote:
CCS C Compiler for PIC12/14/16/18



2. Go to the Project menu in MPLAB and then to "Select Language
Tool Locations". Find the line where it says:
Quote:
CCS C Compiler for PIC12/14/16/18

and click on the little "+" box to expand that section. Then click on
the + box for Executables. Then click on
Quote:
CCS C Compiler (ccsc.exe)

If you installed everything correctly, the directory should be:
Quote:
C:\Program Files\PICC\Ccsc.exe

If it isn't, then browse to that directory and locate CCSC.EXE and
then select it as the location.

3. Also look in C:\Program Files\PICC and make sure that you have
the PCM.CRG file in that directory. That's the license file from CCS.
It's needed to run the compiler. You must have it. You get it from
CCS when you buy the compiler. They email it to you.
arys



Joined: 09 Mar 2007
Posts: 31

View user's profile Send private message

PostPosted: Wed Jan 02, 2008 12:45 am     Reply with quote

I go through the steps you ask. everything is OK but in toolsuite it has
"CCS C Compiler for PIC10/12/14/16/18/24/dsPIC30/dsPIC33" which I think just ignore it.

My windows can not open "pcm.crg" and its icon in 'C:\Program Files\PICC' is in the inappropriate icon which I have to open with some other programs.
All *.c file in 'C:\Program Files\PICC\Example' also in inappropriate icons.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Jan 02, 2008 1:22 am     Reply with quote

Quote:

I go through the steps you ask. everything is OK but in toolsuite it has
"CCS C Compiler for PIC10/12/14/16/18/24/dsPIC30/dsPIC33" which I
think just ignore it.

That line is apparently from the current CCS plugin. There has been
some discussion on this board that not all versions of the "plugin"
work with all versions of the compiler. That might be the problem.
I don't know.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group