[vtkusers] VTK 5.6.0 Cmake Errors
Scott Johnson
Scott.Johnson at neuwave.com
Tue Jul 27 09:23:35 EDT 2010
Thanks for responding Benoît.
Your reason makes me feel better than thinking it was the network drive.
-- Scott
-----Original Message-----
From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On Behalf Of Benoit.Bleuze at sophia.inria.fr
Sent: Tuesday, July 27, 2010 5:04 AM
To: vtkusers at vtk.org
Subject: Re: [vtkusers] VTK 5.6.0 Cmake Errors
Scott johnson had this problem a while back (in June, but I was not on
the list at that time), with the configuration of VTK 5.6.0 using cmake
on windows.
Let me remind you the issue he had:
CMake Error at CMakeLists.txt:1251 (ADD_SUBDIRECTORY):
add_subdirectory not given a binary directory but the given source
directory "I:/VTK5.6.0/Utilities" is not a subdirectory of "i:/VTK5.6.0".
When specifying an out-of-tree source a binary directory must be explicitly
specified.
CMake Error at Common/CMakeLists.txt:299 (CHECK_FUNCTION_EXISTS):
Unknown CMake command "CHECK_FUNCTION_EXISTS".
I encountered recently the same problem. He resolved it for him by
chance, but without knowing the reason. I had the problem, but not on a
network drive, on a local C drive actually.
Please note the difference between "I:/VTK5.6.0/Utilities" and
"i:/VTK5.6.0". The capital "I" has been replaced by a small case "i" in
his command line argument. I had the sae problem with a small case c in
my command line. Could it be that the check performed on the presence of
a Utilities directory is a simple substring matching test?
The problem is that on windows path or case independent, and this is a
small detail but very annoying indeed. It took me a day to figure it
out. Contrary to what other people said in the discussion the fact that
Scott did insource compilation was not a factor here. in source or not,
the determining point is the correct case.
I hope this will help improving the cmake scripts of vtk,
otherwise, keep on the good work guys,
Benoît Bleuzé.
_______________________________________________
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://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list