Page 1 of 1

An-13

PostPosted: Wed Oct 31, 2007 1:05 am
by aastokes
Hi, I've followed An-13 to page 8 but when I try to build the target I get the following errors:

Build target 'Target 1'
compiling main.c...
C:SALVOINCSALVOLIB.H(125): error C320: salvolib.h: Library type not specified -- aborting.
C:SALVOINCSALVOLIB.H(129): error C320: salvolib.h: Library configuration not specified -- aborting.
C:SALVOINCSALVOLIB.H(133): error C320: salvolib.h: Library variant not specified -- aborting.
C:SALVOINCSALVOLIB.H(141): error C320: salvolib.h: Library memory type for globals not specified -- aborting.
C:SALVOINCSALVOLIB.H(173): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(178): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(188): error C320: salvolib.h: Unknown library type -- aborting.
C:SALVOINCSALVOLIB.H(200): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(218): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(236): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(254): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(272): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(291): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(308): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(325): error C320: salvolib.h: Unknown library configuration -- aborting.
C:SALVOINCSALVOLIB.H(334): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(352): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(372): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(381): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(396): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(401): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(423): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(425): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(427): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(430): error C320: salvolib.h: Unknown library memory type -- aborting.
C:SALVOINCSALVOLIB.H(482): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(482): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(555): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(555): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(555): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(555): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(555): warning C322: unknown identifier
compiling mem.c...
C:SALVOINCSALVOLIB.H(125): error C320: salvolib.h: Library type not specified -- aborting.
C:SALVOINCSALVOLIB.H(129): error C320: salvolib.h: Library configuration not specified -- aborting.
C:SALVOINCSALVOLIB.H(133): error C320: salvolib.h: Library variant not specified -- aborting.
C:SALVOINCSALVOLIB.H(141): error C320: salvolib.h: Library memory type for globals not specified -- aborting.
C:SALVOINCSALVOLIB.H(173): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(178): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(188): error C320: salvolib.h: Unknown library type -- aborting.
C:SALVOINCSALVOLIB.H(200): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(218): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(236): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(254): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(272): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(291): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(308): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(325): error C320: salvolib.h: Unknown library configuration -- aborting.
C:SALVOINCSALVOLIB.H(334): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(352): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(372): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(381): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(396): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(401): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(423): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(425): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(427): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(430): error C320: salvolib.h: Unknown library memory type -- aborting.
C:SALVOINCSALVOLIB.H(482): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(482): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(555): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(555): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(555): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(555): warning C322: unknown identifier
C:SALVOINCSALVOLIB.H(555): warning C322: unknown identifier
Target not created

Any help much appreciated.

Regards

Adam


Re: An-13

PostPosted: Wed Oct 31, 2007 8:22 am
by aek
1) Before trying to build a project from scratch, always please try the existing projects in the distribution.

2) From the initial error messages, sounds like it's not finding the various #defines that are required (see p. 5) to properly steer Salvo to the right configuration. It's found _a_ salvocfg.h (because o/wise you'd have a file not found error), but apparently not the one you've created. Make sure your include paths to your salvocfg.h are set. I find that putting a

code:
#error Boo!

in a header file goes a long way to verifying that said particular header file is being found at compile time ...

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


Re: An-13

PostPosted: Wed Oct 31, 2007 8:27 am
by aek
Another possibility is that you have a typo in your salvocfg.h .. check it.

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


Re: An-13

PostPosted: Thu Nov 01, 2007 12:23 am
by aastokes
Typo,

Put OS_LIBRARY instead of OSLIBRARY.

Apologies and thanks for the help.

Kind Regards

Adam.