[vtkusers] Error in VTK RenderWindowUi Example ??

Jothy jothybasu at gmail.com
Mon Aug 2 06:01:23 EDT 2010


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>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
>
> 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/0133f074/attachment.htm>


More information about the vtkusers mailing list