<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(11,83,148)">Hi Sangeetha,</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(11,83,148)"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(11,83,148)">The CMake variables for VTK have changed since <a href="https://blog.kitware.com/vtk-modularization-and-modernization/" target="_blank">VTK modularization</a>. Variables like VTK_USE_QT, VTK_USE_RENDERING, VTK_USE_TK are obsolete since VTK 6. </div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(11,83,148)"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(11,83,148)">Because VTK is a large project, you should try running the cmake from the GUI (either the cmake-gui or ccmake) to figure out the variables you would need to change. For guidance on configuring VTK with cmake, take a look at this wiki page: <a href="http://www.vtk.org/Wiki/VTK/Configure_and_Build#Configure_VTK_with_CMake" target="_blank">http://www.vtk.org/Wiki/VTK/Configure_and_Build#Configure_VTK_with_CMake</a></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(11,83,148)"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(11,83,148)">Hope that helps.</div><div class="gmail_extra"><div><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><br></div><span style="color:rgb(11,83,148)"><span style="font-family:verdana,sans-serif">Sankhesh </span></span><div><b></b><br> </div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Tue, Jun 21, 2016 at 4:30 PM, Sangeetha Banavathi Srinivasa <span dir="ltr"><<a href="mailto:bsangee@vt.edu" target="_blank">bsangee@vt.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><span style="font-size:14px">Hi,</span><span style="font-family:arial,helvetica,sans-serif;font-size:14px;background-color:rgb(255,255,255)"></span><div style="font-size:14px">I am trying to compile vtk-7.0.0 from source and when I use the option <span style="font-family:monospace,Courier;font-size:13px;background-color:rgb(249,249,249)">QT_QMAKE_EXECUTABLE </span><span style="background-color:rgb(249,249,249)">with CMAKE to build VTK I get manually specified option ignored.</span></div><div style="font-size:14px"><span style="background-color:rgb(249,249,249)"><br></span></div><div style="font-size:14px"><span style="background-color:rgb(249,249,249)">Below is the cmake I am using:</span></div><div style="font-size:14px">cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE="Release" -DCMAKE_INSTALL_PREFIX="%{INSTALL_DIR}" -DVTK_USE_SYSTEM_HDF5=ON -DVTK_USE_PARALLEL=ON -DVTK_USE_QT=ON -DVTK_USE_RENDERING=ON -DVTK_WRAP_PYTHON=ON -DPYTHON_EXECUTABLE=$PYTHON_BIN/python -DPYTHON_INCLUDE_DIR=$PYTHON_INC -DPYTHON_LIBRARY=$PYTHON_LIB/<a href="http://libpython2.7.so" target="_blank">libpython2.7.so</a> -DVTK_USE_TK=OFF -DQT_QMAKE_EXECUTABLE=$QT_BIN/qmake ..</div><div style="font-size:14px"><span style="background-color:rgb(249,249,249)"><br></span></div><div style="font-size:14px"><span style="background-color:rgb(249,249,249)"><br></span></div><div style="font-size:14px"><span style="background-color:rgb(249,249,249)">Below is the warning I see:</span></div><div style="font-size:14px"><div>CMake Warning:</div><div> Manually-specified variables were not used by the project:</div><div> </div><div> QT_QMAKE_EXECUTABLE</div><div> VTK_USE_PARALLEL</div><div> VTK_USE_QT</div><div> VTK_USE_RENDERING</div><div> VTK_USE_TK</div><div><br></div><div><div><span style="background-color:rgb(249,249,249)">Could you please let me know as to how I can build VTK using Parallel and QT</span></div><div> </div><div>Thanks,</div><div>Sangeetha</div></div></div></div><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtk-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtk-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtk-developers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtk-developers</a><br>
<br>
<br></blockquote></div><br></div></div>