aboria / Aboria

Enables computations over a set of particles in N-dimensional space
https://aboria.github.io/Aboria
Other
105 stars 30 forks source link

Qoestion about compiling getting_started.cpp #9

Closed dayexingyang closed 6 years ago

dayexingyang commented 7 years ago

I followed the installation document step by step, and tried to configure and compile getting_started.cpp in the document. But there are errors occurred as follow. I have installed the VTK following the installation. I am a complete beginner in Linux(version ubuntu 14.04), I don't know how to solve this problem.

-- The imported target "vtkWrapTclInit" references the file "/usr/bin/vtkWrapTclInit" but this file does not exist. Possible reasons include:

-- The imported target "vtkWrapPython" references the file "/usr/bin/vtkWrapPython" but this file does not exist. Possible reasons include:

-- The imported target "vtkWrapPythonInit" references the file "/usr/bin/vtkWrapPythonInit" but this file does not exist. Possible reasons include:

-- The imported target "vtkParseJava" references the file "/usr/bin/vtkParseJava" but this file does not exist. Possible reasons include:

-- The imported target "vtkWrapJava" references the file "/usr/bin/vtkWrapJava" but this file does not exist. Possible reasons include:

-- The imported target "vtkCommonTCL" references the file "/usr/lib/libvtkCommonTCL.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkCommonPythonD" references the file "/usr/lib/libvtkCommonPythonD.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkCommonJava" references the file "/usr/lib/jni/libvtkCommonJava.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkFilteringTCL" references the file "/usr/lib/libvtkFilteringTCL.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkFilteringPythonD" references the file "/usr/lib/libvtkFilteringPythonD.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkFilteringJava" references the file "/usr/lib/jni/libvtkFilteringJava.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkImagingTCL" references the file "/usr/lib/libvtkImagingTCL.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkImagingPythonD" references the file "/usr/lib/libvtkImagingPythonD.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkImagingJava" references the file "/usr/lib/jni/libvtkImagingJava.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkGraphicsTCL" references the file "/usr/lib/libvtkGraphicsTCL.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkGraphicsPythonD" references the file "/usr/lib/libvtkGraphicsPythonD.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkGraphicsJava" references the file "/usr/lib/jni/libvtkGraphicsJava.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkGenericFilteringTCL" references the file "/usr/lib/libvtkGenericFilteringTCL.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkGenericFilteringPythonD" references the file "/usr/lib/libvtkGenericFilteringPythonD.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkGenericFilteringJava" references the file "/usr/lib/jni/libvtkGenericFilteringJava.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkIOTCL" references the file "/usr/lib/libvtkIOTCL.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkIOPythonD" references the file "/usr/lib/libvtkIOPythonD.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkIOJava" references the file "/usr/lib/jni/libvtkIOJava.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkRenderingTCL" references the file "/usr/lib/libvtkRenderingTCL.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkRenderingPythonD" references the file "/usr/lib/libvtkRenderingPythonD.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkRenderingJava" references the file "/usr/lib/jni/libvtkRenderingJava.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkRenderingPythonTkWidgets" references the file "/usr/lib/libvtkRenderingPythonTkWidgets.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkVolumeRenderingTCL" references the file "/usr/lib/libvtkVolumeRenderingTCL.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkVolumeRenderingPythonD" references the file "/usr/lib/libvtkVolumeRenderingPythonD.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkVolumeRenderingJava" references the file "/usr/lib/jni/libvtkVolumeRenderingJava.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkHybridTCL" references the file "/usr/lib/libvtkHybridTCL.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkHybridPythonD" references the file "/usr/lib/libvtkHybridPythonD.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkHybridJava" references the file "/usr/lib/jni/libvtkHybridJava.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkWidgetsTCL" references the file "/usr/lib/libvtkWidgetsTCL.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkWidgetsPythonD" references the file "/usr/lib/libvtkWidgetsPythonD.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkWidgetsJava" references the file "/usr/lib/jni/libvtkWidgetsJava.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkParallelTCL" references the file "/usr/lib/libvtkParallelTCL.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkParallelPythonD" references the file "/usr/lib/libvtkParallelPythonD.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkParallelJava" references the file "/usr/lib/jni/libvtkParallelJava.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkInfovisTCL" references the file "/usr/lib/libvtkInfovisTCL.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkInfovisPythonD" references the file "/usr/lib/libvtkInfovisPythonD.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkInfovisJava" references the file "/usr/lib/jni/libvtkInfovisJava.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkGeovisTCL" references the file "/usr/lib/libvtkGeovisTCL.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkGeovisPythonD" references the file "/usr/lib/libvtkGeovisPythonD.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkGeovisJava" references the file "/usr/lib/jni/libvtkGeovisJava.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkViewsTCL" references the file "/usr/lib/libvtkViewsTCL.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkViewsPythonD" references the file "/usr/lib/libvtkViewsPythonD.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkViewsJava" references the file "/usr/lib/jni/libvtkViewsJava.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkQtChart" references the file "/usr/lib/libvtkQtChart.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "QVTK" references the file "/usr/lib/libQVTK.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkChartsTCL" references the file "/usr/lib/libvtkChartsTCL.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkChartsPythonD" references the file "/usr/lib/libvtkChartsPythonD.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtkChartsJava" references the file "/usr/lib/jni/libvtkChartsJava.so.5.8.0" but this file does not exist. Possible reasons include:

-- The imported target "vtk" references the file "/usr/bin/vtk" but this file does not exist. Possible reasons include:

-- The imported target "pvtk" references the file "/usr/bin/pvtk" but this file does not exist. Possible reasons include:

-- The imported target "vtkPythonCore" references the file "/usr/lib/libvtkPythonCore.so.5.8.0" but this file does not exist. Possible reasons include:

-- Configuring incomplete, errors occurred!

martinjrobins commented 7 years ago

Hi @dayexingyang, sorry for the delay in getting to this.

I believe that the complaints about "imported target X references the file ..." are simply warnings. If you only install some of the vtk libraries on your system (you only need the core vtk libraries for Aboria, not the extras), then the cmake FindVTK.cmake script will complain about the missing ones, but won't generate an error. I couldn't actually see any errors in what you pasted above, did you paste the full output from cmake?