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
Hello, I was hoping I can get some assistance getting MapReady running. I made sure I had all of the libraries installed and up-to-date. I've read over all of the problems that other people had. I keep getting the same errors after I run ( make). I've spent more time on this than I care to admit and I still can't seem to get it to work. If I could get any help on this, it would be greatly appreciated.
j@j-ThinkPad-P50:$ cd ASF_MapReady
j@j-ThinkPad-P50:/ASF_MapReady$ ./configure
Configuring ASF Tools
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking for fopen in -lc... yes
checking for main in -lm... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for unistd.h... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for cos in -lm... yes
checking for cblas_dgemm in -lgslcblas... yes
checking for gsl_blas_dgemm in -lgsl... yes
checking for GSL... yes
checking for PROJ... yes
checking for GLIB... yes
checking for JPEG... no
checking for jpeg_read_header in -ljpeg... yes
checking for TIFF... yes
checking for PNG... yes
checking for GEOTIFF... no
checking for main in -lgeotiff... yes
checking for xtiffio.h in /usr/include... /usr/include/geotiff/xtiffio.h
checking /usr/include/geotiff/xtiffio.h usability... yes
checking /usr/include/geotiff/xtiffio.h presence... yes
checking for /usr/include/geotiff/xtiffio.h... yes
checking for SHAPELIB... yes
checking for FFTW... yes
checking for GTK... yes
checking for XML2... yes
checking for GDAL... yes
checking for CURL... yes
checking for HDF5... yes
checking for NETCDF... yes
checking for CUNIT... yes
checking for LIBGLADE... yes
########## Determining machine characteristics #############
endian.c: In function 'main':
endian.c:41:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=]
printf("\tshort = %d bytes.\n",sizeof(short));
~^
%ld
endian.c:42:20: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=]
printf("\tint = %d bytes.\n",sizeof(int));
~^
%ld
endian.c:43:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=]
printf("\tlong = %d bytes.\n",sizeof(long));
~^
%ld
endian.c:46:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=]
printf("\tfloat = %d bytes.\n",sizeof(float));
~^
%ld
endian.c:47:23: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=]
printf("\tdouble = %d bytes.\n",sizeof(double));
~^
%ld
Computer Information:
short = 2 bytes.
int = 4 bytes.
long = 8 bytes.
-> Integers are little-endian.
float = 4 bytes.
double = 8 bytes.
(float)(-9.5)= 0x0 0 18 c1
->Floats are IEEE standard little-endian.
To build the tools, type 'make'.
To install the tools, type 'make install'.
The tools will be installed in this location:
/usr/local
########### Build system is now configured ############
THIS IS THE BOTTOM PART OF THE PRINT OUT AFTER I RAN (MAKE)
In file included from /usr/include/hdf5/serial/H5public.h:145:0,
from /usr/include/hdf5/serial/hdf5.h:24,
from ../../include/asf_meta.h:35,
from asf_coregister.c:2:
../../include/ifm.h:30:13: error: two or more data types in declaration specifiers
typedef int bool;
^
In file included from asf_coregister.c:7:0:
../../include/ifm.h:30:1: warning: useless type name in empty declaration
typedef int bool;
^~~~~~~
asf_coregister.c: In function ‘read_ardop_params’:
asf_coregister.c:389:5: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp, "%f %f %f", &fd, &fdd, &fddd);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
asf_coregister.c:397:5: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp,"%f %f %f %f", &sloper, &interr, &slopea, &intera);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
asf_coregister.c:402:5: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp,"%f %f %f %f", &dsloper, &dinterr, &dslopea, &dintera);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
asf_coregister.c: In function ‘asf_coregister’:
asf_coregister.c:621:2: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp, "%lf%lf%lf%lf", &a, &b, &c, &d);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
asf_coregister.c:622:2: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp, "%lf%lf%lf%lf", &e, &f, &g, &h);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
: recipe for target 'asf_coregister.o' failed
make[1]: *** [asf_coregister.o] Error 1
make[1]: Leaving directory '/home/j/ASF_MapReady/src/libasf_insar'
Makefile:290: recipe for target 'mapready' failed
make: *** [mapready] Error 2
The text was updated successfully, but these errors were encountered:
Hello, I was hoping I can get some assistance getting MapReady running. I made sure I had all of the libraries installed and up-to-date. I've read over all of the problems that other people had. I keep getting the same errors after I run ( make). I've spent more time on this than I care to admit and I still can't seem to get it to work. If I could get any help on this, it would be greatly appreciated.
git clone https://github.com/asfadmin/ASF_MapReady.git
cd ASF_MapReady
./configure
make
j@j-ThinkPad-P50:
$ cd ASF_MapReady/ASF_MapReady$ ./configurej@j-ThinkPad-P50:
Configuring ASF Tools
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking for fopen in -lc... yes
checking for main in -lm... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for unistd.h... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for cos in -lm... yes
checking for cblas_dgemm in -lgslcblas... yes
checking for gsl_blas_dgemm in -lgsl... yes
checking for GSL... yes
checking for PROJ... yes
checking for GLIB... yes
checking for JPEG... no
checking for jpeg_read_header in -ljpeg... yes
checking for TIFF... yes
checking for PNG... yes
checking for GEOTIFF... no
checking for main in -lgeotiff... yes
checking for xtiffio.h in /usr/include... /usr/include/geotiff/xtiffio.h
checking /usr/include/geotiff/xtiffio.h usability... yes
checking /usr/include/geotiff/xtiffio.h presence... yes
checking for /usr/include/geotiff/xtiffio.h... yes
checking for SHAPELIB... yes
checking for FFTW... yes
checking for GTK... yes
checking for XML2... yes
checking for GDAL... yes
checking for CURL... yes
checking for HDF5... yes
checking for NETCDF... yes
checking for CUNIT... yes
checking for LIBGLADE... yes
########## Determining machine characteristics #############
endian.c: In function 'main':
endian.c:41:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=]
printf("\tshort = %d bytes.\n",sizeof(short));
~^
%ld
endian.c:42:20: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=]
printf("\tint = %d bytes.\n",sizeof(int));
~^
%ld
endian.c:43:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=]
printf("\tlong = %d bytes.\n",sizeof(long));
~^
%ld
endian.c:46:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=]
printf("\tfloat = %d bytes.\n",sizeof(float));
~^
%ld
endian.c:47:23: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=]
printf("\tdouble = %d bytes.\n",sizeof(double));
~^
%ld
Computer Information:
short = 2 bytes.
int = 4 bytes.
long = 8 bytes.
-> Integers are little-endian.
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/config.h
########### Automatic configuration complete ###########
The ASF tools Makefile is now fully prepared.
To build the tools, type 'make'.
To install the tools, type 'make install'.
The tools will be installed in this location:
/usr/local
########### Build system is now configured ############
THIS IS THE BOTTOM PART OF THE PRINT OUT AFTER I RAN (MAKE)
In file included from /usr/include/hdf5/serial/H5public.h:145:0,
from /usr/include/hdf5/serial/hdf5.h:24,
from ../../include/asf_meta.h:35,
from asf_coregister.c:2:
../../include/ifm.h:30:13: error: two or more data types in declaration specifiers
typedef int bool;
^
In file included from asf_coregister.c:7:0:
../../include/ifm.h:30:1: warning: useless type name in empty declaration
typedef int bool;
^~~~~~~
asf_coregister.c: In function ‘read_ardop_params’:
asf_coregister.c:389:5: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp, "%f %f %f", &fd, &fdd, &fddd);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
asf_coregister.c:397:5: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp,"%f %f %f %f", &sloper, &interr, &slopea, &intera);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
asf_coregister.c:402:5: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp,"%f %f %f %f", &dsloper, &dinterr, &dslopea, &dintera);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
asf_coregister.c: In function ‘asf_coregister’:
asf_coregister.c:621:2: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp, "%lf%lf%lf%lf", &a, &b, &c, &d);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
asf_coregister.c:622:2: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp, "%lf%lf%lf%lf", &e, &f, &g, &h);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
: recipe for target 'asf_coregister.o' failed
make[1]: *** [asf_coregister.o] Error 1
make[1]: Leaving directory '/home/j/ASF_MapReady/src/libasf_insar'
Makefile:290: recipe for target 'mapready' failed
make: *** [mapready] Error 2
The text was updated successfully, but these errors were encountered: