I have been trying to install SeaDAS-7.5.3 in Ubuntu 18.04 system.
It shows following error while make install in build.
[ 25%] Building CXX object src/l2gen/CMakeFiles/l1mapgen.dir/l1c_msi.cpp.o
[ 25%] Building C object src/l2gen/CMakeFiles/l1mapgen.dir/l1a_hawkeye.c.o
[ 26%] Building C object src/l2gen/CMakeFiles/l1mapgen.dir/l1b_misr.c.o
/home/vimal/seadas/ocssw/ocssw-src/src/l2gen/l1b_misr.c: In function ‘openl1b_misr’:
/home/vimal/seadas/ocssw/ocssw-src/src/l2gen/l1b_misr.c:245:16: warning: iteration 179 invokes undefined behavior [-Waggressive-loop-optimizations]
double f1 = private_data->SolZenith[8*(i+1)+0][15];
^~
/home/vimal/seadas/ocssw/ocssw-src/src/l2gen/l1b_misr.c:241:5: note: within this loop
for (i=0; i<180; i++) {
^~~
[ 26%] Building C object src/l2gen/CMakeFiles/l1mapgen.dir/l1b_oci.c.o
[ 26%] Building C object src/l2gen/CMakeFiles/l1mapgen.dir/l1b_ocis.c.o
[ 26%] Building CXX object src/l2gen/CMakeFiles/l1mapgen.dir/l1_seabass.cpp.o
make[2]: *** No rule to make target '/home/vimal/seadas/ocssw/opt/lib/libnovas.a', needed by 'src/l2gen/l1mapgen'. Stop.
CMakeFiles/Makefile2:2790: recipe for target 'src/l2gen/CMakeFiles/l1mapgen.dir/all' failed
make[1]: *** [src/l2gen/CMakeFiles/l1mapgen.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
how to resolve this error?
facing problem while build and make install OCSSW
-
- Subject Matter Expert
- Posts: 272
- Joined: Thu Mar 05, 2009 10:25 am America/New_York
- Been thanked: 3 times
facing problem while build and make install OCSSW
You need to do step 7 on this page to get the precompiled VIIRS libs which we can not distribute the source code for.
https://seadas.gsfc.nasa.gov/build_ocssw/
don
https://seadas.gsfc.nasa.gov/build_ocssw/
don