Thank you John, for the reply.<br>Yes! thats the exact situation in my case too as described in the bug report filed today!<br>I did not find "vtkQtChartExport.h" anywhere but found "<a href="http://vtkQtChartExport.h.in">vtkQtChartExport.h.in</a>" file! I tried changing "<a href="http://vtkQtChartExport.h.in">vtkQtChartExport.h.in</a>" to "vtkQtChartExport.h" and there were a few lines in it!!<br>
<br>*=========================================================================<br><br> Program: Visualization Toolkit<br> Module: $RCSfile: <a href="http://vtkQtChartExport.h.in">vtkQtChartExport.h.in</a>,v $<br><br>
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen<br> All rights reserved.<br> See Copyright.txt or <a href="http://www.kitware.com/Copyright.htm">http://www.kitware.com/Copyright.htm</a> for details.<br><br> This software is distributed WITHOUT ANY WARRANTY; without even<br>
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR<br> PURPOSE. See the above copyright notice for more information.<br><br>=========================================================================*/<br>
/*-------------------------------------------------------------------------<br> Copyright 2008 Sandia Corporation.<br> Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,<br> the U.S. Government retains certain rights in this software.<br>
-------------------------------------------------------------------------*/<br><br>/// \file vtkQtChartExport.h<br>/// \brief<br>/// Used to switch between dll import and export on windows.<br>/// \date February 1, 2008<br>
<br>#ifndef __vtkQtChartExport_h<br>#define __vtkQtChartExport_h<br><br>#cmakedefine VTKQTCHART_BUILD_SHARED_LIBS<br><br>#if defined(WIN32) && defined(VTKQTCHART_BUILD_SHARED_LIBS)<br># if defined(vtkQtChart_EXPORTS)<br>
# define VTKQTCHART_EXPORT __declspec(dllexport)<br># else<br># define VTKQTCHART_EXPORT __declspec(dllimport) <br># endif<br>#else<br># define VTKQTCHART_EXPORT<br>#endif<br><br><br><br><br><br><div class="gmail_quote">
On Fri, Jul 31, 2009 at 12:58 PM, John Drescher <span dir="ltr"><<a href="mailto:drescherjm@gmail.com">drescherjm@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">On Fri, Jul 31, 2009 at 1:52 AM, Adithya Udupa<<a href="mailto:udupa.adithya@gmail.com">udupa.adithya@gmail.com</a>> wrote:<br>
> I searched the net trying to figure out what is wrong but hardly found any<br>
> references. So any sort of help will be greatly appreciated.<br>
> Thank you in advance.<br>
><br>
> On Thu, Jul 30, 2009 at 10:02 AM, Adithya Udupa <<a href="mailto:udupa.adithya@gmail.com">udupa.adithya@gmail.com</a>><br>
> wrote:<br>
>><br>
>> Hi,<br>
>> vtkQtChart is a really cool tool with easy interfaces. I am trying to<br>
>> integrate it in our opensource product, VTKDesigner2.<br>
>> But when i try to compile the programs given in<br>
>> ..\VTK-5.4\GUISupport\Qt\Testing\Cxx i get errors like<br>
>><br>
>> 1>.\Main.cpp(1) : fatal error C1083: Cannot open include file:<br>
>> 'vtkQtLineChartView.h': No such file or directory<br>
>> 1>e:\VTKDesigner2\VTK5\include\vtk-5.4\vtkQtChartArea.h(27) : fatal error<br>
>> C1083: Cannot open include file: 'vtkQtChartExport.h': No such file or<br>
>> directory<br>
>><br>
<br>
</div></div>I don't have vtk installed on the local machine so I can not check but<br>
does vtkQtChartExport.h exist on your machine? If so than you probably<br>
need to add a path to your includes in your CMakeLists.txt file for<br>
your project.<br>
<br>
Other than that I see the following bug report that was filed today:<br>
<br>
<a href="http://www.cmake.org/Bug/view.php?id=8583" target="_blank">http://www.cmake.org/Bug/view.php?id=8583</a><br>
<br>
I am not sure how you installed vtk so this may or may not apply.<br>
<font color="#888888"><br>
John<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>CHEERS,<br>Adi<br>