Hi Govind,ParaView has a number of dependencies it handles using `git submodules`. The normal way that I download and install ParaView is by first cloning the main repository, then checking out which branch I need, and finally checking out the submodules like this:
git submodule update --init --recursive
This downloads the submodules (such as VTK) into their proper locations.
I would delete your separate copy of VTK and use the submodules instead
because there may be a mismatch between the two.
You could also clone the repository including the submodules all at once using the following:
git clone --recurse-submodules <repo url>
or by pulling the latest commits from the remote with:
git pull --recurse-submodules
NOTE: This mailing list is being deprecated, and further discussion
occurs on the ParaView discourse
Regards, Chris On Sep-28-18, govind sharma wrote:
Hello,
I am trying to install Paraview with source code and following the steps as:
1: git pull source code - directory name is paraview
2. to build in paraview in separate directory - directory name
paraview-build
3. from inside the paraview-build directory ccmake ../paraview
4. Try to configure but error related to VTK
5. So checked that VTK directory is there in paraview but empty
6. git pull VTK source code in paraview/VTK
7. ccmake ../paraview
8. No VTK error but error related to protobuf:
CMake Error at
VTK/CMake/vtkModuleMacros.cmake:934 (add_subdirectory):
add_subdirectory given source
"vtkprotobuf" which is not an existing
directory.
Call Stack (most recent call first):
ThirdParty/protobuf/CMakeLists.txt:40
(vtk_module_third_party)
CMake Error at VTK/CMakeLists.txt:138
(export):
export given target "protobuf" which is
not built by this project.
CMake Error at VTK/CMakeLists.txt:146
(export):
export given target "protoc_compiler"
which is not built by this project.
9. My solution:
created protobuf directory in
/ParaView/VTK/ThirdParty/protobuf and extracted source code of protocol
buffer
Still I am getting same error statements upon configuration.
How do I proceed for successful paraview build.
Regards,
Govind Sharma
PhD Student
Indian Institute of Technology, Delhi
_______________________________________________ Powered by https://emea01.safelinks.protection.outlook.com/?url=www.kitware.com&data=02%7C01%7Cc.coutinho%40redstack.nl%7C8da9208b1924468be8e808d62536fc68%7Ceea7d51815bf4e07834271208871a965%7C0%7C0%7C636737315433700913&sdata=do55f00EIPQRzKyNok%2BK9OwNfDk8HpSYaayClg5lLQ4%3D&reserved=0 ParaView discussion is moving! Please visit https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdiscourse.paraview.org%2F&data=02%7C01%7Cc.coutinho%40redstack.nl%7C8da9208b1924468be8e808d62536fc68%7Ceea7d51815bf4e07834271208871a965%7C0%7C0%7C636737315433700913&sdata=aeNCegk2l%2FhZTg882WE0Qootcpvle1b1PlFw37Gp%2Byo%3D&reserved=0 for future posts. Visit other Kitware open-source projects at https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com%2Fopensource%2Fopensource.html&data=02%7C01%7Cc.coutinho%40redstack.nl%7C8da9208b1924468be8e808d62536fc68%7Ceea7d51815bf4e07834271208871a965%7C0%7C0%7C636737315433700913&sdata=lTkHDP0UQNmDb1DvLaHlg0s9J%2BwXJEb%2BF%2F23AuWtDV4%3D&reserved=0 Please keep messages on-topic and check the ParaView Wiki at: https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fparaview.org%2FWiki%2FParaView&data=02%7C01%7Cc.coutinho%40redstack.nl%7C8da9208b1924468be8e808d62536fc68%7Ceea7d51815bf4e07834271208871a965%7C0%7C0%7C636737315433700913&sdata=h5kCCLfWb%2FLaMInjHBTy12klWRqj%2BFUm6qZkwUA6CjQ%3D&reserved=0 Search the list archives at: https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmarkmail.org%2Fsearch%2F%3Fq%3DParaView&data=02%7C01%7Cc.coutinho%40redstack.nl%7C8da9208b1924468be8e808d62536fc68%7Ceea7d51815bf4e07834271208871a965%7C0%7C0%7C636737315433700913&sdata=MXYZ0VoHqgzi29Bs6gy9Bupb69Ael5ey9ItCt8RHvRo%3D&reserved=0 Follow this link to subscribe/unsubscribe: https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpublic.kitware.com%2Fmailman%2Flistinfo%2Fparaview&data=02%7C01%7Cc.coutinho%40redstack.nl%7C8da9208b1924468be8e808d62536fc68%7Ceea7d51815bf4e07834271208871a965%7C0%7C0%7C636737315435392102&sdata=afsM40x55kx7EvVRFlXBQykeR%2BCpBl8MZMWy50YUhNQ%3D&reserved=0
signature.asc
Description: PGP signature
_______________________________________________ Powered by www.kitware.com ParaView discussion is moving! Please visit https://discourse.paraview.org/ for future posts. Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: https://public.kitware.com/mailman/listinfo/paraview
