<div dir="ltr">Not through cmake_gui, but if you want to leave some out you could delete them from the source entirely, or comment them out in the CMakeLists.txt file [1].<div><br></div><div>[1] <a href="https://github.com/Kitware/VTK/blob/master/Examples/CMakeLists.txt">https://github.com/Kitware/VTK/blob/master/Examples/CMakeLists.txt</a></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 19, 2014 at 10:00 PM, John Anaia <span dir="ltr"><<a href="mailto:john.anaia@gmail.com" target="_blank">john.anaia@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I could configure CMAKE and build VTK by turning off Build_Examples. However, I really want to build some C++ examples. Is there any way to go around some bad examples on CMAKE_GUI? <div>
<br></div><div>Thank you.<span class="HOEnZb"><font color="#888888"><div>
John</div><div><br></div></font></span></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, May 10, 2014 at 12:45 AM, Christopher Mullins <span dir="ltr"><<a href="mailto:christopher.mullins@kitware.com" target="_blank">christopher.mullins@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Most of these examples haven't been tested with VTK compiled with Qt 5.2.1. I'm in the process of checking these out and cleaning up the in-source examples, so thanks for reporting the problem! I'll try it out. Having looked at that example recently, I may have a fix which I'll have to test on Windows.</p>
<p dir="ltr">In the meantime, is there a particular reason you need that adaptive mesh refinement example? If not I'd build without that option. If you're looking for a large cache of examples you might check out the wiki examples [1]. </p>
<p dir="ltr">Sorry that's not really a solution, but maybe someone else will have a suggestion.<br></p>
<p dir="ltr">[1] <a href="http://www.vtk.org/Wiki/VTK/Examples" target="_blank">http://www.vtk.org/Wiki/VTK/Examples</a></p>
<div class="gmail_quote">On May 10, 2014 2:15 AM, "John Anaia" <<a href="mailto:john.anaia@gmail.com" target="_blank">john.anaia@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>Dear vtkusers,</div><div><br></div><div>I am having a hard time to configure CMake to build VTK from source. After setting source and binary folders on CMakeGUI, I got two error messages related to <span style="font-family:arial,sans-serif">cmTryCompi</span><span style="font-family:arial,sans-serif">leExec. After skipping these error messages, CMake proceeded to a normal completion. Then I enabled Build_Examples, and got the following error message:</span></div>
<div><br></div><span style="color:rgb(255,0,0)">CMake Error at CMake/vtkModuleAPI.cmake:120 (message):<br> Requested modules not available:<br><br> vtkTestingCore<br>Call Stack (most recent call first):<br> C:/vtk61/vtkbin/VTKConfig.cmake:81 (vtk_module_config)<br>
C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindVTK.cmake:73 (find_package)<br> Examples/AMR/Cxx/CMakeLists.txt:9 (find_package)<br></span><div class="gmail_extra"><br></div><div class="gmail_extra">My Configuration:</div>
<div class="gmail_extra"><br></div><div class="gmail_extra"><div><div>CMake 2.8.212 </div><div>VS 11 x64 Pro. </div></div><div>VTK 6.1</div><div>Qt 5.2.1-opengl (not enabled yet)</div><div>Windows 8.1 Home</div><div>TCL 8.6.1 (Wrap was not enabled yet)</div>
<div><br></div><div>Please help resolve this issue. Thank you all,</div><div>John</div><div><br></div><br></div></div>
<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 VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Christopher Mullins<div>R&D Engineer</div><div>Kitware Inc.,</div><div>919.869.8871</div>
</div>