From: Simone R. <sim...@gm...> - 2018-09-20 16:09:17
|
As Shayan said, you want to know where VTK is installed. If you have not specified the prefix when you installed VTK, you should be able to locate itineraries the terminal using “locate” (e.g. locate vtkCell.h). Note that this will also return the source VTK folder, which is not the installation folder. Most likely the default prefix is /usr/local or /usr. Once you know the install directory, say that the vtk prefix is VTKPREFIX (e.g. VTKPREFIX=/usr/local/vtk), then, to configure libMesh with VTK 7.1.1, you can use the following flags --enable-vtk --with-vtk-include=$VTKPREFIX/include/vtk-7.1 --with-vtk-lib=$VTKPREFIX/lib If you want to use a different VTK version you can change the number of the include folder. I hope it helps, Simone > On Sep 20, 2018, at 1:28 AM, Shayan Hoshyari <s.h...@gm...> wrote: > > When running cmake for VTK you must pass the install location (where the > lib files and the header files will go) via > -DCMAKE_INSTALL_PREFIX=/the/desired/path > > Then running make install, will move everything to that location. > > On Thu, Sep 20, 2018 at 5:17 AM Yuxiang Wang <yw...@vi...> wrote: > >> Dear all, >> >> I'm trying to build libmesh with VTK and noticed that I need to provide two >> variables - the VTK_DIR and the VTK_INCLUDE. >> >> I downloaded the VTK source and built the library >> with DVTK_Group_MPI:BOOL=ON, but could not find the include directory after >> I compiled VTK. Being curious, did anyone experienced the same thing >> before? Would there be an other folder that I missed? >> >> I am using Windows Subsystem Linux, Ubuntu 18.04. >> >> Thank you, >> Shawn >> -- >> Yuxiang "Shawn" Wang, PhD >> yw...@vi... >> +1 (434) 284-0836 >> >> _______________________________________________ >> Libmesh-users mailing list >> Lib...@li... >> https://lists.sourceforge.net/lists/listinfo/libmesh-users >> > -- > Shayan Hoshyari > > _______________________________________________ > Libmesh-users mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libmesh-users |