[vtkusers] Compiling from source 6.0.0 but reproducible with 6.1.0
robert.maynard at kitware.com
Tue Oct 7 16:19:11 EDT 2014
VTK's by default tries to build a built-in version of libxml2 and
doesn't link to the system version. The question that needs solving is
why isn't vtk building vtklibxml2.
What is the state of VTK_USE_SYSTEM_LIBXML2 in your CMakeCache.txt?
On Tue, Oct 7, 2014 at 1:00 PM, Amik St-Cyr <amikstcyr at gmail.com> wrote:
> I've compiled various versions of VTK on various machines & compilers etc.
> I'm trying a new compiler from Intel.
> CXXFLAGS=-openmp CFLAGS=-openmp CC=mpiicc CXX=mpiicpc LDFLAGS=-mt_mpi cmake
> ../ -DBUILD_SHARED_LIBS=ON -DVTK_Group_MPI=ON -DCMAKE_BUILD_TYPE=Release
> -DVTK_USE_SYSTEM_HDF5:BOOL=ON -DVTK_Group_Rendering:BOOL=ON
> It always bombs at a xml2 lib :
> [ 57%] make: *** No rule to make target `lib/libvtklibxml2-6.0.so.1',
> needed by `lib/libvtkIOInfovis-6.0.so.1'. Stop.
> make: *** [IO/Infovis/CMakeFiles/vtkIOInfovis.dir/all] Error 2
> make: *** Waiting for unfinished jobs....
> bash-3.2$ ls /usr/lib/libxml2.*
> /usr/lib/libxml2.a /usr/lib/libxml2.so.2
> /usr/lib/libxml2.so /usr/lib/libxml2.so.2.6.26
> & obviously LD_LIBRARY_PATH is set correctly.
> Guidelines on how to avoid this would be greatly appreciated.
> Powered by www.kitware.com
> Visit other Kitware open-source projects at
> Please keep messages on-topic and check the VTK FAQ at:
> Follow this link to subscribe/unsubscribe:
More information about the vtkusers