<font face="verdana,sans-serif">OS: Linux<br>
CMake: 2.8.0<br>
</font><font face="verdana,sans-serif">HDF5: 1.6.3 (yep - that old. I will pester the sysadmins for an update, but that won't likely solve the problem since the directory structure didn't really change in the move to 1.8.x as far as I can tell)<br>
<br>I filed a bug report: #</font><a href="http://public.kitware.com/Bug/view.php?id=11195">0011195        </a><br><br style="font-family: verdana,sans-serif;"><span style="font-family: verdana,sans-serif;">Let me know if you need any other information in diagnosing the problem.</span><br style="font-family: verdana,sans-serif;">
<br style="font-family: verdana,sans-serif;"><span style="font-family: verdana,sans-serif;">James</span><br style="font-family: verdana,sans-serif;"><br><br><br><div class="gmail_quote">On Wed, Sep 1, 2010 at 7:30 AM, Michael Jackson <span dir="ltr"><<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">So there is probably a bug in the FindHDF5.cmake file plain and simple. Can you file a bug report with CMake?<br>
<br>
What version of HDF5 are you using? What version of CMake are you using? What platform are you running on<br>
___________________________________________________________<br>
Mike Jackson <a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a><br>
Principal Software Engineer <a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a><br>
BlueQuartz Software Dayton, Ohio<div><div></div><div class="h5"><br>
<br>
On Sep 1, 2010, at 9:17 AM, James C. Sutherland wrote:<br>
<br>
</div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">
I was aware of the CMake build for the newer HDF5 releases.<br>
<br>
However, I need this to work for users who are not able/willing to build their own hdf5 libraries from source.<br>
Also, it is certainly not a very good option to ask a user to move to a CMake build system and then tell them to hack on a FindHDF5.cmake file just to get a proper link line. Autotools users scoff at that and tell me that "CMake is too opaque to be usable."<br>
<br>
There should be a way of getting this to work...?<br>
<br>
James<br>
<br>
<br>
<br>
On Wed, Sep 1, 2010 at 6:27 AM, Biddiscombe, John A. <<a href="mailto:biddisco@cscs.ch" target="_blank">biddisco@cscs.ch</a>> wrote:<br>
The latest 1.8.5.x release branch of svn is CMake friendly and you shouldn’t have this trouble is you’re willing to recompile/install it<br>
<br>
<br>
Something along these lines will work for an installation on win32 into /program file/HDF5<br>
<br>
<br>
FIND_PACKAGE(HDF5 "1.8.5" REQUIRED NO_MODULE PATHS "$ENV{ProgramFiles}/HDF5")<br>
<br>
<br>
[To fix the problem on the systems without re-installing, just remove references to hdf5_hl from the FindHDF5 stuff in your cmake installation module]<br>
<br>
<br>
JB<br>
<br>
<br>
From: <a href="mailto:cmake-bounces@cmake.org" target="_blank">cmake-bounces@cmake.org</a> [mailto:<a href="mailto:cmake-bounces@cmake.org" target="_blank">cmake-bounces@cmake.org</a>] On Behalf Of James C. Sutherland<br>
Sent: 01 September 2010 00:45<br>
To: cmake<br>
Subject: [CMake] FindHDF5.cmake and the "hl" versions of hdf5 libs<br>
<br>
<br>
I typically have full HDF5 installations on my systems but am now going to a system where the "hl" versions of the hdf5 libraries are not installed.<br>
<br>
Although I don't need these, it appears that CMake is unwilling to let me proceed without them. I get the following error:<br>
<br>
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.<br>
Please set them or make sure they are set and tested correctly in the CMake files:<br>
HDF5_hdf5_hl_LIBRARY_DEBUG (ADVANCED)<br>
linked by target "tabprops" in directory /uufs/<a href="http://chpc.utah.edu/common/home/u0033394/TabProps/tabprops" target="_blank">chpc.utah.edu/common/home/u0033394/TabProps/tabprops</a><br>
HDF5_hdf5_hl_LIBRARY_RELEASE (ADVANCED)<br>
linked by target "tabprops" in directory /uufs/<a href="http://chpc.utah.edu/common/home/u0033394/TabProps/tabprops" target="_blank">chpc.utah.edu/common/home/u0033394/TabProps/tabprops</a><br>
<br>
<br>
By the way, the installed libraries are found:<br>
<br>
-- Found HDF5: debug;HDF5_hdf5_hl_LIBRARY_DEBUG-NOTFOUND;/uufs/<a href="http://chpc.utah.edu/sys/pkg/hdf5/5-1.6.3-amdopteron/lib/libhdf5.a;/uufs/chpc.utah.edu/sys/pkg/hdf5/5-1.6.3-amdopteron/lib/libhdf5_cpp.a;optimized;HDF5_hdf5_hl_LIBRARY_RELEASE-NOTFOUND;/uufs/chpc.utah.edu/sys/pkg/hdf5/5-1.6.3-amdopteron/lib/libhdf5.a;/uufs/chpc.utah.edu/sys/pkg/hdf5/5-1.6.3-amdopteron/lib/libhdf5_cpp.a" target="_blank">chpc.utah.edu/sys/pkg/hdf5/5-1.6.3-amdopteron/lib/libhdf5.a;/uufs/chpc.utah.edu/sys/pkg/hdf5/5-1.6.3-amdopteron/lib/libhdf5_cpp.a;optimized;HDF5_hdf5_hl_LIBRARY_RELEASE-NOTFOUND;/uufs/chpc.utah.edu/sys/pkg/hdf5/5-1.6.3-amdopteron/lib/libhdf5.a;/uufs/chpc.utah.edu/sys/pkg/hdf5/5-1.6.3-amdopteron/lib/libhdf5_cpp.a</a><br>
<br>
<br>
My CMakeLists.txt file has the following:<br>
<br>
set( HDF5_USE_STATIC_LIBRARIES 1 )<br>
find_package( HDF5 COMPONENTS C CXX )<br>
<br>
<br>
Any idea of how to get fix this problem?<br>
<br>
James<br>
<br>
<br>
<br></div></div><div class="im">
_______________________________________________<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 CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</div></blockquote><div><div></div><div class="h5">
<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 CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</div></div></blockquote></div>