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 CCS Technical Support

MPLAB build fail with simple prog

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








MPLAB build fail with simple prog
PostPosted: Wed Jul 07, 2004 9:45 am     Reply with quote

Build from Mplab 6.5 with below gives the following error:-

Clean: Deleting intermediary and output files.
Clean: Done.
Executing: "C:\App\prog\pic\PICC\Ccsc.exe" 925941sw.c +FM
No Errors
Skipping link step. Not all sources built successfully.
BUILD FAILED: Wed Jul 07 16:47:52 2004


#include "16F87.h"

/*------------------------------------------------------------------*/
void main(void)
/*------------------------------------------------------------------*/
{

}

Strange, isn't it since there is nothing to link. Any suggestions to what may be wrong?
Ttelmah
Guest







Re: MPLAB build fail with simple prog
PostPosted: Wed Jul 07, 2004 9:55 am     Reply with quote

Anonymous wrote:
Build from Mplab 6.5 with below gives the following error:-

Clean: Deleting intermediary and output files.
Clean: Done.
Executing: "C:\App\prog\pic\PICC\Ccsc.exe" 925941sw.c +FM
No Errors
Skipping link step. Not all sources built successfully.
BUILD FAILED: Wed Jul 07 16:47:52 2004


#include "16F87.h"

/*------------------------------------------------------------------*/
void main(void)
/*------------------------------------------------------------------*/
{

}

Strange, isn't it since there is nothing to link. Any suggestions to what may be wrong?

You have the MPLAB setup wrong. In the 'language tool' selection, there is an option for 'CCS C Compiler', and a second one for 'CCS C Compiler for PIC12/14/16/18'. If you select the first of these, you get the error you are seeing. Select the second, and it works. You need to have run the 'CCSC /setup' option to get the second shown...

Best Wishes
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