[vtkusers] Error in VTK RenderWindowUi Example ??
Alex Southern
mrapsouthern at gmail.com
Mon Aug 2 06:20:06 EDT 2010
Thanks, I just figured it out, I open the file in QT designer via Visual
Studio and the file was created, however it was named ui_SimpleViewUI.h,
so I just changed the include to match. Qt expected some icon resources
to open the file so I just provided my own.
Thanks for you reply
Alex
On 2.8.2010 13:01, Jothy wrote:
> That file will be in the vtk examples directory, just copy it from
> ...vtk\Examples\GUI\Qt\SimpleView.h
>
> That file is generated from the ui file.
>
> Jothy
>
> On Mon, Aug 2, 2010 at 10:57 AM, Alex Southern <mrapsouthern at gmail.com
> <mailto:mrapsouthern at gmail.com>> wrote:
>
> Hi
>
> Im trying to compile the example listed here,
>
> http://www.vtk.org/Wiki/VTK/Examples/Qt/RenderWindowUi
>
> 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,
>
> fatal error C1083: Cannot open include file: 'ui_SimpleView.h': No
> such file or directory
>
> The file is included in SimpleView.cxx, but it is not listed on
> the page, commenting the include out doesn't work.
>
> Any suggestions?
>
> ----
> As a side note, in the CMakeLists.txt the first line is...
>
> cmake_minimum_required(VERSION 2.9)
>
> However the latest release is .. 2.8.1, So I changed the line to read 2.8 instead of 2.9
>
>
>
> _______________________________________________
> Powered by www.kitware.com <http://www.kitware.com>
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100802/19da805a/attachment.htm>
More information about the vtkusers
mailing list