Page 1 of 1

fail to compile OCSSW

Posted: Wed Jul 13, 2022 2:51 am America/New_York
by lvxiaoning
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.

Re: fail to compile OCSSW

Posted: Wed Jul 20, 2022 1:52 pm America/New_York
by OB SeaDAS - xuanyang02
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/

Re: fail to compile OCSSW

Posted: Fri Jul 22, 2022 3:53 am America/New_York
by lvxiaoning
Dear xuanyang02
Thanks a lot for your reply. Finally i compile ocssw use the old website successful.thanks