<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body>Hi,<BR>
&nbsp;<BR>
I am trying to compile and install VTK on my machine.<BR>
But I kept getting the error:<BR>
&nbsp;<BR>
------------------------------------------------------------------------------------------------------<BR>
[&nbsp; 4%] Building CXX object AMR/Cxx/CMakeFiles/HierarchicalBoxPipeline.dir/Hierar<BR>chicalBoxPipeline.obj<BR>[&nbsp; 9%] Building CXX object AMR/Cxx/CMakeFiles/HierarchicalBoxPipeline.dir/vtkTes<BR>tHierarchicalDataReader.obj<BR>Linking CXX executable C:/Program\ Files/VTK/bin/HierarchicalBoxPipeline.exe<BR>g++.exe: Files/VTK/bin/HierarchicalBoxPipeline.exe: No such file or directory<BR>mingw32-make.exe[5]: *** [C:/Program Files/VTK/bin/HierarchicalBoxPipeline.exe]<BR>Error 1<BR>mingw32-make.exe[5]: Leaving directory `C:/Program Files/VTK/Examples/All'<BR>mingw32-make.exe[4]: *** [AMR/Cxx/CMakeFiles/HierarchicalBoxPipeline.dir/all] Er<BR>ror 2<BR>mingw32-make.exe[4]: Leaving directory `C:/Program Files/VTK/Examples/All'<BR>mingw32-make.exe[3]: *** [all] Error 2<BR>mingw32-make.exe[3]: Leaving directory `C:/Program Files/VTK/Examples/All'<BR>mingw32-make[2]: *** [VTKExamples] Error 1<BR>mingw32-make[1]: *** [Examples/CMakeFiles/VTKExamplesTarget.dir/all] Error 2<BR>mingw32-make: *** [all] Error 2<BR>
------------------------------------------------------------------------------------------------------<BR>
&nbsp;<BR>
The configurations I made for the CMake is as follows:<BR>
BUILD_EXAMPLES&nbsp;&nbsp;&nbsp; ON<BR>
BUILD_SHARED_LIBS&nbsp;&nbsp; ON<BR>
CMAKE_BACKWARDS_COMPATIBILITY&nbsp;&nbsp; 2.4<BR>
CMAKE_BUILD_TYPE&nbsp;&nbsp; <BR>
CMAKE_INSTALL_PREFIX&nbsp;&nbsp;&nbsp; C:/Program Files/VTK<BR>
<FONT face="">VTK_DATA_ROOT</FONT>&nbsp;&nbsp;&nbsp; VTK_DATA_ROOT-NOTFOUND<BR>
VTK_USR_PARALLEL&nbsp;&nbsp; OFF<BR>
VTK_UAE_RENDERING&nbsp;&nbsp; ON<BR>
VTK_WRAP_JAVA&nbsp;&nbsp; OFF<BR>
VTK_WRAP_PYTHON&nbsp;&nbsp;&nbsp; OFF<BR>
VTK_WRAP_TCL&nbsp;&nbsp; OFF<BR>
&nbsp;<BR>
My compiler is MinGW.<BR>
&nbsp;<BR>
Thank you very much if you could give me any hint about how to solve this problem.<BR>
I found that no "lib" and "include" folders are generated under the target VTK build directory.<BR>
&nbsp;<BR>
Thanks again!<BR>
Dan<BR>
&nbsp;<BR><br /><hr />Search from any Web page with powerful protection. Get the FREE Windows Live Toolbar Today! <a href='http://get.live.com/toolbar/overview' target='_new'>Try it now!</a></body>
</html>