[comp.windows.x] xloadimage 2.01

gates@CSCSUN1.LARC.NASA.GOV (Ray Gates) (10/01/90)

Tried to compile xloadimage2.01----couldn't find 
                  mcidas.h
Anybody else have the same problem?????

-- 
_______________________________________________________________________________
				       |        Ray Gates 
	"Mama, mama, many worlds       |	CSC/NASA-Langley
	 have come since I first       |	gates@cscsun1.larc.nasa.gov
               left home."	       |              (128.155.42.32)
				       |        Phone:  804.865.1725
-------------------------------------------------------------------------------
DISCLAIMER: The comments/opinions contained within are my own and do not
            necessarily represent the opinions of my employer(s).
-------------------------------------------------------------------------------

kaleb@thyme.jpl.nasa.gov (Kaleb Keithley ) (10/01/90)

In article <9010011159.AA27250@cscsun1.larc.nasa.gov> gates@CSCSUN1.LARC.NASA.GOV (Ray Gates) writes:
>Tried to compile xloadimage2.01----couldn't find 
>                  mcidas.h
>Anybody else have the same problem?????

Yes and No!  I got:
make: Fatal error: Don't know how to make target `mcidas.o'

-- 
Kaleb Keithley                      Jet Propulsion Labs
kaleb@thyme.jpl.nasa.gov

Stirring up trouble again.

pjs@aristotle.JPL.NASA.gov (Peter Scott) (10/02/90)

In article <1990Oct1.152728.19838@thyme.jpl.nasa.gov>, kaleb@thyme.jpl.nasa.gov (Kaleb Keithley	) writes:
> In article <9010011159.AA27250@cscsun1.larc.nasa.gov> gates@CSCSUN1.LARC.NASA.GOV (Ray Gates) writes:
> >Tried to compile xloadimage2.01----couldn't find 
> >                  mcidas.h
> >Anybody else have the same problem?????
> 
> Yes and No!  I got:
> make: Fatal error: Don't know how to make target `mcidas.o'

Same here, so I looked through the patch file, 'cos I was sure I
had gotten a message saying that it was creating a new file mcidas.c.
It turned out that all those new files were created in a subdirectory 
src.2.01.  Might be a good idea to alter the patch file.  Anyway, I
moved them into the parent directory and it's making fine now - got
past the mcidas stuff with no problem.

-- 
This is news.  This is your       |    Peter Scott, NASA/JPL/Caltech
brain on news.  Any questions?    |    (pjs@aristotle.jpl.nasa.gov)

jimf@SABER.COM (10/02/90)

|Tried to compile xloadimage2.01----couldn't find 
|                  mcidas.h
|Anybody else have the same problem?????

Yes, I goofed it when building my automatic packer.  It follows for
those who need it, sorry about the omission.  The tar on expo has been
replaced with one that has the header.

jim frost
saber software
jimf@saber.com

-- cut here --
/* Argh, looks like the numbers are in vax byte order */

#define TYPELEN		4 /* Short strings used as identifiers */
#define COMMENTLEN	32	/* longer strings */
/*
 * McIdas AREA DIRECTORY, based on documentation dated 5/87 by R. Dengal
 */
struct area_dir {
/*  1 */ unsigned long	status ;
/*  2 */ unsigned long	type ;
/*  3 */ unsigned long	satid ;
/*  4 */ unsigned long	ndate ; /* YYDDD */
/*  5 */ unsigned long	ntime ; /* HHMMSS */
/*  6 */ unsigned long	lcor ;
/*  7 */ unsigned long	ecor ;
/*  8 */ unsigned long	zcor ;
/*  9 */ unsigned long	lsiz ;
/* 10 */ unsigned long	esiz ;
/* 11 */ unsigned long	zsiz ;
/* 12 */ unsigned long	lres ;
/* 13 */ unsigned long	eres ;
/* 14 */ unsigned long	bands ;
/* 15 */ unsigned long	yzprefix ;
/* 16 */ unsigned long	projnum ;
/* 17 */ unsigned long	cdate ;
/* 18 */ unsigned long	ctime ;
/* 19 */ unsigned long	filtmap ;
/* 20 */ unsigned long	imageid ;
/* 21 */ unsigned long	resvid[4] ;
#define AREA_COMMENTS 24
/* 25 */ char	comments[COMMENTLEN] ;
#define AREA_CALKEY 32
/* 33 */ unsigned long	calkey ;
/* 34 */ unsigned long	navkey ;
/* 35 */ unsigned long	navkey2 ;
/* 36 */ unsigned long	lprefix ;
/* 37 */ unsigned long	pdl[8] ;
/* 45 */ unsigned long	band8 ;
/* 46 */ unsigned long idate ;
/* 47 */ unsigned long itime ;
/* 48 */ unsigned long	startscan ;
/* 49 */ unsigned long	doclen ;
/* 50 */ unsigned long	callen ;
/* 51 */ unsigned long	levlen ;
#define AREA_STYPE 51
/* 52 */ char	stype[TYPELEN] ;
/* 53 */ char	ctype[TYPELEN] ;
/* 54 */ unsigned long	reserved[11] ;
} ;

/*
 * McIdas NAVIGATION CODICIL, based on documentation dated 5/87 by D. Santek
 *  Only type 'GOES' used here currently
 */
struct navigation {
/*   1 */ char	type[TYPELEN] ;
#define NAV_DATA 1
/*   2 */ unsigned long iddate ;
/*   3 */ unsigned long itime ;
/*   4 */ unsigned long fill[37] ; /* expand this later, if needed */
#define NAV_RESERVED 40
/*  41 */ unsigned long	reserved[80] ;
/* 121 */ char	memo[COMMENTLEN] ;
} ;

struct mc_area {
	struct area_dir *dir ;
	struct navigation *nav ;
	unsigned char *image ;
	unsigned char *private ; /* conveninence pointer */
} ;