<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Aha, it's the semicolon syntax that was unknown to me. Thanks. <div><br></div><div>I do want to reiterate that turning on the MILI reader did not result in a successful reader build, because the include and library settings do not get placed in the right makefiles. I have to manually hack the link.txt and make.flags files or otherwise do workarounds for that. As long as I'm doing that anyhow, I can just place the deeper dependencies there as well. </div><div><br></div><div><div><div>On Apr 8, 2011, at 6:26 AM, David Partyka wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi Rich,<div><br></div><div>Because you're building static you need to tell CMake what your Silo/Mili/HDF5 dependencies are because it has no way of knowing. To do this, in ccmake/cmake-gui you can list them in the same variables where you specified SILO_LIBRARY,MILI_LIBRARY, HDF5_LIBRARY/HDF5_LIBRARIES. This should give CMake enough information to compute the correct link line.</div>
<div><br></div><div>For example, you should be able to set these in ccmake/cmake-gui like so:</div><div><br></div><div>SILO_LIBRARY <span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">/usr/gapps/visit/silo/4.8/linux-x86_64_gcc-4.1/lib/libsiloh5.a;</span><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">/usr/gapps/visit/szip/2.1/linux-x86_64_gcc-4.1/lib/libsz.a</span></div>
<div><br><div class="gmail_quote">On Thu, Apr 7, 2011 at 7:19 PM, Cook, Rich <span dir="ltr"><<a href="mailto:cook47@llnl.gov">cook47@llnl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
OK, I just solved this by hacking into all the link.txt files I found laying around. This has been one ugly build process!<br>
<font color="#888888">-- Rich<br>
</font><div><div></div><div class="h5"><br>
On Apr 7, 2011, at 4:00 PM, Cook, Rich wrote:<br>
<br>
> So, our libmili.a, libsiloh5.a and libhdf5.a libraries have dependencies on another library, libsz. I've tried adding -lz /usr/gapps/visit/szip/2.1/linux-x86_64_gcc-4.1/lib/libsz.a to every STRING I can in the CMakeCache.txt file, but I'm stuck on this error. How can I append linker flags to what cmake is doing here? You can see that the -lz and libsz.a are being inserted here, but it needs to come at the end of the link line to resolve the symbols. I might resort to sed and grep if this keeps up, but I hope I don't have to.<br>
><br>
><br>
> Linking CXX executable ../../../../bin/ServerManagerStateLoader<br>
> cd /nfs/tmp2/rcook/Paraview/3.10/build/ParaView-3.10.0/build/Servers/ServerManager/Testing/Cxx && /usr/gapps/visit/cmake/2.8.3/linux-x86_64_gcc-4.1/bin/cmake -E cmake_link_script CMakeFiles/ServerManagerStateLoader.dir/link.txt --verbose=1<br>
> /usr/local/bin/g++ -I/usr/global/tools/Kitware/Paraview/3.10/chaos_4_x86_64_ib/include -I/usr/gapps/visit/mili/1.10.0/linux-x86_64_gcc-4.1/include -Wno-deprecated -g -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.a -lz /usr/gapps/visit/szip/2.1/linux-x86_64_gcc-4.1/lib/libsz.a CMakeFiles/ServerManagerStateLoader.dir/ServerManagerStateLoader.cxx.o CMakeFiles/ServerManagerStateLoader.dir/vtkTestingProcessModuleGUIHelper.cxx.o CMakeFiles/ServerManagerStateLoader.dir/vtkTestingOptions.cxx.o -o ../../../../bin/ServerManagerStateLoader -rdynamic ../../../../bin/libvtkPVServerManager.a ../../../../bin/libvtkPVFiltersCS.a ../../../../bin/libvtkPVFilters.a ../../../../bin/libvtkPVServerCommonCS.a ../../../../bin/libvtkPVServerCommon.a ../../../../bin/libvtkPVCommandOptions.a ../../../../bin/libvtkChartsCS.a ../../../../bin/libvtkViewsCS.a ../../../../bin/libvtkInfovisCS.a ../../../../bin/libQVTK.a /usr/global/tools/Kitware/Paraview/3.10/chaos_4_x86_64_ib/lib/libQtWebKit.so /usr/global/tools/Kitware/Paraview/3.10/chaos_4_x86_64_ib/lib/libQtXmlPatterns.so /usr/global/tools/Kitware/Paraview/3.10/chaos_4_x86_64_ib/lib/libQtNetwork.so ../../../../bin/libIceTMPI.a ../../../../bin/libIceTGL.a ../../../../bin/libIceTCore.a -lGLU ../../../../bin/libvtkVolumeRenderingCS.a ../../../../bin/libvtkVolumeRendering.a ../../../../bin/libvtkWidgetsCS.a ../../../../bin/libKWCommon.a ../../../../bin/libvtkCharts.a ../../../../bin/libvtkViews.a ../../../../bin/libvtkInfovis.a ../../../../bin/libvtkWidgets.a ../../../../bin/libvtkalglib.a ../../../../bin/libvtkXdmfCS.a ../../../../bin/libvtkXdmf.a ../../../../bin/libXdmf.a ../../../../bin/libvtklibxml2.a -lm ../../../../bin/libvtkVisItDatabasesCS.a ../../../../bin/libvtkVisItAVTAlgorithmsCS.a ../../../../bin/libvtkHybridCS.a ../../../../bin/libvtkParallelCS.a ../../../../bin/libvtkHybrid.a ../../../../bin/libvtkParallel.a ../../../../bin/libVPIC.a ../../../../bin/libCosmo.a /usr/local/tools/mvapich-gnu/lib/shared/libmpich.so ../../../../bin/libvtkexoIIc.a ../../../../bin/libvtkRenderingCS.a ../../../../bin/libvtkRendering.a ../../../../bin/libvtkftgl.a /usr/global/tools/Kitware/Paraview/3.10/chaos_4_x86_64_ib/lib/libQtGui.so /usr/global/tools/Kitware/Paraview/3.10/chaos_4_x86_64_ib/lib/libQtSql.so /usr/global/tools/Kitware/Paraview/3.10/chaos_4_x86_64_ib/lib/libQtCore.so -lGL ../../../../bin/libvtkfreetype.a -lXt -lSM -lICE -lX11 -lXext ../../../../bin/libvtkGenericFilteringCS.a ../../../../bin/libvtkGenericFiltering.a ../../../../bin/libvtkGraphicsCS.a ../../../../bin/libvtkImagingCS.a ../../../../bin/libvtkIOCS.a ../../../../bin/libvtkFilteringCS.a ../../../../bin/libvtkCommonCS.a ../../../../bin/libvtkClientServer.a ../../../../bin/libvtkVisItDatabases.a ../../../../bin/libvtkVisItAVTAlgorithms.a ../../../../bin/libavtdatabase_par.a ../../../../bin/libavtpipeline_par.a ../../../../bin/libavtdbatts.a ../../../../bin/libavtivp.a ../../../../bin/libvisit_vtk.a ../../../../bin/libvtkGraphics.a ../../../../bin/libvtkverdict.a ../../../../bin/libvtkImaging.a ../../../../bin/liblightweight_visit_vtk.a ../../../../bin/libvtkIO.a ../../../../bin/libvtkDICOMParser.a ../../../../bin/libvtkNetCDF_cxx.a ../../../../bin/libvtkmetaio.a ../../../../bin/libvtksqlite.a ../../../../bin/libvtkpng.a ../../../../bin/libvtktiff.a ../../../../bin/libvtkzlib.a ../../../../bin/libvtkjpeg.a ../../../../bin/libvtkexpat.a ../../../../bin/libvtkFiltering.a ../../../../bin/libavtmath.a ../../../../bin/libvtkCommon.a ../../../../bin/libvtksys.a -lm -lpthread -lz /usr/gapps/visit/szip/2.1/linux-x86_64_gcc-4.1/lib/libsz.a -ldl ../../../../bin/libvisitcommon.a ../../../../bin/libvtkNetCDF.a /usr/gapps/visit/hdf5/1.8.4/linux-x86_64_gcc-4.1/lib/libhdf5.a /usr/gapps/visit/silo/4.8/linux-x86_64_gcc-4.1/lib/libsiloh5.a /usr/gapps/visit/cgns/3.0.8/linux-x86_64_gcc-4.1/lib/libcgns.a /usr/gapps/visit/mili/1.10.0/linux-x86_64_gcc-4.1/lib/libmili.a -Wl,-rpath,/usr/global/tools/Kitware/Paraview/3.10/chaos_4_x86_64_ib/lib:/usr/local/tools/mvapich-gnu/lib/shared<br>
> /usr/gapps/visit/hdf5/1.8.4/linux-x86_64_gcc-4.1/lib/libhdf5.a(H5Z.o): In function `H5Z_init_interface':<br>
> H5Z.c:(.text+0x27d): undefined reference to `SZ_encoder_enabled'<br>
> /usr/gapps/visit/hdf5/1.8.4/linux-x86_64_gcc-4.1/lib/libhdf5.a(H5Zszip.o): In function `H5Z_filter_szip':<br>
> H5Zszip.c:(.text+0x121): undefined reference to `SZ_BufftoBuffDecompress'<br>
> H5Zszip.c:(.text+0x1ce): undefined reference to `SZ_BufftoBuffCompress'<br>
> /usr/gapps/visit/silo/4.8/linux-x86_64_gcc-4.1/lib/libsiloh5.a(silo_hdf5.o): In function `db_hdf5_InqMeshName':<br>
> silo_hdf5.c:(.text+0x839e): undefined reference to `H5Topen1'<br>
> /usr/gapps/visit/silo/4.8/linux-x86_64_gcc-4.1/lib/libsiloh5.a(silo_hdf5.o): In function `db_hdf5_hdrwr':<br>
><br>
> --<br>
> ✐Richard Cook<br>
> ✇ Lawrence Livermore National Laboratory<br>
> Bldg-453 Rm-4024, Mail Stop L-557<br>
> 7000 East Avenue, Livermore, CA, 94550, USA<br>
> ☎ (office) <a href="tel:%28925%29%20423-9605" value="+19254239605">(925) 423-9605</a><br>
> ☎ (fax) <a href="tel:%28925%29%20423-6961" value="+19254236961">(925) 423-6961</a><br>
> ---<br>
> Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept.<br>
> (opinions expressed herein are mine and not those of LLNL)<br>
><br>
><br>
><br>
> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br>
--<br>
✐Richard Cook<br>
✇ Lawrence Livermore National Laboratory<br>
Bldg-453 Rm-4024, Mail Stop L-557<br>
7000 East Avenue, Livermore, CA, 94550, USA<br>
☎ (office) <a href="tel:%28925%29%20423-9605" value="+19254239605">(925) 423-9605</a><br>
☎ (fax) <a href="tel:%28925%29%20423-6961" value="+19254236961">(925) 423-6961</a><br>
---<br>
Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept.<br>
(opinions expressed herein are mine and not those of LLNL)<br>
<br>
<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</div></div></blockquote></div><br></div>
</blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>-- </div><div>✐Richard Cook </div><div>✇ Lawrence Livermore National Laboratory</div><div>Bldg-453 Rm-4024, Mail Stop L-557 </div><div>7000 East Avenue, Livermore, CA, 94550, USA</div><div>☎ (office) (925) 423-9605 </div><div>☎ (fax) (925) 423-6961</div><div>---</div><div>Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept.</div><div>(opinions expressed herein are mine and not those of LLNL)</div><br class="Apple-interchange-newline"></span></span></span></span></span></span></span><br class="Apple-interchange-newline"></span></span>
</div>
<br></div></body></html>