You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Build lndsr with http://edcftp.cr.usgs.gov/pub/software/gctpc/gctpc20.tar
2.
3.
What is the expected output? What do you see instead?
I get the error:
INFO: From Compiling third_party/ledaps/lndsr/space.c:
third_party/ledaps/lndsr/space.c:101:5: error: conflicting types for 'for_init'
int for_init( int outsys, int outzone, double *outparm, int outdatum,
^
third_party/gctpc/source/proj.h:164:6: note: previous declaration is here
void for_init(long outsys, long outzone, double *outparm, long outspheroid,
^
third_party/ledaps/lndsr/space.c:104:5: error: conflicting types for 'inv_init'
int inv_init( int insys, int inzone, double *inparm, int indatum,
^
third_party/gctpc/source/proj.h:197:6: note: previous declaration is here
void inv_init(long insys, long inzone, double *inparm, long inspheroid,
^
2 errors generated.
What version of the product are you using? On what operating system?
LEDAPS (r122) on 64bit Linux.
Please provide any additional information below.
Original issue reported on code.google.com by warmerdam@google.com on 1 Aug 2013 at 6:49
The text was updated successfully, but these errors were encountered:
It seems like since proj.h provides the prototypes for these functions it
should not be necessary to provide them in space.c. I propose the attached
patch though I've not yet tested it with the gctpc built into hdfeos.
Original comment by warmerdam@google.com on 1 Aug 2013 at 6:53
Original issue reported on code.google.com by
warmerdam@google.com
on 1 Aug 2013 at 6:49The text was updated successfully, but these errors were encountered: