[vtk-developers] Modularised VTK: MPI issue.

Andrew Maclean andrew.amaclean at gmail.com
Wed Apr 11 22:56:46 EDT 2012


Works perfectly! Thanks
Get some sleep!

With respect to the test I actually meant to say that I have no idea why VS
2010 doesn't like it.

Andrew

On Thu, Apr 12, 2012 at 12:18 PM, Marcus D. Hanwell <
marcus.hanwell at kitware.com> wrote:

> On Wed, Apr 11, 2012 at 9:29 PM, Andrew Maclean
> <andrew.amaclean at gmail.com> wrote:
> > But not for me!
> > There are two errors in Windows but not Linux or Mac OSX 10.7.3
> > It seems that VS2010 doesn't like line 90 in TestSystemInformation.cxx:
> >     std::string fname = build_dir + *f;
> > Error 5 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 *'
> >
> C:\Users\amaclean\Code\Kitware\src\VTK\Common\Core\Testing\Cxx\TestSystemInformation.cxx
> > 90
> > I can't see anything wrong with line 90!
> > Intellisense says:  IntelliSense: no operator "+" matches these operands
> > I even replaced the variable files with a vector of strings and the for
> loop
> > with a std::vector< std::string > >:: const_iterator.
> >
> > What does work is this:
> > //--------------------------------
> >   for(const char** f = files; *f; ++f)
> >     {
> >     std::string fname = argv[1];
> >     fname += "/";
> >     fname += *f;
> >     vtkSystemInformationPrintFile(fname.c_str(), cout);
> >     }
> > //--------------------------------
> > If this is acceptable you can safely delete lines 73 and 74.
> > Don't ask me why this works! If anybody knows please tell me.
>
> I will defer to Brad on this one, he added the test back in today.
> >
> > The second issue is a linking errors in:
> > VTK\Rendering\HybridOpenGL relating to:
> > vtkSurfaceLICDefaultPainter
> > vtkSurfaceLICPainter
> > vtkSurfaceLICPainterPython.obj
> > vtkSurfaceLICDefaultPainterTcl.obj
> > vtkSurfaceLICPainter
> >
> This is the result of a couple of export macros I neglected to change
> in a move, topic,
>
> http://review.source.kitware.com/#/t/387
>
> should fix this. I will get it merged tomorrow morning but if you have
> a chance to verify it solves your issue that would be great.
>
> Thanks,
>
> Marcus
>



-- 
___________________________________________
Andrew J. P. Maclean

___________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20120412/73a8d4ae/attachment.html>


More information about the vtk-developers mailing list