facing problem while build and make install OCSSW

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
vimal459
Posts: 16
Joined: Tue Mar 13, 2018 12:14 am America/New_York
Answers: 0

facing problem while build and make install OCSSW

by vimal459 » Thu Oct 31, 2019 8:16 am America/New_York

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?

Filters:

OB SeaDAS - dshea
Subject Matter Expert
Subject Matter Expert
Posts: 272
Joined: Thu Mar 05, 2009 10:25 am America/New_York
Answers: 0
Been thanked: 3 times

facing problem while build and make install OCSSW

by OB SeaDAS - dshea » Thu Oct 31, 2019 11:31 am America/New_York

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

Post Reply