[vtkusers] ChartXY example compilation issues

Cory Quammen cquammen at cs.unc.edu
Mon Mar 8 12:55:08 EST 2010


Kevin,

You probably don't have the option VTK_USE_CHARTS enabled. Enable this
in CMake, build VTK again, and see if this fixes the problem.

Hope that helps,
Cory

On Mon, Mar 8, 2010 at 10:51 AM, Kevin Hunter <hunteke at earlham.edu> wrote:
> Hullo list,
>
> I've recently downloaded, compiled, and installed vtk 5.4.2.  I thought
> I'd take the opportunity run through some of the example codes to learn
> the VTK API.  I'm having an issue compiling the "Chart XY" example:
>
> http://www.vtk.org/Wiki/VTK_Examples_Chart_XY
>
> It looks like I'm not able to find 4 include files.  I've looked in the
> 5.4.2 source that I downloaded and I don't see those files.  Do I
> perhaps have a corrupt download, or have I missed getting some extra files?
>
> I've attached the relevant lines of my make output.
>
> Thanks!
>
> Kevin
>
> $ make
> [100%] Building CXX object CMakeFiles/ChartXY.dir/ChartXY.cxx.o
> /path/ChartXY/ChartXY.cxx:5:24: error: vtkChartXY.h: No such file or directory
> /path/ChartXY/ChartXY.cxx:6:21: error: vtkPlot.h: No such file or directory
> /path/ChartXY/ChartXY.cxx:9:28: error: vtkContextView.h: No such file or directory
> /path/ChartXY/ChartXY.cxx:10:29: error: vtkContextScene.h: No such file or directory
> ...
> Rest of errors seem to be related to no finding these files
> _______________________________________________
> 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
>
>



-- 
Cory Quammen
Center for Computer Integrated Systems for Microscopy and Manipulation (CISMM)
Department of Computer Science
University of North Carolina at Chapel Hill
http://www.cs.unc.edu/~cquammen



More information about the vtkusers mailing list