<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class=""><span class="">It is what I used to build CMake:<br class=""></span></span><span class=""><pre style="padding: 1em; border: 1px dashed rgb(47, 111, 171); background-color: rgb(249, 249, 249); line-height: 1.1em;" class="">./configure --prefix=$HOME/software
make
make install</pre></span><span class=""><span class="">And, it is how I configured VTK with CMake:<br class=""></span></span><div class=""><pre style="padding: 1em; border: 1px dashed rgb(47, 111, 171); background-color: rgb(249, 249, 249); line-height: 1.1em;" class="">mkdir $HOME/projects/VTK-build
cd $HOME/projects/VTK-build
ccmake $HOME/projects/VTK</pre><div class="">is it what you mean by cmake command?</div></div><div class=""><br class=""></div><div><blockquote type="cite" class=""><div class="">On Nov 18, 2014, at 4:30 PM, Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com" class="">bill.lorensen@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">So, what is the cmake command you are using?<br class=""><br class=""><br class="">On Tue, Nov 18, 2014 at 4:06 PM, Nima Ajam Gard <<a href="mailto:ajam.nima@gmail.com" class="">ajam.nima@gmail.com</a>> wrote:<br class=""><blockquote type="cite" class="">Thanks Bill for your help. Pages are updated as you can see it has a “new” subscript.<br class=""><br class=""><blockquote type="cite" class="">On Nov 18, 2014, at 4:02 PM, Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com" class="">bill.lorensen@gmail.com</a>> wrote:<br class=""><br class="">Please keep the users list in this conversation.<br class=""><br class="">It is possible that those pages have not been updated for vtk6.<br class=""><br class="">There are some wiki examples that use Qt. For example see:<br class=""><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx#Qt" class="">http://www.vtk.org/Wiki/VTK/Examples/Cxx#Qt</a><br class=""><br class="">Bill<br class=""><br class="">On Tue, Nov 18, 2014 at 3:44 PM, Nima Ajam Gard <ajam.nima@gmail.com> wrote:<br class=""><blockquote type="cite" class="">I exactly followed http://www.vtk.org/Wiki/VTK/Configure_and_Build.<br class="">All the commands I used came from above webpage.<br class=""><br class="">On Nov 18, 2014, at 3:21 PM, Bill Lorensen <bill.lorensen@gmail.com> wrote:<br class=""><br class="">The cmake you showed is for vtk 5.x.<br class=""><br class="">Many people use VTK and Qt. Can you be more specific by providing the<br class="">exact cmake command line you are using?<br class=""><br class=""><br class="">On Tue, Nov 18, 2014 at 3:15 PM, Nima Ajam Gard <ajam.nima@gmail.com> wrote:<br class=""><br class="">Hi Bill,<br class=""><br class="">Since, I could not use VTK-6.1 properly, I changed to VTK-6.0 but still I<br class="">have same problems.<br class=""><br class=""><br class="">On Nov 18, 2014, at 3:11 PM, Bill Lorensen <bill.lorensen@gmail.com> wrote:<br class=""><br class="">What version vtk are you using?<br class=""><br class=""><br class="">On Tue, Nov 18, 2014 at 2:51 PM, Nima Ajam Gard <ajam.nima@gmail.com> wrote:<br class=""><br class="">Hi,<br class=""><br class="">I am trying to integrate VTK and Qt but unfortunately for some reasons I<br class="">cannot. Currently, I can run VTK's examples except those using Qt's user<br class="">interface. For example, examples in tutorial work but examples in infovis<br class="">cannot be run.<br class=""><br class="">I followed the guide on http://www.vtk.org/Wiki/VTK/Configure_and_Build. All<br class="">parts were done successfully except :<br class=""><br class="">cmake<br class="">-DQT_QMAKE_EXECUTABLE:PATH=/path/to/qt-4.8.6-build/qt-everywhere-opensource-src-4.8.6/bin/qmake<br class="">\<br class=""> -DVTK_Group_Qt:BOOL=ON \<br class=""> -DBUILD_SHARED_LIBRARIES:BOOL=ON \<br class=""> /path/to/VTK<br class=""><br class="">when I was in VTK-build directory, it said that there was no path/to/VTK.<br class="">So, I changed to VTK and removed /path/to/VTK and it worked.<br class=""><br class="">Whenever I tried to build an aforementioned example, Qt says :<br class=""><br class="">error:cannot find -lQVTK<br class=""><br class="">error: cannot find -lvtkRendering ....<br class=""><br class="">I really appreciate any help you can provide.<br class=""><br class=""><br class="">Bests,<br class="">Nima<br class=""><br class="">_______________________________________________<br class="">Powered by www.kitware.com<br class=""><br class="">Visit other Kitware open-source projects at<br class="">http://www.kitware.com/opensource/opensource.html<br class=""><br class="">Please keep messages on-topic and check the VTK FAQ at:<br class="">http://www.vtk.org/Wiki/VTK_FAQ<br class=""><br class="">Follow this link to subscribe/unsubscribe:<br class="">http://public.kitware.com/mailman/listinfo/vtkusers<br class=""><br class=""><br class=""><br class=""><br class="">--<br class="">Unpaid intern in BillsBasement at noware dot com<br class=""><br class=""><br class=""><br class=""><br class=""><br class="">--<br class="">Unpaid intern in BillsBasement at noware dot com<br class=""><br class=""><br class=""></blockquote><br class=""><br class=""><br class="">--<br class="">Unpaid intern in BillsBasement at noware dot com<br class=""></blockquote><br class=""></blockquote><br class=""><br class=""><br class="">-- <br class="">Unpaid intern in BillsBasement at noware dot com<br class=""></div></blockquote></div><br class=""></body></html>