fail to compile OCSSW

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
lvxiaoning
Posts: 15
Joined: Sun Jul 10, 2022 10:33 pm America/New_York
Answers: 0

fail to compile OCSSW

by lvxiaoning » Wed Jul 13, 2022 2:51 am America/New_York

I try to compile OCSSW and follow the steps in https://oceancolor.gsfc.nasa.gov/docs/ocssw/index.html
but I meet a trouble when i want to make -j 20

$ cd <ocssw build directory> (e.g. $OCSSWROOT/ocssw-src/build)
$ export OCSSW_DEBUG=1 #could be set to 0 if not debugging
$ make -j 20

In file included from /home/dell/ocssw/ocssw-src/src/geolocate_viirs/Geolocate_Viirs_Driver.cpp:20:0:
/home/dell/ocssw/ocssw-src/src/geolocate_viirs/geolocate_viirs.h:12:30: fatal error: VcstParamsReader.h: No such file or directory
compilation terminated.

It mind me i don't have VcstParamsReader.h file. But i found step1 git clone ocssw-src don't have the file.
So i change a website's steps. https://seadas.gsfc.nasa.gov/build_ocssw/
that's install ocssw file have VcstParamsReader.h
So i copy it to my old steps,but it not worked.
I don't know how to continue.

Tags:

OB SeaDAS - xuanyang02
Subject Matter Expert
Subject Matter Expert
Posts: 644
Joined: Tue Feb 09, 2021 5:42 pm America/New_York
Answers: 1
Been thanked: 1 time

Re: fail to compile OCSSW

by OB SeaDAS - xuanyang02 » Wed Jul 20, 2022 1:52 pm America/New_York

The instructions here https://oceancolor.gsfc.nasa.gov/docs/ocssw/index.html are obsolete. Please compile ocssw following the instructions here https://seadas.gsfc.nasa.gov/build_ocssw/

lvxiaoning
Posts: 15
Joined: Sun Jul 10, 2022 10:33 pm America/New_York
Answers: 0

Re: fail to compile OCSSW

by lvxiaoning » Fri Jul 22, 2022 3:53 am America/New_York

Dear xuanyang02
Thanks a lot for your reply. Finally i compile ocssw use the old website successful.thanks

Post Reply