Trying to build an old version of ParaView (3.12.0) I am struggling with getting the right submodules ready (so maybe this is rather a git question than anything else). The purpose is to finally also compile the sources of ParaViewGeo and see what they are actually doing (before possibly porting the one or other to a current version of PV).
I cloned the Paraview repository with git and --recursive, then I did a git checkout v3.12.0. With a little trial and error I prepared a configuration file to feed into CMake that tells the system to work with some old Qt4 version.
Running CMake -R Ninja -C <myconfig.cmake>
always gives me an error:
Please initialize the git submodules.
/ultrabay/Development/ParaViewGeo/ParaView312 is not a valid git submodule.
Run the following commands to initialize the ParaView Git submodules.
git submodule update --init
Now I can follow these instructions as much as I want - the message comes again!
I must say that I am still very much confused with these submodules in the main project, and whatever I type in git related to submodules…subprojects is for me just “stirring in the fog” - I don’t know what I am really doing.
So I would be very happy if somebody could give me some hints!