<span style="font-family:arial,sans-serif;font-size:13px">VTK_USE_SYSTEM_PROTOBUF ON is not supported currently. However if someone in the community is interested in supporting that and would like us to integrate patches into ParaView to enable the same, we'll be more than happy to do it.</span><br>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Utkarsh</span></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Mon, Nov 12, 2012 at 9:08 PM, <span dir="ltr"><<a href="mailto:fbissey@slingshot.co.nz" target="_blank">fbissey@slingshot.co.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I am on linux and I tried to configure paraview with VTK_USE_SYSTEM_PROTOBUF on.<br>
It failed miserably even though I have protobuf 2.4.0a installed. The message<br>
was informative once I figured out what the problem was:<br>
CMake Error at VTK/CMake/vtkModuleMacros.cmake:578 (find_package):<br>
By not providing "Findprotobuf.cmake" in CMAKE_MODULE_PATH this project has<br>
asked CMake to find a package configuration file provided by "protobuf",<br>
but CMake did not find one.<br>
<br>
Could not find a package configuration file provided by "protobuf" with any<br>
of the following names:<br>
<br>
protobufConfig.cmake<br>
protobuf-config.cmake<br>
<br>
Add the installation prefix of "protobuf" to CMAKE_PREFIX_PATH or set<br>
"protobuf_DIR" to a directory containing one of the above files. If<br>
"protobuf" provides a separate development package or SDK, be sure it has<br>
been installed.<br>
Call Stack (most recent call first):<br>
ThirdParty/protobuf/CMakeLists.txt:37 (vtk_module_third_party)<br>
<br>
<br>
The problem is that linux is case sensitive and cmake (2.8.9 and 2.8.10.1)<br>
install FindProtobuf.cmake. Notice the capital P? I am guessing I will have to<br>
change one of the "protobuf" to "Protobuf" in<br>
ThirdParty/protobuf/CMakeLists.txt.<br>
But one more thing is nagging me. This is happening in the VTK subfolder so<br>
presumably while configuring VTK. Yet I don't see any use of protobuf in VTK,<br>
only in Paraview. So it should really be a Paraview_use_system_protobuf setting<br>
and not be set up in VTK. I could of course be wrong.<br>
<br>
Cheers,<br>
Francois<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</blockquote></div><br></div>