But not for me! <div>There are two errors in Windows but not Linux or Mac OSX 10.7.3</div><div>It seems that VS2010 doesn't like line 90 in TestSystemInformation.cxx:</div><div><div>    std::string fname = build_dir + *f;</div>

<div><div>Error<span style="white-space:pre-wrap">  </span>5<span style="white-space:pre-wrap">       </span>error C2784: 'std::reverse_iterator<_RanIt> std::operator +(_Diff,const std::reverse_iterator<_RanIt> &)' : could not deduce template argument for 'const std::reverse_iterator<_RanIt> &' from 'const char *'<span style="white-space:pre-wrap">        </span>C:\Users\amaclean\Code\Kitware\src\VTK\Common\Core\Testing\Cxx\TestSystemInformation.cxx<span style="white-space:pre-wrap">        </span>90</div>

</div><div>I can't see anything wrong with line 90! </div><div>Intellisense says: <span class="Apple-tab-span" style="white-space:pre">   </span><span class="Apple-tab-span" style="white-space:pre">    </span>IntelliSense: no operator "+" matches these operands<span class="Apple-tab-span" style="white-space:pre">      </span></div>
<div>I even replaced the variable files with a vector of strings and the for loop with a std::vector< std::string > >:: const_iterator.</div><div><br></div><div>What does work is this:</div><div>//--------------------------------</div>
<div><div>  for(const char** f = files; *f; ++f)</div><div>    {</div><div>    std::string fname = argv[1];</div><div>    fname += "/";</div><div>    fname += *f;</div><div>    vtkSystemInformationPrintFile(fname.c_str(), cout);</div>
<div>    }</div></div><div>//--------------------------------</div><div>If this is acceptable you can safely delete lines 73 and 74.</div><div>Don't ask me why this works! If anybody knows please tell me.</div><div><br>
</div><div>The second issue is a linking errors in:</div><div><div>VTK\Rendering\HybridOpenGL relating to:</div></div><div><div>vtkSurfaceLICDefaultPainter</div></div><div><div>vtkSurfaceLICPainter</div></div><div><div>vtkSurfaceLICPainterPython.obj</div>
</div><div><div>vtkSurfaceLICDefaultPainterTcl.obj</div></div><div><div>vtkSurfaceLICPainter</div><div><br class="Apple-interchange-newline"></div></div><div><br></div><div>Regards</div><div>   Andrew</div><div><br></div>
<br><div class="gmail_quote">On Thu, Apr 12, 2012 at 7:30 AM, Cory Quammen <span dir="ltr"><<a href="mailto:cquammen@cs.unc.edu" target="_blank">cquammen@cs.unc.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Marcus,<br>
<br>
Your patch seems to have fixed both issues for me.<br>
<br>
Thanks,<br>
<div><div>Cory<br>
<br>
On Wed, Apr 11, 2012 at 5:19 PM, Marcus D. Hanwell<br>
<<a href="mailto:marcus.hanwell@kitware.com" target="_blank">marcus.hanwell@kitware.com</a>> wrote:<br>
> I do not see that error with BUILD_TESTING off, but that code does<br>
> need to be factored properly, and I can see why that macro might not<br>
> be available - I will work on a patch.<br>
><br>
> Marcus<br>
><br>
> On Wed, Apr 11, 2012 at 4:39 PM, Cory Quammen <<a href="mailto:cquammen@cs.unc.edu" target="_blank">cquammen@cs.unc.edu</a>> wrote:<br>
>> To follow up, if I disable BUILD_TESTING but keep VTK_Group_Imaging<br>
>> enabled, I get this error:<br>
>><br>
>>  CMake Error at Filters/Parallel/CMakeLists.txt:58 (vtk_add_override):<br>
>>   Unknown CMake command "vtk_add_override".<br>
>><br>
>> Cory<br>
>><br>
>> On Wed, Apr 11, 2012 at 4:38 PM, Marcus D. Hanwell<br>
>> <<a href="mailto:marcus.hanwell@kitware.com" target="_blank">marcus.hanwell@kitware.com</a>> wrote:<br>
>>> That is correct, although I don't think it is the issue here. I would<br>
>>> like to add the inverse soon, where the tests will only be enabled if<br>
>>> their dependencies are satisfied. We do hope to get the tests into<br>
>>> better locations where fewer additional dependencies are required too.<br>
>>><br>
>>> Marcus<br>
>>><br>
>>> On Wed, Apr 11, 2012 at 4:30 PM, Pat Marion <<a href="mailto:pat.marion@kitware.com" target="_blank">pat.marion@kitware.com</a>> wrote:<br>
>>>> Not sure if this is relevant, but I've noticed that when BUILD_TESTING is<br>
>>>> enabled, which is the default, the testing code of enabled modules has the<br>
>>>> ability to request modules that otherwise would be OFF.<br>
>>>><br>
>>>> Pat<br>
>>>><br>
>>>><br>
>>>> On Wed, Apr 11, 2012 at 3:37 PM, Cory Quammen <<a href="mailto:cquammen@cs.unc.edu" target="_blank">cquammen@cs.unc.edu</a>> wrote:<br>
>>>>><br>
>>>>> For me, using the default settings in CMake with a clean build<br>
>>>>> directory compiles just fine.<br>
>>>>><br>
>>>>> When I then enable VTK_Group_Imaging, CMake starts looking for MPI.<br>
>>>>><br>
>>>>> I'm using commit cfb0881e8468e4219a3bb6386cffe3a5037a9c65.<br>
>>>>><br>
>>>>> Cory<br>
>>>>><br>
>>>>> On Wed, Apr 11, 2012 at 3:24 PM, Marcus D. Hanwell<br>
>>>>> <<a href="mailto:marcus.hanwell@kitware.com" target="_blank">marcus.hanwell@kitware.com</a>> wrote:<br>
>>>>> > What other groups do you have enabled? I think Rendering and<br>
>>>>> > StandAlone are pretty clear, but it looks like some of the other<br>
>>>>> > groups may not be. One of the issues we are having is that groups have<br>
>>>>> > members, without conditional memberships.<br>
>>>>> ><br>
>>>>> > In addition to the Rendering group, do we want a ParallelRendering<br>
>>>>> > group for example, or just leave out those components (as I have for<br>
>>>>> > now). We don't want MPI bringing in all of rendering either. The<br>
>>>>> > groups are certainly a work in progress, we are open to suggestions<br>
>>>>> > (and would like to keep the list reasonably short so as not to<br>
>>>>> > duplicate all the possibilities of just selecting modules for<br>
>>>>> > example).<br>
>>>>> ><br>
>>>>> > Marcus<br>
>>>>> ><br>
>>>>> > On Tue, Apr 10, 2012 at 7:41 PM, Andrew Maclean<br>
>>>>> > <<a href="mailto:andrew.amaclean@gmail.com" target="_blank">andrew.amaclean@gmail.com</a>> wrote:<br>
>>>>> >> Hi Marcus,<br>
>>>>> >>   I think there is a dependency issue:<br>
>>>>> >> I have VTK_Group_MPI deselected and it looks as if CMake is still<br>
>>>>> >> looking<br>
>>>>> >> for MPI:<br>
>>>>> >><br>
>>>>> >> Could NOT find MPI_C (missing: MPI_C_LIBRARIES MPI_C_INCLUDE_PATH)<br>
>>>>> >><br>
>>>>> >> Could NOT find MPI_CXX (missing: MPI_CXX_LIBRARIES<br>
>>>>> >> MPI_CXX_INCLUDE_PATH)<br>
>>>>> >><br>
>>>>> >> Could NOT find MPI_C (missing: MPI_C_LIBRARIES MPI_C_INCLUDE_PATH)<br>
>>>>> >><br>
>>>>> >> Could NOT find MPI_CXX (missing: MPI_CXX_LIBRARIES<br>
>>>>> >> MPI_CXX_INCLUDE_PATH)<br>
>>>>> >><br>
>>>>> >> CMake Error: The following variables are used in this project, but they<br>
>>>>> >> are<br>
>>>>> >> set to NOTFOUND.<br>
>>>>> >><br>
>>>>> >> Please set them or make sure they are set and tested correctly in the<br>
>>>>> >> CMake<br>
>>>>> >> files:<br>
>>>>> >><br>
>>>>> >> MPI_LIBRARY (ADVANCED)<br>
>>>>> >><br>
>>>>> >> linked by target "vtkParallelMPI" in directory<br>
>>>>> >> C:/Users/amaclean/Code/Kitware/src/VTK/Parallel/MPI<br>
>>>>> >><br>
>>>>> >><br>
>>>>> >> Regards<br>
>>>>> >>    Andrew<br>
>>>>> >><br>
>>>>> >> --<br>
>>>>> >> ___________________________________________<br>
>>>>> >> Andrew J. P. Maclean<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<br>
>>>>> > <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>>>>> ><br>
>>>>> > Follow this link to subscribe/unsubscribe:<br>
>>>>> > <a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
>>>>> ><br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>> --<br>
>>>>> Cory Quammen<br>
>>>>> Research Associate<br>
>>>>> Department of Computer Science<br>
>>>>> The University of North Carolina at Chapel Hill<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<br>
>>>>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>>>>><br>
>>>>> Follow this link to subscribe/unsubscribe:<br>
>>>>> <a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
>>>>><br>
>>>><br>
>><br>
>><br>
>><br>
>> --<br>
>> Cory Quammen<br>
>> Research Associate<br>
>> Department of Computer Science<br>
>> The University of North Carolina at Chapel Hill<br>
<br>
<br>
<br>
--<br>
Cory Quammen<br>
Research Associate<br>
Department of Computer Science<br>
The University of North Carolina at Chapel Hill<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>___________________________________________<br>Andrew J. P. Maclean<br><br>___________________________________________<br>
</div>