Pumpkin, Inc.

Pumpkin User Forums

having trouble building ex1 with freeware libraries

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

having trouble building ex1 with freeware libraries

Postby Matt » Thu May 23, 2002 3:38 am

Hi.
i'm new to the Salvo user community and i'm having problems with building the ex1 project.i went through the AN1 a few times but still can't get the hex file to be build.
the build result file doesn't show any specific errors.the main.c file compiles without errors though.
what am i screwing up?

thanks.

Matt
 
Posts: 3
Joined: Wed May 22, 2002 11:00 pm

Re: having trouble building ex1 with freeware libraries

Postby Salvo Tech Support » Thu May 23, 2002 7:31 am

Hi Matt.

Can you copy the MPLAB Build Results window and paste it here so we can see the results? That'll tell us what's wrong ...

------------------
--------
Salvo Technical Support
Please request all tech support through the Forums.

--------
Salvo Technical Support
Please request all tech support through the Forums.
Salvo Tech Support
 
Posts: 173
Joined: Sun Nov 19, 2000 12:00 am

Re: having trouble building ex1 with freeware libraries

Postby Matt » Thu May 23, 2002 8:48 am

Hi again.
here is the build result file...
code:
Building EX1.HEX...

Compiling MAIN.C:
Command line: "C:HT-PICBINPICC.EXE -G -O -Zg5 -D24 -E -ASMLIST -FAKELOCAL -16C77 -C -ISALVOEXAMPLEEX1SYSA -fakelocal
-Isalvoinclude D:SALVOEXAMPLEEX1MAIN.C"
Enter PICC -HELP for help

Linking:
Command line: "C:HT_PICBINPICC.EXE -G -INTEL -Mex1.map -16C77 -oEX1.HEX -fakelocal D:SALVOEXAMPLEEX1MAIN.OBJ D:SALVOLIBRARYSFP42CAB.LIB "

MPLAB is unable to find output file "EX1.HEX".

Build failed.


regards.

[This message has been edited by Salvo Tech Support (edited May 23, 2002).]

Matt
 
Posts: 3
Joined: Wed May 22, 2002 11:00 pm

Re: having trouble building ex1 with freeware libraries

Postby Salvo Tech Support » Thu May 23, 2002 9:12 am

Hi Matt.

Sorry about your problems -- some of them may be our fault.

One thing I immediately notice is the salvoinclude pathname on the PICC command line -- that's very old, very pre-v3.x.

Are you using an earlier version of Salvo, e.g. v2.x?

Or have you installed v3.x, but are following the instructions in AN-1?

AN-1 is a bit out-of-date, in that some of the Salvo directories' names have changed:

salvoinclude -> salvoinc
salvolibrary -> salvolib
salvoexample -> salvoex
salvo utorial -> salvo ut

etc. So,

1) If you're not already doing so, please upgrade to v3.x, available on our website. You should be able to build your own project using AN-1, but with salvoinc instead of salvoinclude, etc. We'll update AN-1 to be v3.x-compatible in the next few weeks.

2) We just tested the salvoex sample projects here and they don't work! That's because they're missing a header file, among others. But all of the tutorial projects in salvo ut do work, as do the ones in salvodemo. So you'll have to use those as a guide for now.

Sorry for the inconvenience. As soon as we release the next Salvo for PICmicro(R) MCUs version (with new support for the IAR PIC18C compiler) we'll fixed the salvoex projects.

As for why your particular project doesn't compile, that looks like an MPLAB bug we've seen in the past, and has to do with the way the project is declared. We were able to avoid that once MPLAB v5.50 came out, with the new project structure. That's why we'd like to see all our users at Salvo v3.x and MPLAB v5.50 or higher.

------------------
--------
Salvo Technical Support
Please request all tech support through the Forums.

--------
Salvo Technical Support
Please request all tech support through the Forums.
Salvo Tech Support
 
Posts: 173
Joined: Sun Nov 19, 2000 12:00 am

Re: having trouble building ex1 with freeware libraries

Postby Matt » Fri May 24, 2002 10:51 am

hi.
Using the new include paths and upgrading to MPLAB V5.5 did wonders.

Thanks for your help.

Matt
 
Posts: 3
Joined: Wed May 22, 2002 11:00 pm


Return to Installation

Who is online

Users browsing this forum: No registered users and 0 guests

cron