Page 1 of 1

Libraries with PICC v8.00 PL1

PostPosted: Fri Apr 05, 2002 2:00 am
by Nado
I can't get my program to compile with the slp42Cab library using PICC v8.00PL1. It keeps giving this error:

Error[000] SALVOINCsalvolib.h 581 : #error: undefined compiler (OSCOMPILER) -- aborting.
Error[000] SALVOINCsalvo.h 1188 : Cannot open include file "portuser.h"

This is my salvocfg.h:
#define OSUSE_LIBRARY TRUE
#define OSLIBRARY_TYPE OSL
#define OSLIBRARY_CONFIG OSA
#define OSLIBRARY_VARIANT OSB

Is this because I'm using v8 of the compiler, or do you think I'm screwing something else up?

Thanks.


Re: Libraries with PICC v8.00 PL1

PostPosted: Fri Apr 05, 2002 2:23 am
by aek
Hi Nado.

Looks like the new v8.00PL1 PICC compiler has a few things missing or changed relative to the v7.87PL2 ...

Please add

code:
#define OSCOMPILER OSHT_PICC

to your salvocfg.h and tell me what happens ...

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

[This message has been edited by aek (edited April 05, 2002).]


Re: Libraries with PICC v8.00 PL1

PostPosted: Fri Apr 05, 2002 2:25 am
by aek
moving this topic to PIC-specific forum ...