Pumpkin, Inc.

Pumpkin User Forums

Missing header files?

If you're having difficulty installing Salvo, post it here.

Missing header files?

Postby jtemples » Fri Feb 28, 2003 1:33 am

If I remember right, when you don't do a "full install" of Salvo, some of the header files don't get installed.
jtemples
 
Posts: 45
Joined: Tue Jul 16, 2002 11:00 pm

Re: Missing header files?

Postby aek » Fri Feb 28, 2003 1:42 am

Hello.

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:
Executing: "c:mcc18inc18demo.exe" -p=18F452 "main.c" -fo="main.o" /i"C:salvoinc" -w2 -ms -Ot- -Ob-

Note that the include switch is wrong -- should probably be
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 : 0

MP2COD 3.00, COFF to COD File Converter
Copyright (c) 2002 Microchip Technology Inc.
Errors : 0

MP2HEX 3.00, COFF to HEX File Converter
Copyright (c) 2002 Microchip Technology Inc.
Errors : 0


Build completed successfully.


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

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

Re: Missing header files?

Postby aek » Fri Feb 28, 2003 1:43 am

quote:
If I remember right, when you don't do a "full install" of Salvo, some of the header files don't get installed.
I did "Typical Install" with all 4 PIC compilers selected, and also just with MPLAB-C18 selected. In both cases, portmcc.h was installed.

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

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

Re: Missing header files?

Postby jvc » Fri Feb 28, 2003 8:17 am

Thank you both for the suggestions. I did a reinstall using the "typical" setting and the header file is now present. The first time I installed it I used the "custom" setting so I could see what was being installed where. This time the installer asked me which compilers I would be using, when I selected "custom" the first time around, it didn't ask.

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).]

jvc
 
Posts: 4
Joined: Fri Feb 28, 2003 12:00 am
Location: Austin, TX

Re: Missing header files?

Postby jvc » Fri Feb 28, 2003 8:37 am

Oh, I forgot, this was for Salvo lite version 3.1.0-c

I downloaded it on the 26th.

jvc
 
Posts: 4
Joined: Fri Feb 28, 2003 12:00 am
Location: Austin, TX

Re: Missing header files?

Postby jvc » Fri Feb 28, 2003 12:21 pm

Forgive me if there is an obvious answer to this problem, but I've researched it in your user manual and in AN-12 and I can't solve it. It appears that there are a few of your "portxxx.h" files missing from the latest salvo lite (pic) install.

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).]

jvc
 
Posts: 4
Joined: Fri Feb 28, 2003 12:00 am
Location: Austin, TX

Re: Missing header files?

Postby aek » Wed Mar 05, 2003 9:45 am

How's it going? Is everything working?

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

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

Re: Missing header files?

Postby jvc » Mon Mar 10, 2003 9:29 am

Sorry for the delayed response, this is a personal project for me and I work on it when I can.

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.

jvc
 
Posts: 4
Joined: Fri Feb 28, 2003 12:00 am
Location: Austin, TX

Re: Missing header files?

Postby tbims23822 » Tue Jul 07, 2009 5:45 am

[www.drop-shopping.com is a premium website for cheap air jordans shoes and other more really nike air jordan shoes.We have varity of cheap air jordan shoes available for wholesale.Cheap China wholesale shoes including cheap Nike shoes and cheap jordan shoes,nike sneakers,nike sneakers discount,air jordan sneakers,air force sneakers.We supply nike sneakers,jordan sneakers,air jordan sneakers,air force sneakers wholesale.You can buy very cheap jordans shoes including cheap women shoes,cheap nike shoes,cheap running shoes from us.
tbims23822
 


Return to Installation

Who is online

Users browsing this forum: No registered users and 1 guest

cron