<div dir="ltr">That file will be in the vtk examples directory, just copy it from ...vtk\Examples\GUI\Qt\SimpleView.h<br><br>That file is generated from the ui file.<br><br>Jothy<br><br><div class="gmail_quote">On Mon, Aug 2, 2010 at 10:57 AM, Alex Southern <span dir="ltr"><<a href="mailto:mrapsouthern@gmail.com">mrapsouthern@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">
Hi<br>
<br>
Im trying to compile the example listed here,<br>
<br>
<a href="http://www.vtk.org/Wiki/VTK/Examples/Qt/RenderWindowUi" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Qt/RenderWindowUi</a><br>
<br>
I have used Cmake and the listed CMakeLists.txt to generate the VS
solution file. Cmake finds my VTK and QT installation no problem,
however when comiling in VS 2008 Pro I a faced with,<br>
<br>
fatal error C1083: Cannot open include file: 'ui_SimpleView.h': No such
file or directory<br>
<br>
The file is included in<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; font-size: medium;"><span style="font-family: sans-serif; font-size: 13px; line-height: 19px;">
SimpleView.cxx, but it is not listed on the page, commenting the
include out doesn't work.<br>
<br>
Any suggestions?<br>
<br>
----<br>
As a side note, in the CMakeLists.txt the first line is...<br>
</span></span><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; font-size: medium;"><span style="font-family: monospace; font-size: 10px; text-align: left;">
<pre style="border: 0px none white; margin: 0px; padding: 0px; color: black; line-height: normal; font-family: monospace; font-weight: normal; font-style: normal;"><span style="color: rgb(31, 63, 129);">cmake_minimum_required</span><span style="color: rgb(25, 125, 139);">(</span><span style="color: rgb(7, 120, 7);">VERSION</span> 2.9<span style="color: rgb(25, 125, 139);">)
</span><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; font-size: medium;"><span style="font-family: sans-serif; font-size: 13px; line-height: 19px;">However the latest release is .. 2.8.1, So I changed the line to read 2.8 instead of 2.9</span></span>
</pre>
</span></span>
</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><br></div>