[prev in list] [next in list] [prev in thread] [next in thread] 

List:       paraview
Subject:    Re: [Paraview] SOURCE_CODE_BUILD_ERROR
From:       Chris Coutinho <c.coutinho () redstack ! nl>
Date:       2018-09-28 11:58:43
Message-ID: 20180928115843.gnitmhw3nhyjnfnm () hak14099
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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&amp; \
> data=02%7C01%7Cc.coutinho%40redstack.nl%7C8da9208b1924468be8e808d62536fc68%7Ceea7d51 \
> 815bf4e07834271208871a965%7C0%7C0%7C636737315433700913&amp;sdata=do55f00EIPQRzKyNok%2BK9OwNfDk8HpSYaayClg5lLQ4%3D&amp;reserved=0
>  
> ParaView discussion is moving! Please visit \
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdiscourse.paravie \
> w.org%2F&amp;data=02%7C01%7Cc.coutinho%40redstack.nl%7C8da9208b1924468be8e808d62536f \
> c68%7Ceea7d51815bf4e07834271208871a965%7C0%7C0%7C636737315433700913&amp;sdata=aeNCegk2l%2FhZTg882WE0Qootcpvle1b1PlFw37Gp%2Byo%3D&amp;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%2F \
> opensource%2Fopensource.html&amp;data=02%7C01%7Cc.coutinho%40redstack.nl%7C8da9208b1 \
> 924468be8e808d62536fc68%7Ceea7d51815bf4e07834271208871a965%7C0%7C0%7C636737315433700 \
> 913&amp;sdata=lTkHDP0UQNmDb1DvLaHlg0s9J%2BwXJEb%2BF%2F23AuWtDV4%3D&amp;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%2FWik \
> i%2FParaView&amp;data=02%7C01%7Cc.coutinho%40redstack.nl%7C8da9208b1924468be8e808d62 \
> 536fc68%7Ceea7d51815bf4e07834271208871a965%7C0%7C0%7C636737315433700913&amp;sdata=h5kCCLfWb%2FLaMInjHBTy12klWRqj%2BFUm6qZkwUA6CjQ%3D&amp;reserved=0
>  
> Search the list archives at: \
> https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmarkmail.org%2Fsea \
> rch%2F%3Fq%3DParaView&amp;data=02%7C01%7Cc.coutinho%40redstack.nl%7C8da9208b1924468b \
> e8e808d62536fc68%7Ceea7d51815bf4e07834271208871a965%7C0%7C0%7C636737315433700913&amp;sdata=MXYZ0VoHqgzi29Bs6gy9Bupb69Ael5ey9ItCt8RHvRo%3D&amp;reserved=0
>  
> Follow this link to subscribe/unsubscribe:
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpublic.kitware.co \
> m%2Fmailman%2Flistinfo%2Fparaview&amp;data=02%7C01%7Cc.coutinho%40redstack.nl%7C8da9 \
> 208b1924468be8e808d62536fc68%7Ceea7d51815bf4e07834271208871a965%7C0%7C0%7C6367373154 \
> 35392102&amp;sdata=afsM40x55kx7EvVRFlXBQykeR%2BCpBl8MZMWy50YUhNQ%3D&amp;reserved=0


["signature.asc" (application/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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic