<font color='black' size='2' face='arial'><font color="black" face="arial" size="2">

<div> Yes! Topic number 2^11 !!<br>
<br>
<font size="2">Please review:<br>
<font size="2"><br>
<font size="2">  </font>http://review.source.kitware.com/#/t/2048/<br>
<br>
</font></font>
</div>



<div> This eliminate<font size="2">s the reference to vtkTestingMacros from the install t<font size="2">ree.<br>
<br>
<font size="2">If instead, vtkTestingMacros should be installed, then please re<font size="2">ject my <font size="2">above topic, and I'll submit another on<font size="2">e that installs the file ins<font size="2">tead.<br>
<br>
<br>
<font size="2">Thanks,<br>
<font size="2">David<br>
<br>
</font></font></font></font></font></font></font></font></font>
</div>



<div> <br>

</div>



<div style="font-family:arial,helvetica;font-size:10pt;color:black">-----Original Message-----<br>

From: David Cole <dlrdave@aol.com><br>

To: vtk-developers <vtk-developers@vtk.org><br>

Sent: Fri, Feb 1, 2013 5:22 pm<br>

Subject: VTK install tree and BUILD_TESTING OFF problem<br>

<br>









<div id="AOLMsgPart_1_93344426-5ad8-45c4-93a6-90c149265f83">

<font color="black" face="arial" size="2"><font color="black" face="arial" size="2">There's a problem with VTK install trees and BUILD_TESTING OFF<font size="2">.</font> Using CMake 2.8.10.2, of course.<br>


<br>


If I build and install VTK with -DBUILD_<font size="2">TESTING:BOOL=OFF</font>, then delete the source and build trees, and then try <font size="2">to build a simple client test program against the *install* tree, I get this when CMake tries to do the find_package(VTK) in my client test program:<br>


<br>


<font size="2">4: Error: cmake execution failed<br>


4: CMake Error at C:/dev/VTK/Debug/lib/cmake/vtk-6.0/VTKConfig.cmake:47 (include):<br>


4:   include could not find load file:<br>


4:<br>


4:     C:/dev/src/VTK/CMake/vtkTestingMacros.cmake<br>


4: Call Stack (most recent call first):<br>


4:   C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindVTK.cmake:73 (find_package)<br>


4:   CMakeLists.txt:4 (find_package)<br>


<br>


<font size="2">The *install* tree (</font></font></font></font><font color="black" face="arial" size="2"><font size="2"><font size="2"><font size="2"><font color="black" face="arial" size="2"><font size="2"><font size="2">C:/dev/VTK/Debug)</font></font></font> is referencing the vtkTestingMacros.cmake file from the s<font size="2">rc tree (</font></font></font></font></font></font><font color="black" face="arial" size="2"><font size="2"><font size="2"><font size="2"><font size="2"><font color="black" face="arial" size="2"><font size="2"><font size="2">C:/dev/src/VTK) -- the src tree</font></font></font> was de<font size="2">leted after I did the install...<font size="2">, assuming the install tree was supposed to be stand-alone</font></font></font></font></font></font></font> at that point.<br>


<br>


<font size="2">Is the error:<br>


<font size="2">(a) that the install tree is trying to load a file from the source tree<br>


<font size="2">(b) that vtkTestingMacros is referenced even though BUILD_TESTING is <font size="2">OFF?<br>


<font size="2">(c) <font size="2">both<br>


<br>


<br>


<font size="2">Thanks,<br>


<font size="2">David<br>


<br>


</font></font></font></font></font></font></font></font>

</div>

 <!-- end of AOLMsgPart_1_93344426-5ad8-45c4-93a6-90c149265f83 -->



</div>

</font></font>