Never mind, I just set them all and it seems to be building now. Thanks for the help! -- Rich
On Apr 7, 2011, at 11:20 AM, Cook, Rich wrote: > Aha, thank you. Could you tell me, what's the difference between HDF5_LIBRARY > and HDF5_hdf5_LIBRARY ? Do I just set them both to the same thing? > Thanks > > On Apr 7, 2011, at 11:06 AM, Robert Maynard wrote: > >> Hi, >> >> You need to need to do a clean build with VTK_USE_SYSTEM_HDF5 turned >> on and set to the hdf5 you used to build silo with. >> >> On Thu, Apr 7, 2011 at 1:59 PM, Cook, Rich <[email protected]> wrote: >>> Hi, >>> I'm making some progress, but now I'm stuck on including the visit silo >>> reader. Our silo library seems to depend on HDF5. >>> >>> If I set the following variables: >>> VISIT_BUILD_READER_Silo:BOOL=ON >>> SILO_INCLUDE_DIR:PATH=/usr/gapps/visit/silo/4.8/linux-x86_64_gcc-4.1/include >>> SILO_LIBRARY:FILEPATH=/usr/gapps/visit/silo/4.8/linux-x86_64_gcc-4.1/lib/libsiloh5.a >>> >>> then the linker fails with some HDF5 unresolved symbols in libsiloh5.a. >>> What I'd like to do is add >>> -L/usr/gapps/visit/hdf5/1.8.4/linux-x86_64_gcc-4.1/lib -lhdf5 to the link >>> flags but I cannot find a place to add these. I tried the following: >>> >>> CMAKE_EXE_LINKER_FLAGS:STRING= >>> -L/usr/global/tools/Kitware/Paraview/3.10/chaos_4_x86_64_ib/lib >>> -L/usr/gapps/visit/mili/1.10.0/linux-x86_64_gcc-4.1/lib -lmili >>> /usr/gapps/visit/hdf5/1.8.4/linux-x86_64_gcc-4.1/lib/libhdf5.so >>> >>> however, this gives me a mysterious error >>> >>> [ 1%] Generating ../H5lib_settings.c >>> cd >>> /nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/build/VTK/Utilities/vtkhdf5/src >>> && ../../../../bin/H5make_libsettings > >>> /nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/build/VTK/Utilities/vtkhdf5/H5lib_settings.c >>> ../../../../bin/H5make_libsettings: error while loading shared libraries: >>> libhdf5.so.6: cannot open shared object file: No such file or directory >>> make[2]: *** [VTK/Utilities/vtkhdf5/H5lib_settings.c] Error 127 >>> >>> I assume this is a conflict between the internal HDF5 support in Paraview >>> and the HDF5 that our silo library was compiled against. I am not a silo >>> or hdf5 expert. Can someone help me untangle this? Thanks! >>> >>> -- >>> ✐Richard Cook >>> ✇ Lawrence Livermore National Laboratory >>> Bldg-453 Rm-4024, Mail Stop L-557 >>> 7000 East Avenue, Livermore, CA, 94550, USA >>> ☎ (office) (925) 423-9605 >>> ☎ (fax) (925) 423-6961 >>> --- >>> Information Management & Graphics Grp., Services & Development Div., >>> Integrated Computing & Communications Dept. >>> (opinions expressed herein are mine and not those of LLNL) >>> >>> >>> >>> _______________________________________________ >>> 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 ParaView Wiki at: >>> http://paraview.org/Wiki/ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://www.paraview.org/mailman/listinfo/paraview >>> >> >> >> >> -- >> Robert Maynard > > -- > ✐Richard Cook > ✇ Lawrence Livermore National Laboratory > Bldg-453 Rm-4024, Mail Stop L-557 > 7000 East Avenue, Livermore, CA, 94550, USA > ☎ (office) (925) 423-9605 > ☎ (fax) (925) 423-6961 > --- > Information Management & Graphics Grp., Services & Development Div., > Integrated Computing & Communications Dept. > (opinions expressed herein are mine and not those of LLNL) > > > -- ✐Richard Cook ✇ Lawrence Livermore National Laboratory Bldg-453 Rm-4024, Mail Stop L-557 7000 East Avenue, Livermore, CA, 94550, USA ☎ (office) (925) 423-9605 ☎ (fax) (925) 423-6961 --- Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept. (opinions expressed herein are mine and not those of LLNL) _______________________________________________ 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 ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
