Pumpkin, Inc.

Pumpkin User Forums

Error close cgpic.exe

For issues specific to Microchip's PICmicro® MCUs, including compilers (e.g. HI-TECH PICC & PICC-18, Microchip MPLAB®-C18) and IDEs (e.g. Microchip MPLAB®).

Error close cgpic.exe

Postby davideciarm » Fri Feb 06, 2009 1:33 am

Hi at all!
I had installed:
MPLAB IDE 8.20
HI-TECH PICC 9.6PL5 Lite
Salvo Lite for PICmicro(R) MCUs v3.2.3
i had opened MPLAB: new project, pic 16F877A... in the project i had included C:salvosrc
C:salvoinc

but i can't compile, i receive windows error: close cgpic.exe for error...

Make: The target "C:Documents and SettingsDavideDocumentiSalvomainSalvo.p1" is up to date.
Executing: "C:ProgrammiHI-TECH SoftwarePICCPRO9.60inpicc.exe" -osalvo.cof -msalvo.map --summary=default,-psect,-class,+mem,-hex --output=default,-inhx032 mainSalvo.p1 --chip=16F877A -IC:Salvosrc -IC:Salvoinc -P --runtime=default,+clear,+init,-keep,+osccal,-download,-resetbits,+stackcall,+stackwarn,+clib --opt=default,+asm,9 --warn=0 --double=24 -D__DEBUG=1 -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
HI-TECH C PRO for the PIC10/12/16 MCU family (Lite) V9.60PL5
Copyright (C) 1984-2009 HI-TECH SOFTWARE
(1273) Omniscient Code Generation not available in Lite mode (warning)

********** Build failed! **********

THIS is my main:

#include<pic.h>
__CONFIG(HS & PWRTEN & BOREN & LVPDIS & WDTDIS );
#include "delay.h"
#include "salvo.h"


//================================================================
void task1(void);
void task2(void);
//===============================================================

_OSLabel(Task11)
_OSLabel(Task21)

//================================================================

void Task1 (void)
{
OS_Yield(Task11);
DelayMs(250);
RB0=1;
}

//================================================================

void Task2 (void)
{
OS_Yield(Task21);
RB1=1;
}

//================================================================


void main(void){

OSInit();

OSCreateTask(Task1, OSTCBP(1), 0);

for (;
OSSched();

}

davideciarm
 
Posts: 1
Joined: Fri Feb 06, 2009 12:00 am

Re: Error close cgpic.exe

Postby aek » Sat Feb 07, 2009 12:44 pm

The PRO line of compilers is not yet supported ...

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

-------
aek
aek
 
Posts: 1888
Joined: Sat Aug 26, 2000 11:00 pm


Return to PICmicro MCUs

Who is online

Users browsing this forum: No registered users and 4 guests

cron