Works perfectly! Thanks<div>Get some sleep!<br><div><br></div><div>With respect to the test I actually meant to say that I have no idea why VS 2010 doesn't like it. <br><br>Andrew </div><div><br><div class="gmail_quote">
On Thu, Apr 12, 2012 at 12:18 PM, Marcus D. Hanwell <span dir="ltr"><<a href="mailto:marcus.hanwell@kitware.com">marcus.hanwell@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On Wed, Apr 11, 2012 at 9:29 PM, Andrew Maclean<br>
<<a href="mailto:andrew.amaclean@gmail.com">andrew.amaclean@gmail.com</a>> wrote:<br>
> But not for me!<br>
> There are two errors in Windows but not Linux or Mac OSX 10.7.3<br>
> It seems that VS2010 doesn't like line 90 in TestSystemInformation.cxx:<br>
>     std::string fname = build_dir + *f;<br>
> Error 5 error C2784: 'std::reverse_iterator<_RanIt> std::operator<br>
> +(_Diff,const std::reverse_iterator<_RanIt> &)' : could not deduce template<br>
> argument for 'const std::reverse_iterator<_RanIt> &' from 'const char *'<br>
> C:\Users\amaclean\Code\Kitware\src\VTK\Common\Core\Testing\Cxx\TestSystemInformation.cxx<br>
> 90<br>
> I can't see anything wrong with line 90!<br>
> Intellisense says:  IntelliSense: no operator "+" matches these operands<br>
> I even replaced the variable files with a vector of strings and the for loop<br>
> with a std::vector< std::string > >:: const_iterator.<br>
><br>
> What does work is this:<br>
> //--------------------------------<br>
>   for(const char** f = files; *f; ++f)<br>
>     {<br>
>     std::string fname = argv[1];<br>
>     fname += "/";<br>
>     fname += *f;<br>
>     vtkSystemInformationPrintFile(fname.c_str(), cout);<br>
>     }<br>
> //--------------------------------<br>
> If this is acceptable you can safely delete lines 73 and 74.<br>
> Don't ask me why this works! If anybody knows please tell me.<br>
<br>
</div></div>I will defer to Brad on this one, he added the test back in today.<br>
<div class="im">><br>
> The second issue is a linking errors in:<br>
> VTK\Rendering\HybridOpenGL relating to:<br>
> vtkSurfaceLICDefaultPainter<br>
> vtkSurfaceLICPainter<br>
> vtkSurfaceLICPainterPython.obj<br>
> vtkSurfaceLICDefaultPainterTcl.obj<br>
> vtkSurfaceLICPainter<br>
><br>
</div>This is the result of a couple of export macros I neglected to change<br>
in a move, topic,<br>
<br>
<a href="http://review.source.kitware.com/#/t/387" target="_blank">http://review.source.kitware.com/#/t/387</a><br>
<br>
should fix this. I will get it merged tomorrow morning but if you have<br>
a chance to verify it solves your issue that would be great.<br>
<br>
Thanks,<br>
<br>
Marcus<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>___________________________________________<br>Andrew J. P. Maclean<br><br>___________________________________________<br>
</div></div>