[vtkusers] Compiling from source 6.0.0 but reproducible with 6.1.0

Robert Maynard 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:
> Hi,
>
> 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
> -DCMAKE_INSTALL_PREFIX:PATH=/home/myhome/local
> -DVTK_USE_SYSTEM_HDF5:BOOL=ON -DVTK_Group_Rendering:BOOL=ON
>
> It always bombs at a xml2 lib :
>
> [ 57%] make[2]: *** No rule to make target `lib/libvtklibxml2-6.0.so.1',
> needed by `lib/libvtkIOInfovis-6.0.so.1'.  Stop.
> make[1]: *** [IO/Infovis/CMakeFiles/vtkIOInfovis.dir/all] Error 2
> make[1]: *** 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
> 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://public.kitware.com/mailman/listinfo/vtkusers
>


More information about the vtkusers mailing list