Two things come to mind:
1) Are you running Salvo v3? Specifically, Salvo for PICs v3.1.0-c? It installs properly with portmcc.h ...
2)
code:Note that the include switch is wrong -- should probably beExecuting: "c:mcc18inc18demo.exe" -p=18F452 "main.c" -fo="main.o" /i"C:salvoinc" -w2 -ms -Ot- -Ob-
code:Executing: "c:mcc18inc18demo.exe" -p=18F452 "main.c" -fo="main.o" -i"C:salvoinc" -w2 -ms -Ot- -Ob-
Here are the results from building salvo ut u4syse u4free.pjt:
code:Building TU4FREE.HEX...Compiling main.c:
Command line: "C:mccinmcc18.exe -w2 -ms -isalvoinc -dSYSE -p=18C452
-iSALVOTUTTU4SYSE -isalvo ut u1 -dMAKE_WITH_FREE_LIB salvo ut u4main.c"Compiling mem.c:
Command line: "C:mccinmcc18.exe -w2 -ms -isalvoinc -p=18C452
-iSALVOTUTTU4SYSE -dMAKE_WITH_FREE_LIB salvosrcmem.c"Linking:
Command line: "C:mccinmplink.exe /m tu4free.map /o TU4FREE.HEX /l C:MCCLIB /k
C:MCCLKR salvo ut u4main.o salvosrcmem.o C:MCCLKR18C452.LKR salvolibSFC18SFE.lib "
MPLINK 3.00, Linker
Copyright (c) 2002 Microchip Technology Inc.
Errors : 0MP2COD 3.00, COFF to COD File Converter
Copyright (c) 2002 Microchip Technology Inc.
Errors : 0MP2HEX 3.00, COFF to HEX File Converter
Copyright (c) 2002 Microchip Technology Inc.
Errors : 0
Build completed successfully.
------------------
quote:I did "Typical Install" with all 4 PIC compilers selected, and also just with MPLAB-C18 selected. In both cases, portmcc.h was installed.
If I remember right, when you don't do a "full install" of Salvo, some of the header files don't get installed.
------------------
If memory serves me correctly, I didn't have any compilers installed when I installed salvo, maybe that threw off the installer when it couldn't detect a supported compiler.
Anyway, the test program compiles now (still using /i for the include dir) I just have to figure out what the IDE is doing wrong when it calls mp2cod now (it's not handing off the name of the .coff file when it calls mp2cod) but I think that's probably a question for another forum.
Thanks again.
[This message has been edited by jvc (edited February 28, 2003).]
I downloaded it on the 26th.
I'm using MPLAB 6.10 and mcc 2.10 demo targeting the pic18f452. Compiling a simple salvo app to test the install:
code:
#include <salvo.h>int main (void)
{
OSInit();
for (; ;)
OSSched();
}
with the following salvocfg.h:
code:
#define OSUSE_LIBRARY TRUE
#define OSLIBRARY_TYPE OSF
#define OSLIBRARY_GLOBALS OSF
#define OSLIBRARY_CONFIG OSA
#define OSLIBRARY_VARIANT OSNONE
results in the following error:
code:
Executing: "c:mcc18inc18demo.exe" -p=18F452 "main.c" -fo="main.o" /i"C:salvoinc" -w2 -ms -Ot- -Ob-
C:/salvo/inc/salvo.h:1336: unable to locate 'portmcc.h'
error 1 spawning c:mcc18incpp18
Halting build on first failure as requested.
BUILD FAILED
I've looked high and low for portmcc.h on my harddrive, but it's no where to be found. Additionally there are only two "portxxx.h" files in the salvoinc folder, "portgcc.h" and "portmwcw.h" Looking through the salvo.h file starting at line 1262 there should be several more "portxxx.h" files included in the install that aren't in the salvoinc folder.
Did I miss something?
[This message has been edited by jvc (edited February 28, 2003).]
Everything is fine. Thank you for asking. Once I did the reinstall, everything started working properly.
I just haven't had much time to work on it lately.
Users browsing this forum: No registered users and 1 guest